Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quirky Links - Compatibility Issues

Status
Not open for further replies.

res303

Programmer
Oct 23, 2001
2
NZ
Good day all,

I'm having nasty compatiblity issuses with netscape 4.x. Unfortunately as this is mostly an internal organisation site my traffic is about 60% netscape 4.x users so I can't just do a browser sniff and recommend they upgrade their browser.

My problem is that my menu though being display correctly, the links are going all quirky. I'll try and explain...

I'm using <div> for each line with each level of branch and leaf assigned it's own class. eg root level leaves are assigned:
[tt]<div class=&quot;LeafLvl0&quot;>Home</div>[/tt]
with the div.LeafLvl0 being
[tt]
div.LeafLvl0{
  position: relative;
  left-margin: 5px;
  width: 200px;
}[/tt]
With the other levels having different left-margins as required.

It should be displayed like this..
[tt]
+ branch1
- branch2
    + branch3
    - branch4
        leaf1
        leaf2
        leaf3
        leaf4
    + branch5
+ branch6
  leaf5
  leaf6
[/tt]

..but under n 4.x it appears like..
[tt]
+ branch1
- branch2
    + bra
nch3
    - bra
nch4
        l
eaf1
        l
eaf2
        l
eaf3
        l
eaf4
    + bra
nch5
+ branch6
  leaf5
  leaf6
[/tt]

with the blue bits only being linked and the remainder of the link displayed as plain text.

Any ideas on how to resolve these display issues or should I just revert to laying the menu out using tables (my last resort).

All opions are greatly appreciated.

(If anyone wants to see the code for this, I'll put up the outputed HTML from the php as soon as I go back to work on Monday)
 
a posting of the outputed html would be good to see.

glenn
 
I'll try and do that when I get to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top