Jeremy Smith's blog

Entry Is Labelled

CSS-ing Case: Round 2.5

Round 2.5

Implemented the nifty CSS rule Paul Jarc came up with in this comment:

ul li + li:before { content: " | "; }

So I was able to remove all of the class="first" hackery from the markup. I like removing hackery.

Adjusted the h1's padding to get it flush with the bottom of the div. Set line-height to 130% for the paragraph in the headline (because that's what it is set for with the real templates). And, finally, played with the pixel spacings of the horizontal nav bar trying to get pixel perfect accuracy between this version and the real version. Not there yet.

Comments