Previous Message
Next Message

true table (was: false table)

Sent by Steve Clay on 16 September 2005 17:05


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 {
position:absolute;
top:0;
left:5em; /* adjust as needed */
}

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

Steve
-- 
http://mrclay.org/ : http://frenchhorns.mrclay.org/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: