Edited by Lastcrime, 04 September 2007 - 05:55 PM.
Nav Problems (FIXED)
Started by Lastcrime, Sep 04 2007 02:57 PM
4 replies to this topic
#1
Posted 04 September 2007 - 02:57 PM
i had to add position:absolute to my nav so that i could position it correctly, but now when i go to veiw it on my monitor thats larger then the one i made it on it goes well outside the container, im not sure how to fix this without taking out position:absolute; ?? any ideas ??
#2
Posted 04 September 2007 - 03:31 PM
#blah {
position: absolute;
top: 20px;
left: 30px;
}
Have you added TOP and LEFT attributes? If not, give it a go, otherwise, post your code.
#3
Posted 04 September 2007 - 04:37 PM
Give your containing div a relative position so it will position relative to it's container rather than the body.
If that doesn't fix it, it'll help if you show us an example so we can see what you're heading for.
div.container{
position:relative;
}
If that doesn't fix it, it'll help if you show us an example so we can see what you're heading for.
#4
Posted 04 September 2007 - 04:45 PM
o yah i think position:relative might work and yes .cj i do have top left thats just for positioning though it still moves as the browser gets bigger and smaller , but ill try position:relative; and let you know.
#5
Posted 04 September 2007 - 05:54 PM
Yeah position:relative; worked thanks.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
