[thelist] quick css text layout float?

Ben Morrison ben.morrison at dogstardesign.co.uk
Thu Jul 17 06:42:37 CDT 2003


On 17/7/03 12:30 pm, "rudy" <rudy937 at rogers.com> wrote:

> what did you use, andrew?  i hope not benjer's
>
>  <div id="big">The</div><div id="small">first words of an article.</div>
>
> no offence, benjer, but span is clearly better than div in this case
>
> and using an id is probably flawed, if you should ever want to pull the same
> stunt, er, i mean, apply the same effect in a second paragraph
>
> finally, by enclosing the rest of the sentence in a separate container, you
> make yourself totally dependent on inheritance for the styles that are now
> "one container out"
>
> that's a painful way to learn css


I know I kind of went off topic, because andrew asked for a float solution I
tried to make one.

A Span would/does suffice. I do like the first-letter class though.

benjer




More information about the thelist mailing list