[FX.php List] [OFF] Odd CSS problem

Leo R. Lundgren leo at finalresort.org
Sat Aug 16 19:20:53 MDT 2008


I can't say what's causing this without a real example I'm afraid :/  
Can you put one online, so I can poke around in it?

I'm a bit puzzled by your use of <dd> though. It's usually (and  
perhaps required to be) used with <dl> and <dt>, such as:

   <dl>
     <dt>Term 1</dt>
     <dd>Definition 1</dd>
     <dt>Term 2</dt>
     <dd>Definition 2</dd>
   </dl>

The <dt> should apparently be inline, but <dd> is a block element.  
I'm just thinking that unless you are using <dd> with some  
surrounding <dl> and/or <dt>, this might be the cause of the  
behaviour you're seeing.

I'm off to bed now. You really should start posting your daily  
problems a few hours earlier ;-)


17 aug 2008 kl. 03.01 skrev Bob Patin/Longterm Solutions:

> I've got a DIV that has some links in it, like this:
>
> <div class="AccordionPanelTab">
>         <a>Hosting</a>
>         <dd class="AccordionPanelContent">
>   		<a href="databaseserver.htm">FileMaker Databases</a><br />
>   		<a href="hosting.htm">Website Hosting</a><br />
>   		<a href="colocation.htm">Colocation</a><br />
>   		<a href="services.htm">Other Services</a><br />
>   		<a href="fm_clients.htm">Our Clients</a>
>         </dd>
>       </div>
>
> When this displays in my page, the 3rd link gets displayed on the  
> same line with the 2nd link, and then the 5th link shows on the  
> same line with the one before it...
>
> I can't figure out for the life of me why this happens; when I test  
> this in a blank HTML page it works as I would expect, with 5  
> separate lines...
>
> Anyone know what would cause the problem I'm having?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> iChat: bobpatin
> AIM: longterm1954
> FileMaker 9 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --------------------------
> FileMaker hosting and consulting for all versions of FileMaker
> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list


-|



More information about the FX.php_List mailing list