"overflow"

Discussion in 'CSS' started by canalboatman, Jan 25, 2009.

  1. #1
    I wanted to define the height of my main content box. I added "height= 400px;" and "overflow= auto;".

    I got a box with a scroll bar as desired, but all text and images had disappeared. All that remained was the contents of the two sidebars and the background color of main content. I removed the height and overflow and it was all back to normal. Anyone know why this would be?

    Thanks.
     
    canalboatman, Jan 25, 2009 IP
  2. Tjobbe

    Tjobbe Peon

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's likely that it might be caused by some other code, can you post a link to the web page in question please?
     
    Tjobbe, Jan 26, 2009 IP
  3. gobbly2100

    gobbly2100 Banned

    Messages:
    906
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You need to provide a link with the issue on there for us to help.
     
    gobbly2100, Jan 26, 2009 IP
  4. canalboatman

    canalboatman Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi - thanks for responding.

    I found the error - misplaced div tag. The page would still wok without the overflow function but now with it. It works properly now and is up and running on most pages of my main site - link in signature.
     
    canalboatman, Jan 28, 2009 IP