At 12:12 PM 3/30/2006, [EMAIL PROTECTED] wrote:
>The code below generates a header on the top-left of the table. The text
>in the <p> element, however, rolls up into a ball on the other end of the
>table.
>It should start right under the heading.
...
>         caption h2 {
>                 float:left;
>                 display:inline;
>                 }
>         caption p {
>                 display:inline;
>                 float:left;
>                 }

Well, there you go: don't float them left and don't declare them 
inline.  Both those rules have the effect of placing them on the same 
line and collapsing them to the dimensions of the contained 
text.  Both H2 and P are block by default, so if you leave them alone 
they'll stack nicely one on top of the other.

Paul 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to