Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    48
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Table problems with Opera

    Hello,

    I have the code below which works fine with Firefox an IExplorer but not with Opera. What I want is to make a gray background for menu area near the content area which is white. I don't want to hardcode the height value because the content always can change.

    Any idea?

    Thanks!

    Code:
    <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
       <td>
         <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
           <tr>
    
    <!-- MENU AREA BEGIN -->
             <td width="200" valign="top" height="100%">
               <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                 <tr>
                   <td width="150" bgcolor="#CCCCCC" valign="top">
                     <table align="left">
                       <tr><td><href="home.htm">Home</a></td></tr>
                       <tr><td><href="home.htm">Home</a></td></tr>
                       <tr><td><href="home.htm">Home</a></td></tr>
                     </table>
                   </td>
                   <td bgcolor="#FFFFFF" width="50">&nbsp;</td>
                 </tr>
    
                 <tr>
                   <td width="150" height="100%" bgcolor="#CCCCCC">&nbsp;</td>
                   <td width="50" bgcolor="#FFFFFF">&nbsp;</td>
                 </tr>
    
               </table>
             </td>
    <!-- MENU AREA END -->
    
    <!-- CONTENT AREA BEGIN -->
             <td class="r" bgcolor="#FFFFFF">sas<br>sas<br>sas<br>sas<br>sas<br>sas<br>sas<br>sas
                                             <br>sas<br>sas<br>sas<br>sas<br>sas<br>sas<br>sas<br>
                                             sas<br>sas<br>sas<br>sas<br>sas<br>sas<br>sas<br>sas<br>
             </td>
    <!-- CONTENT AREA END -->
    
    
             <td width="11" background="images/border1.gif">&nbsp;</td>
    
    
           </tr>
         </table>
       </td>
    </tr>
    </table>

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    It appears to work fine in Opera 8


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •