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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Dec 2010
    Location
    California
    Posts
    201
    Thanks
    30
    Thanked 8 Times in 8 Posts

    content not moving below on some...

    Hello,

    At the url below you will see "READ MORE" links after some text. When you click on the ones with the text-aligning right, the content below moves down, but if you click on one where the text is aligning left, the content below doesn't move, why is this? My code is the same for each different class.

    Link: http://experiencemediaonline.gorilla....com/services/

    Thanks!!

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello eberdome,
    Try making that parent ul expand to contain it's floated li's with overflow: auto;
    ...like this -
    Code:
    ul.expander { 
    display:block; 
    /*height:auto;*/
    overflow: auto;
    list-style-type:none; 
    padding:0; 
    padding-bottom:35px; 
    margin:0; border:0; 
    border-bottom:1px solid #B7B7B7; 
    width:711px; 
    }
    And shouldn't #services be allowed to do the same? Like this -
    Code:
    div#services { 
    width:711px; 
    /*height:435px;*/ 
    overflow:hidden; 
    position:relative; 
    }
    OR

    Code:
    div#services { 
    width:711px; 
    height:435px; 
    overflow-y: scroll; 
    overflow-x: hidden;
    position:relative; 
    }
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    eberdome (02-20-2011)

  • #3
    Regular Coder
    Join Date
    Dec 2010
    Location
    California
    Posts
    201
    Thanks
    30
    Thanked 8 Times in 8 Posts
    Thanks, that worked perfectly. I actually am keeping the div will an overflow of hidden, the menu on the side will navigate to each section. Thanks again!!


  •  

    Tags for this Thread

    Posting Permissions

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