SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2005
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sidebar floats over the content area in IE

    on my site here, the sidebar floats to the bottom left hand side in IE7. this is the typical culprit where i can simply shrink the width of either the content area or sidebar...i've tried that anyway.

    I notice the sidebar seems to float to the bottom only when the content is shorter than the sidebar as I have multiple pages where there is little content. But on pages when the content is longer than the sidebar, then it's okay.

    Ideas?

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, you are missing the closing > for this element. The <p>..first element there with the font size.
    Code:
    <p style="font-size:1.2em;"<div class="stray_quote-260029">“<em>There is nothing, really, to be afraid of. As we 
    
    learn this, we grow in our faith, we grow in strength, and most important we grow in our capacity to 
    
    love.</em>”<br/>by&nbsp;Robert O'Brien<p align="left"><a onclick="newQuote
    
    ('testimonials,inspiration','another+quote+&#37;26raquo%3B','260029','http://next.p-pr.com/wp-content/plugins/stray-
    
    quotes/','1','0','','0','','loading...','')" style="cursor:pointer" >another quote &raquo;</a></p></div></p>
    The thing you need to add is marked in bold
    Code:
    <p style="font-size:1.2em;"[font size=9]>[/font]<div class="stray_quote-260029">“<em>There is nothing, really, to be afraid of. As we 
    
    learn this, we grow in our faith, we grow in strength, and most important we grow in our capacity to 
    
    love.</em>”<br/>by&nbsp;Robert O'Brien<p align="left"><a onclick="newQuote
    
    ('testimonials,inspiration','another+quote+%26raquo%3B','260029','http://next.p-pr.com/wp-content/plugins/stray-
    
    quotes/','1','0','','0','','loading...','')" style="cursor:pointer" >another quote &raquo;</a></p></div></p>
    It's hard to show you, you need hte > there ...Just add the >
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2005
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah...good catch. Stupid Wordpress plugin was the culprit. I've since deactivated. thanks

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Glad it worked . You're welcome.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  5. #5
    SitePoint Enthusiast
    Join Date
    Aug 2006
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This kind of thing happens to me all the time.

    Good thing we have others who can help us spot things like that . . . after we've spent 10 hours staring at something that obvious.

    ;-)


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
  •