SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How come these CSS columns don't work in Mozilla?

    I've put together a test-page to illustrate the problem. Basically, I need the height of div#body to stretch in heigh to accomodate whichever is the tallest between div#nav and div#content. This works in IE6, Opera7, and Konquerer 3.11 -- but not Mozilla 1.3.

    http://www.peterbailey.net/test/css_columns.htm

    use the two buttons to add paragraphs to either DIV, so you can see how the columns react with more content

    [img]images/smilies/xeye.gif[/img]
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got it

    clear: both;

    on the footer

    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    It seemed to work ok in Mozilla 1.2 , at least I didn't notice any difference between the div heights in moz 1.2 and ie6. However I did notice that moz1.2 didn't account for the text in the pre tag in the nav style. The nav element was overlapped partially by the content div. (Removing the pre tag stopped the divs overlapping!)

    (I realise that the layout was just for display but I thought i'd point it out anyway )

    Paul


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
  •