-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
List,
I searched the archives... but the number of hits just overwhelmed
me. I thought it best to check with the collective mind on this.
I'm coding my theme for blojsom (blojsom.sf.net) and I'm having a
pixel-perfect moment, mentally really, I could be persuaded to get
over it...
The details follow, but what I'm trying to get rid of, is the padding
of the H2 element. I've done the regular things, but some persistent
padding, I'll call it the "ascender padding," is pushing the first
post off the top of the containing box (though the "descender
padding" seems to have been correctly quashed in the CSS). The result
is the first post leader is lower than the calendar header (caption)
on its right. I've tried line-height variations along with the margin
and padding set to 0 (zero).
So...as it stands right now...
The SAMPLE
1. Using topographic mode in Firefox's Web Developer plug-in:
http://www.petmystone.com/common/images/topo.png
2. Standard preview in Firefox:
http://www.petmystone.com/common/images/preview.png
The XHTML:
<div class="leader">
<h2 class="title">Lorem ipsum dolor sit amet<a href="#"
title="permalink"><img src="images/permalink.gif" alt="permanent link
to post" width="17" height="16" /></a></h2>
</div>
The CSS:
div.leader {
margin: 0;
padding: 0;
font: bold 1em Verdana, Arial, Geneva, sans-serif;
}
div.leader h2.title {
margin: 0;
padding: 0;
}
div.leader h2.title a img {
padding-left: .5em;
vertical-align: middle;
}
Most thankful,
Tim
- --
Timothy Stone | www dot petmystone dot com
Rising Sun, MD | tstone at petmystone dot com
"This Satan's drink [coffee] is so delicious...
we shall cheat Satan by baptizing it."
Pope Clement VIII (1592-1605)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFC7qzFlNb2aYI3YNkRAkDvAJ9RThx+8dxBhF91RXLyumE21HLxbwCZAWFF
MevxdML3a1Hhn/I5BM4Zf34=
=iF8K
-----END PGP SIGNATURE-----
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/