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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lopst Div in Netscape 1

Status
Not open for further replies.

glenmac

Technical User
Joined
Jul 3, 2002
Messages
947
Location
CA
I have a page that looks like I want in IE but in NS a div disapears. Must be the way NS enterpets my positioning. Is there a way to make it look the same in both browsers, other than using javascript and a different style sheet? In IE the links menu shows but in NS it doesn't.

Glen
 
IE doesn't correctly interpret negative margins, so your bodlinks shows up. Firefox (& I assume NS) correctly pushes your 'bodlinks' 1000 pixels before the top of the page.

I believe your div is only enclosed within the <body> tag, so it is being displayed above that (i.e. not displayed as it is off the screen).

traingamer
 
instead of
Code:
#bodlinks{
float:left;
position:relative;
top:-1000px;
height:300px;
font-size:15px;
}
try
Code:
#bodlinks{
float:left;
position:absolute;
top:200px;
margin: 0px 10px;
font-size:15px;
}

adjust as needed

traingamer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top