Posted by Jonathan N. Little on 12/07/06 18:14
richard d wrote:
> (Although I'm beginning to despair of ever getting an answer)
>
> The document below illustrates with two examples. Either way I'm trying
> to get the backgorund boxes to line up top and bottom and just simply
> can't :-(
Do you mean so they are one on top of another with no space?
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> <head>
> <title> help help </title>
> </head>
> <style type="text/css"><!--
> body { background: white; font-size: 150%; }
> .style1 { font-family: monospace; background:gray; }
> .style2 { font-family: serif; background:aqua; }
> --></style>
> <body>
> <div><span class="style1">mono</span><span
> class="style2">serif</span></div>
> <br>
^^^^
Then delete this!
> <div class="style2"><span class="style1">mono</span>serif</div>
> </body>
>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|