Results 1 to 2 of 2

Thread: CSS liquid layout table bug in IE7 ?

  1. #1
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question CSS liquid layout table bug in IE7 ?

    Dear all,

    I am facing a most weird problem regarding IE7's behaviour.
    It concerns the two column liquid layout:
    http://www.dynamicdrive.com/style/la...1-fixed-fluid/
    The code as it is is displayed correctly in all browsers. BUT if I put the two columns inside a simple table, IE7 breaks and displays the left column to the right:
    HTML Code:
    <table><tr><td>
    <div id="contentwrapper">
    <div id="contentcolumn">
    <div class="innertube"><b>Content Column: <em>Fluid</em></b> <script type="text/javascript">filltext(45)</script></div>
    </div>
    </div>
    
    <div id="leftcolumn">
    <div class="innertube"><b>Left Column: <em>200px</em></b> <script type="text/javascript">filltext(15)</script></div>
    </div>
    </td>
    </tr>
    </table>


    Does anyone know why this is happening and how to fix it

    I thank you for your time and help
    John

  2. #2
    Join Date
    Oct 2009
    Location
    Mumbai
    Posts
    17
    Thanks
    2
    Thanked 3 Times in 3 Posts

    Default

    Firstly always asign the align and valign attributes to the td tag, and have u given position attribute in CSS if yes den avoid using left and top attributes instead use float:left since both the divs are inside content wrapper.

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
  •