Announcement

Collapse
No announcement yet.

Header table problems.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Header table problems.

    Hi there.

    I am trying to change the header on the store I am building. I seem to be getting odd behaviour with the table I built to replace the header.

    I am either getting a small space underneath the logo, or the 80px cell is becoming 82px magically. I have tried the tips in the knowledge base regarding cleaning up of the logoimage template, to no avail I am afraid.

    I have included the code to the table below, which sits in the top cell (full width) of my store. When in its own document or in the template in dreaweaver it works fine, however when I view it in Actinic or do an Offline page preview it mysteriously gains a space!

    Code:
    		<table width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
    				<tr>
    					<td width="100" height="100" rowspan="2">
    						NETQUOTEVAR:LOGOIMAGE
    					</td>
    					<td bgcolor="#006699" height="80">
    						<!-- Space for banner etc -->
    						&nbsp;
    					</td>
    				</tr>
    				<tr>
    					<td bgcolor="#99CCFF" height="20">
    						<!--space for additional menu items -->
    					</td>
    				</tr>
    				<tr>
    					<td height="2" colspan="2">
    						<!--Spacer below everything-->
    					</td>
    				</tr>
    			</table>
    Hopefully someone will be of help with this.

    Thanks.

    Dougal.

    #2
    should that not be <td height="80""width="80

    your table is 100 high and you are trying to fit a 100 high image and a 20 high second row inside that?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      That Cell has a rowspan of two, therefor it covers the height of the whole table.

      Dougal.

      Comment


        #4
        You know - I missed that.

        Looking again table - height 100, logo 100 fits inside first row 80 plus second row 20 = 100, spacer below 2 = 102 (oops?) - maybe try table height=102 ??
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment

        Working...
        X