Previous Message
Next Message

width in spans

Sent by Jason Estes 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?

You are trying to set widths on an object that is inherintly width-less.
Span's are inline elements which means they expand/contract to fit their
contents.  You are wanting to use <div> tags which will accept a width
assigned to them.  And then you will need to position them someway,
float is a popular method...add a float:left; to all three of your
columsn and you should be set.  Good luck.

Jason Estes
The BEWB
www.bewb.org
 


______________________________________________________________________
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: