Need your urgent help

Discussion in 'CSS' started by satishtalim, Jun 2, 2007.

  1. #1
    In my site, my right coulmn appears after the footer in IE and in Firefox it's okay - for all my pages. I can't figure out what has happened. Can you help? Thanks.
     
    satishtalim, Jun 2, 2007 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, the good news is your HTML is valid and the page renders properly in IE 7. Which is indicative of a possible margin problem. Try adding display: inline; to the rightbar's style rules (don't hack it in, it'll play nice with the other browsers). If that doesn't work, try adjusting your margins and padding.

    If I was at home, I'd be able to tell you for certain what the problem was.
     
    Dan Schulz, Jun 2, 2007 IP
  3. satishtalim

    satishtalim Peon

    Messages:
    440
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Will give this a try, but will wait for your feedback when you are back home and get the time. :)
     
    satishtalim, Jun 2, 2007 IP
  4. satishtalim

    satishtalim Peon

    Messages:
    440
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I checked the css file the line display: inline; is already there.. :confused:
     
    satishtalim, Jun 2, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ah. I didn't look at the stylesheet.

    One moment, please. Looks like I'll need to get my hands dirty, so to speak.
     
    Dan Schulz, Jun 2, 2007 IP
  6. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ok, try adjusting the margin of the right bar then. By the way, since you have the universal selector in the stylesheet ( * { } ), you don't need all those margin: 0; padding: 0; styles in your stylesheet, so you can safely remove them since they've already been declared as having nothing on them. I do suggest making a backup copy of the stylesheet before doing this though, just to be on the safe side.
     
    Dan Schulz, Jun 2, 2007 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ok, also noticed you're mixing your values in the main DIV's margin and width properties. What that's going to do is take 74% of the total width, then add 15px to that; when added with the width of the right sidebar, that will push the total over 100%, causing all sorts of problems.
     
    Dan Schulz, Jun 2, 2007 IP
    satishtalim likes this.
  8. littlebobek

    littlebobek Peon

    Messages:
    763
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I don't see any problems in IE7, Firefox 2.0 and Opera 9.2. Is it just IE6 (don't have it any more) or did you fix it?
     
    littlebobek, Jun 2, 2007 IP
  9. satishtalim

    satishtalim Peon

    Messages:
    440
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Dan thanks for you time and suggestions. I fixed the problem. The problem was with the adsense code in a div that I had placed wrongly. Again, thanks for your time.
     
    satishtalim, Jun 2, 2007 IP
  10. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I'm pretty sure it's IE 6. I don't have access to it since I'm on a relative's computer, but I have seen this problem before.
     
    Dan Schulz, Jun 2, 2007 IP
  11. satishtalim

    satishtalim Peon

    Messages:
    440
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Hmm.. will upgrade to IE 7.
     
    satishtalim, Jun 2, 2007 IP
  12. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Dan Schulz, Jun 2, 2007 IP
  13. satishtalim

    satishtalim Peon

    Messages:
    440
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Thanks for the tip. Will do that.
     
    satishtalim, Jun 2, 2007 IP