Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Oct 2010
    Posts
    78
    Thanks
    1
    Thanked 0 Times in 0 Posts

    problem with css tags

    so here is the

    basically i have navigation bar that are img buttons setting in the bottom right corner of the page

    so everytime i add new div tag with a picture or text it pushes the navigation bar down further.

    how can i stop the div tag from moving completely?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Sorry, we can't guess the issues in your code without seeing it. Can we have a link to your page?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Sep 2010
    Location
    The Twilight Zone
    Posts
    86
    Thanks
    17
    Thanked 2 Times in 2 Posts
    Have you tried absolute positioning?
    In declaration, type position:absolute;top/bottom/left/right:#of px or em.

    For instance

    #id nav
    {
    position:absolute;top:200px;
    }

    would position the navigation element 200px from the top.

    If you want your navigation fixed, simply change "absolute" to fixed.

    I'm not sure if that answers your question since I cannot see your code. But I hope it helps!

  • #4
    New Coder
    Join Date
    Oct 2010
    Posts
    78
    Thanks
    1
    Thanked 0 Times in 0 Posts
    problem fixed thanks everyone


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •