[thelist] css question: no spaces after a line....

Bob Haroche bharoche at usa.net
Sun Oct 1 21:51:53 CDT 2000


> It would be swell if someone knew how to control preceding and following
> line spacing for heading tags.


Perhaps a solution is to define a class such as:

.foo {LINE-HEIGHT: 10px; }

and apply that class to the header like so:

<DIV class="foo>
<H1>Header<H1>
</DIV>

I haven't tried this, but I got the idea from an article by Zeldman
addressing a similar problem with margin-top and margin-bottom:

 http://www.alistapart.com/stories/fear2/fear2_5.html




Bob Haroche
O n P o i n t  S o l u t i o n s
http://www.OnPointSolutions.com







>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list