[thelist] CSS: inline vs block

aardvark roselli at earthlink.net
Thu Nov 7 11:17:00 CST 2002


> From: Chris Evans <chris at fuseware.com>
>
> I'm running into an issue with CSS, and I think it may be a lack of
> understanding on my part.  What I am trying to do is create a
> "formLabel" class of a standard width, followed by a form field on the
> same line.
[...]
> .formLabel {
>     width: 200px;
>     font-weight: bold;
>     margin:0px 0px 25px 0px;
>     padding: 0px 0px 25px 0px;
> }

try adding a float:left|right; in there...

http://www.w3.org/TR/REC-CSS2/visuren.html#floats




--
Read the evolt.org case study
Usability: The Site Speaks for Itself
http://amazon.com/exec/obidos/ASIN/1904151035/evoltorg02-20
ISBN: 1904151035



More information about the thelist mailing list