[thelist] Easy CSS Riddle

Seyon evolt at delime.com
Mon May 10 16:12:18 CDT 2004


Message from John.Brooking at sappi.com (5/10/2004 05:02 PM)
>Easy for someone, at least. Given the following simple example page (which I
>have posted to http://www.shoestringcms.com/test.html):
>
>      <html>
>      <body>
>         <span style="width: 40%;">Text 1</span>
>         <span style="width: 40%; float: right;">Text 2</span>
>      </body>
>      </html>

Tried this?
>      <body>
>         <span style="width: 40%; float: left;">Text 1</span>
>         <span style="width: 40%;">Text 2</span>
>      </body>

Or
>      <body>
>         <span style="width: 40%; float: right;">Text 2</span>
>         <span style="width: 40%;">Text 1</span>
>      </body>

Any reason you're using spans instead of divs?

regards.


--
Trinidad Carnival in all its photographic glory. Playyuhself.com
http://www.playyuhself.com/


More information about the thelist mailing list