Previous Message
Next Message

true table (was: false table)

Sent by Steve Clay on 16 September 2005 18:06

Friday, September 16, 2005, 11:25:21 AM, Steve Clay wrote:
> Really, use a table...

Chuck, back from lunch I realize I was a little rude in my reply.  You
should still use a table for your data, but if this were not data, here's
a (not the only) basic way to style that markup.

<p>Spot <span>is the name of my dog.</span></p>

p {
position:relative; /* set up new context for positioning */
width:100%; /* give IEwin hasLayout */
p span {
left:5em; /* adjust as needed */

In cases like this (small, known content) absolute positioning is just
simpler than floats.

-- :

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: