SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Oct 2005
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    div's overlapping

    I am having troubles with this page in FF and Opera: http://www.studioweber.ro/sw4/html/test.htm - #contentMain is overlapping #mainContainer instead of expanding together. Could someone help? Thanks, Alex

  2. #2
    I see geek people adris72's Avatar
    Join Date
    Feb 2005
    Location
    NYC
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In the division #mainContainer get rid of the following line:

    height : 100%;

  3. #3
    SitePoint Member
    Join Date
    Oct 2005
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks adris72, it works fine now but it will not expand the background 100% vertical when the text is smaller. Have a look here: http://www.studioweber.ro/sw4/html/test2.htm. I need the bg to have 100% height.

  4. #4
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not really seeing what your new problem is but having a look at #maincontainer, I'd get rid of the following:

    Code:
          position : absolute;
          left : 23%;
          top : 0px;
          overflow: visible;
          visibility: visible;
          z-index: auto;
    and instead replace it with:

    Code:
     float: right;
     margin-right: 23% /* or however far from the right edge you want it */


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
  •