Jump to content


Nav Problems (FIXED)


4 replies to this topic

#1 Lastcrime

    Impatient Jedi that likes to eat cereal

  • Members
  • PipPipPip
  • 649 posts
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • Interests:Soccer, Snowboarding, Hockey, B-ball, Skateboarding, Computers!

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 ??

Edited by Lastcrime, 04 September 2007 - 05:55 PM.


#2 .CJ

    Young Padawan

  • Members
  • Pip
  • 114 posts
  • Gender:Male
  • Location:Leeds, UK

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 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

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.

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 Lastcrime

    Impatient Jedi that likes to eat cereal

  • Members
  • PipPipPip
  • 649 posts
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • Interests:Soccer, Snowboarding, Hockey, B-ball, Skateboarding, Computers!

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 Lastcrime

    Impatient Jedi that likes to eat cereal

  • Members
  • PipPipPip
  • 649 posts
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • Interests:Soccer, Snowboarding, Hockey, B-ball, Skateboarding, Computers!

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