Results 1 to 3 of 3

Thread: Anyone Good With Html?

  1. #1
    Poster
    Join Date
    Jan 2003
    Location
    United Kingdom
    Posts
    1,184
    Tables in HTML is something that I rely on WYSIWYG solutions , so can someone do me a favour, with the following code:

    Code:
    <table>
    
    <tr>
        <td><table width="421" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td bgcolor="#525D6B" width="423"><table width="744" border="0" cellpadding="1" cellspacing="1">
      <tr>
        <th height="25" align="center" bgcolor="#F7CB18" class="thcornerl" width="20%"><font color="#364D67" face="Verdana" size="1"><strong>Cell1</strong></font></th>
        <th width="20%" align="center" bgcolor="#F7CB18" class="thtop"><font color="#364D67" face="Verdana" size="1"><strong>Cell2</strong></font></th>
        <th width="20%" align="center" bgcolor="#F7CB18" class="thtop"><font color="#364D67" face="Verdana" size="1"><strong>Cell3</strong></font></th>
        <th width="20%" align="center" bgcolor="#F7CB18" class="thtop"><font color="#364D67" face="Verdana" size="1"><strong>Cell4</strong></font></th>
        <th align="center" bgcolor="#F7CB18" class="thcornerr" width="20%"><font color="#364D67" face="Verdana" size="1"><strong>Cell5</strong></font></th>
      </tr>
    
                </table>
    </table>
    
    </table>
    
    <table width="750" bordercolor="#525D6B">
    
    <td height="30" nowrap bgcolor="#EFEFF7" class="row1" width="20%" align="center"> </td>
        <td align="center" bgcolor="#EFEFF7" class="row2" width="20%"> </td>
        <td align="center" bgcolor="#EFEFF7" class="row3" width="20%"> </td>
        <td align="center" bgcolor="#EFEFF7" class="row2" width="20%"> </td>
        <td align="center" nowrap bgcolor="#EFEFF7" class="row3" width="20%"> </td>
    
    </table>
    What would you add, in order to change the white cell gaps to #525D6B?

  2. Software & Hardware   -   #2
    Illuminati's Avatar Simple Bystander BT Rep: +7BT Rep +7
    Join Date
    May 2003
    Location
    2008 European Capital of Culture
    Age
    38
    Posts
    2,711
    You got the colour declared right, but there is one thing you've forgotten - You've forgotten to declare that a border is visible in the first place, or to be specific you've forgotten to put down the border colour.

    Add
    border="1"
    in between the two parts in this line
    <table width="750" bordercolor="#525D6B">
    to get
    <table width="750" border="1" bordercolor="#525D6B">

    How did I know? I put the code into Dreamweaver and manipulated it using the graphical (or "WYSIWYG") view. Trust me - If you don&#39;t use it already, get it on Kazaa because you won&#39;t find a better pure web-development program to date (except maybe Flash, but you can put Flash files into DW and not vica versa)

    Hope that helps


  3. Software & Hardware   -   #3
    umm im still a bit confused about what you mean by white gaps... do you mean the white gaps between the two tables?&#33;??&#33;

    if you dont want gaps between the two tables then just dont make an additional table....


    and wait... why do you have THREE </table> tags?

    </table>
    </table>

    </table>

    <table>

    <tr>
    &nbsp; <td><table width="421" border="0" cellspacing="0" cellpadding="0">
    &nbsp; &nbsp; &nbsp; <tr>
    &nbsp; &nbsp; &nbsp; &nbsp; <td bgcolor="#525D6B" width="423"><table width="744" border="1" cellpadding="1" cellspacing="1">
    <tr>
    &nbsp; <th height="25" align="center" bgcolor="#F7CB18" class="thcornerl" width="20%"><font color="#364D67" face="Verdana" size="1">Cell1</font></th>
    &nbsp; <th width="20%" align="center" bgcolor="#F7CB18" class="thtop"><font color="#364D67" face="Verdana" size="1">Cell2</font></th>
    &nbsp; <th width="20%" align="center" bgcolor="#F7CB18" class="thtop"><font color="#364D67" face="Verdana" size="1">Cell3</font></th>
    &nbsp; <th width="20%" align="center" bgcolor="#F7CB18" class="thtop"><font color="#364D67" face="Verdana" size="1">Cell4</font></th>
    &nbsp; <th align="center" bgcolor="#F7CB18" class="thcornerr" width="20%"><font color="#364D67" face="Verdana" size="1">Cell5</font></th>
    </tr>


    <td height="30" nowrap bgcolor="#EFEFF7" class="row1" width="20%" align="center">&nbsp;</td>
    &nbsp; <td align="center" bgcolor="#EFEFF7" class="row2" width="20%">&nbsp;</td>
    &nbsp; <td align="center" bgcolor="#EFEFF7" class="row3" width="20%">&nbsp;</td>
    &nbsp; <td align="center" bgcolor="#EFEFF7" class="row2" width="20%">&nbsp;</td>
    &nbsp; <td align="center" nowrap bgcolor="#EFEFF7" class="row3" width="20%">&nbsp;</td>

    </table>
    in the following one i took out ur extra table and combined it to one... you might have to redo the width... and height...

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
  •