SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist escapedf's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    458
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy slider problems with navigation :(

    hi all..im working on a wordpress site.the designer unfortunately is european and doesnt understand my question when i ask him as im guessing his english is badDoes anyone know how to shift the navigation menu to the left without affecting the slider below?http://sandbox.heartcapital.co.za.tempurlza.co.cc/ if you change "float right" in #navigation to "float left" - the navigation moves to left but the slider moves all the way to right side of page?(if you have firebug just change this in the inspect element css to see what i mean)Doesnt seem to do this when its now floated rightI dont understand what would affect only one side of a float.Can anyone help?
    Last edited by escapedf; Nov 20, 2011 at 07:02. Reason: this new forum puts everything you post on 1 line and messes up the URL sitepoint Fail!!!
    "have the courage to follow your heart and intuition. They somehow already know what you truly want to become"

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,214
    Mentioned
    457 Post(s)
    Tagged
    8 Thread(s)
    One thing you could do is float the menu left and then add the rule in red:

    Code:
    .banner_home {
      overflow: hidden;
      width: 100%;
      clear: left;
    }

  3. #3
    SitePoint Evangelist escapedf's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    458
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you for this!So you add clear: left to the div below/one thats shifting right?never really understood clear left & right!
    "have the courage to follow your heart and intuition. They somehow already know what you truly want to become"

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,214
    Mentioned
    457 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by escapedf View Post
    thank you for this!So you add clear: left to the div below/one thats shifting right?never really understood clear left & right!
    When things float, say, left, they slide along to the left as far as they can until they hit something. If you want them to go all the way left and not get stopped by anything, you add clear: left to tell them not to get stopped by anything that may get in the way because it is hanging down a bit.


Bookmarks

Posting Permissions

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