Stylistic information can then be applied to everything that appears within a DIV as follows:<DIV CLASS=rant> <P>I could really go for a big glass of Guinness right now.</P> <P>Because of Y2K, all of the computers are going to fail, the power grid will collapse, and angry mobs will be running through the streets killing your pets and eating your children!!!! And they're going to drink your Guinness!</P> </DIV>
<STYLE type="text/css">
DIV.rant {text-decoration: line-through}
</STYLE>
Which produces this:
I could really go for a big glass of Guinness right now.
Because of Y2K, all of the computers are going to fail, the power grid will collapse, and angry mobs will be running through the streets killing your pets and eating your children!!!! And they're going to drink your Guinness!
And a style description like this:<SPAN CLASS=floater> I could really go for a big glass of Guinness right now. </SPAN>
<STYLE type="text/css">
SPAN.floater {color:blue; float:left; width:200; border:solid darkred 3pt}
</STYLE>
I could really go for a big glass of Guinness right now.
Now, as you can see, this text wraps around the element as a floating figure.
I don't really have much more to say so I'll just add this arbitrary rambling discussion about nothing so that you can see how the text wraps around the SPAN object. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
Okay, you get the idea.