Previous Message
Next Message

Re: [css-d] Big 'ol Browser Test

Sent by Big John on 29 August 2002 16:04


> > #head {
> > margin: 1px 20px 25px 20px;
> > height: 92px;
> > border-bottom: 1px solid #000000;
> > }
> > 
> > The padding is removed, and is added to the height. A side
> > effect of this is that the image is now too high, so add
> > a top padding to .imgwrapper, to push it down a bit.

Brandon Oto wrote: 
> Evar so close. See, I played with it a bit, and it turns 
> out the correct height is actually 52 - the one it's at NOW. 
> I can completely remove the padding without seeing ANY effect.

I blame m'self. What a rookie mistake! 
(hollow booming sound as head strikes wall)

Um Brandon, I guess I forgot to check in that nifty 
N4-only style sheet, and imagine my suprise to see,
(you guessed it) a #head rule containing that very
same padding. It's the cascade, dude! 
( I was tired, y'see... )


Ahem. Well, remove that and all will come clear. 
Now about that SBMH...

> Inserted. What a difference a pixel can make. 
> Problem solved, or no?

Yes and no. (I love saying that) 
Yes the Simple B-M hack is correct, but you need 
to have a height in the first #head rule to cover
those browsers that don't parse escapes at all.
(same as the 'standards' value)

I see you pasted my explanitory comments on the hack
right into your code. Nice. Too bad I goofed up said 
explaination! In case you missed my frantic correction 
post of last night, the true condition is: 'The escapes 
must not PRECEED any of the first six alphabet letters'. 
We don't want to spread any um, misinformation, do we?

> But I've added the hack to help IE 5 find its poor way.
> Yes, no?

Yes, yes, YES! (kaa-ching!)

HTH
Big John


=====
"What the world needs is a good bug ring"--Big John
<http://users.rraz.net/mc_on_the_rocks/testpage/pie.html>

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Previous Message
Next Message

Message thread: