i need css help

Discussion in 'HTML & Website Design' started by adams95ta, Apr 13, 2008.

  1. #1
    adams95ta, Apr 13, 2008 IP
  2. vpguy

    vpguy Guest

    Messages:
    275
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to add cellspacing="0" to both table elements:

    
    
    .
    .
    .
    
    <table cellspacing="0" class="main">
     <tr>
      <td class="topmain">
       <table cellspacing="0" class="innermain">
        <tr>
         <td class="top"></td>
        </tr>
        <tr>
         <td class="middle"></td>
        </tr>
        <tr>
         <td class="bottom"></td>
        </tr>
       </table>
      </td>
     </tr>
    </table>
    
    .
    .
    .
    
    Code (markup):
    I look forward to the day when cellspacing is a CSS property, because it's annoying and inconsistent for it to be a markup-only attribute.
     
    vpguy, Apr 13, 2008 IP
  3. adams95ta

    adams95ta Active Member

    Messages:
    359
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #3
    wow are you serious? I thought it was a given to be zero now.
     
    adams95ta, Apr 13, 2008 IP
  4. adams95ta

    adams95ta Active Member

    Messages:
    359
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #4
    you are correct, that fixed it
     
    adams95ta, Apr 13, 2008 IP
  5. adams95ta

    adams95ta Active Member

    Messages:
    359
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #5
    I have another issue now, the logo image is breaking out of the table in firefox but not in IE.
     
    adams95ta, Apr 13, 2008 IP
  6. vpguy

    vpguy Guest

    Messages:
    275
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hmm... not sure why. I checked in IE, FF and Opera and it looked the same in all three browsers.
     
    vpguy, Apr 14, 2008 IP
  7. adams95ta

    adams95ta Active Member

    Messages:
    359
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #7
    who would have ever thought that I'd spend 6 1/2 hours trying to figure out this stupid css padding and margin
     
    adams95ta, Apr 14, 2008 IP