CSS Layout problem!!

Discussion in 'CSS' started by sumitt_2004, Dec 19, 2008.

  1. #1
    Hi All,

    I have a site which is designed in CSS (http://www.1indianwebsolutions.com). As, I put more content in my Body webpage's footer comes on body content. I tried all possible solutions for that but didn't get any solution. Can anybody help me in that?

    Thanks for any help!
     
    sumitt_2004, Dec 19, 2008 IP
  2. Crimsonc

    Crimsonc Peon

    Messages:
    616
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put the content Div inside the Main-body div.

    You might have to float the sidebar left and define a margin between the two to keep the same layout.
     
    Crimsonc, Dec 19, 2008 IP
  3. abcdefGARY

    abcdefGARY Well-Known Member

    Messages:
    665
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Okay, after looking over your CSS code... I think the problem is the way you use the position property. I'm no expert, but seeing as you are using the position property, it looks like all the elements are pretty much static (header, etc.) in its position. Therefore, when you add more content, it gets hidden underneath the footer because the footer's position is already defined in a fixed place (bottom).
     
    abcdefGARY, Dec 19, 2008 IP