Previous Message
Next Message

width in spans

Sent by Ron Gilbert on 30 January 2004 00:12


I am trying to simulate columns in a faux-table by using several <span> tags 
and width styles to set the "column" sizes, but they seem to be ignored?

#col1 { width: 100px; }
#col2 { width: 50px; }
#col3 { width: 90px; }

<span id=col1>Text1</span>
<span id=col2>Text2</span>
<span id=col3>Text3</span>

Is this supposed to work?  Is this the best way to do it without using tables?

Ron



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

Message thread: