|
Posted by JWL on 05/19/07 06:25
dorayme wrote:
> In article <slrnf4sc4m.ogk.spamspam@bowser.marioworld>,
> Ben C <spamspam@spam.eggs> wrote:
>
>> As BootNic suggested, make it overflow: hidden. Not because you want to
>> change the overflow behaviour, but for the sideeffect that this makes
>> #navbar a "block formatting context root" which means that it does
>> include floats in its height calculation after all.
>
> I learnt something today. Interesting, thank you gentlemen.
Me too. Thanks all.
> btw, OP should really adjust that design, be rid of the pixel
> fixed widths, not bother about text size buttons (brwsers alrady
> have facilities, you have to give up teaching people how to use
> their browsers at some point, the earlier the better).
>
> There is trouble with the menu, just see by clicking up the text
> a few notches, looks not pretty. Use an inline list, rather than
> <p>s, at the very least be rid of the <p>s in that menu div, it
> just takes up space.
That page was just an example I knocked togther to demonstrate the problem.
Does anyone know how to get this to work in IE5? There's no red
background, even with display:inline-block;...
Navigation:
[Reply to this message]
|