Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

62 users online



IE and Firefox problem with menu placement

IE and Firefox problem with menu placement

Currently viewing this thread: 1 (0 members and 1 guests)


redelite

redelite

Neverside Newbie
Status: Offline!

IE and Firefox problem with menu placement

http://www.srncp.com/house/test.php // (the page)
http://www.srncp.com/house/menu.php // (the menu)
http://www.srncp.com/house/styles.css // (stylesheet)

ok first... if you see a "cant include home.php" dont worry about it, its sopposed to be there... anyways... if you look at it in firefox the menu is dropped like 5 pixels from the top and aligned correctly 1 pixel to the left of the edge... however in IE the menu is like 40 pixels from the left but aligned correctly to the top...

some help pls... pff

oh and dont bash about tables they requested it that way

thanks

coolaid

coolaid

Oh Yeaa.
Status: Offline!

heres your fix.

replace your #nav with this.
#nav {
padding:0;
margin:0;
margin-top:1px;
}

and remove the
ul{
*code*
}

part as well.

edit 1
and heres some tips. you dont need to add px to 0. so for example margin:0px; is not correct, you should use margin:0;

and in the html,body{ } part, just use margin:0; instead of using margin-left:0px; margin-right:0px; etc.

edit 2
you didnt code this yourself did you.... you used a program?...

___________________

scudworkz.com.

Last edited by coolaid, January 10th, 2006 12:25 PM (Edited 2 times)

redelite

redelite

Neverside Newbie
Status: Offline!

actually i looked at someone's menu and saw how they did it and made my own, well as you can see TRIED to make my own.. so technically yes i did it myself.. i dont just goto someone site and rip their code i at least try it myself.. but i didn't know about the "not using px in margin"... thanks anyways

Edit: ok it gets it lined up in both IE and in Firefox however, now in firefox the menu doesn't rollover AND the "a" area is huge... it still has a mouseover like 180 pixels to the right of the menu in the blank space

Last edited by redelite, January 10th, 2006 11:14 PM (Edited 1 times)

redelite

redelite

Neverside Newbie
Status: Offline!

ok forget about the above stuff i decided to do the site in divs and css but i got a SLIGHT problem with IE... everything lines up nice and neat but theres a slight (maybe 3 px) space in between banner and date... and between menu and contents

http://www.srncp.com/house/index.htm --- site
http://www.srncp.com/house/styles.css --- styles

thanks ahead

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0214 seconds.