The id=NbNoX are used by Javascript to insert buttons into the menu
with innerHTML. This formats correctly in ?Firefox. But in IE6 and 7
line 16 displays with a height of about 1em as if it had text in it,
whereas lines 9 and 14 display correctly with a height of 0.

Is this problem with IE or with me? Could anyone suggest a
workaround?

Advertisements

Guest

On Oct 5, 2:39 pm, withers <> wrote:
> The following code formats a NavBar correctly:
> The id=NbNoX are used by Javascript to insert buttons into the menu
> with innerHTML.

Plain straight HTML in the page would be easier to debug than
innerHTML.

You could also try using the IE Script Editor to tweak the style
properties.

This formats correctly in ?Firefox. But in IE6 and 7
> line 16 displays with a height of about 1em as if it had text in it,
> whereas lines 9 and 14 display correctly with a height of 0.
>
> Is this problem with IE or with me? Could anyone suggest a
> workaround?
>
I'm guessing you have might have to set line-height: 0 on this.
> Thanking you in anticipation.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!