Results 1 to 10 of 10

Thread: Cells of Table

  1. #1
    amani
    Guest

    Cells of Table

    Hi
    Here is an intreseting problem the following is the code I wrote to set the width and height of different html pages and one page sets its own sizes .
    Here is the code I tried with % too but it is not working> CAn somebody solve this problem

    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"><a href="./resume2.html" target="right">xyz</a></th>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"><a href="./emp1.html" target="right">abc</a></th>
    <th bgcolor="#F5F5DC" width="80" height = "25" bordercolor="#F5F5DC" align="center">Stes</th>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"> <a href="./stren.html" target="right">gth</a></th>

    Neti

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    I don't understand what the problem is, what is it supposed to do?

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  3. #3
    amani
    Guest
    The above mention code sets the width and height of Table heading .The headings of Table should be same in all pages .Hope this gives a better idea of my problem

  4. #4
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772


    They are all the same size. I don't really know what you are trying to do here. What you want it to do and what is it doing?
    Alcohol & calculus don't mix.
    Never drink & derive.

  5. #5
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    Yeah, your code looks fine and works fine for me....what is the problem?

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  6. #6
    amani
    Guest
    I don't see a better way to explain my problem so I pasting the code for both files named as Noname1 & Noname2 respectively.........OPen these files in Netscape only

    Noname2.html
    <table width ="80%" height="60%" border="0" bordercolor="#F5F5DC" >
    <tr>
    <th bgcolor="#F5F5DC" width="80" height = "25" bordercolor="#F5F5DC" align="center"> Education </th>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"><a href="./emp1.html" target="right">Experience</a></th>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"><a href="./skills.html" target="right">Skills</a></th>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"> <a href="./stren.html" target="right">Strength</a></th>
    </tr>
    <tr><td colspan=4>&nbsp;</td></tr>
    <tr>
    <td colspan="4" >
    <!-- <p align="left"><b><u>Education</u></b></p> -->
    <b><u>Education</u></b>
    <p align="left"><b> MS in Computer Engineering Technology (Jan. 2001 – present)</b></p>
    </center>
    <blockquote>
    <p align="left">
    <b>xxxxxxxx</b><br>
    xxxxxxxxxxxxxxxxxxxxxxxxxx<br>
    xxxxxxxxxxxxxxxxxxxxxxxx
    <center>
    <p align="left"><b>xxxxxxxxxxxxxxxxxxxxxxxxxxx</b></p>
    </center>
    <p align="left">
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br>
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br>
    <b>xxxxxxx</b><br>

    </blockquote>
    </td>
    </tr>
    </table>

    Noname1.html
    <table width ="80%" height="60%" border="0" bordercolor="#F5F5DC" >
    <tr>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"><a href="./resume2.html" target="right">Education</a></th>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"><a href="./emp1.html" target="right">Experience</a></th>
    <th bgcolor="#F5F5DC" width="80" height = "25" bordercolor="#F5F5DC" align="center">Skills</th>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"> <a href="./stren.html" target="right">Strength</a></th>
    </tr>
    <tr><td colspan=4>&nbsp;</td></tr>

    <tr>
    <td align="center">
    <p align="left"><b><u>Skills</u></b></p><td></tr>
    <tr><td colspan=4>&nbsp;</td></tr>
    <tr ><td colspan=2>Languages:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxx </td></tr>
    <tr ><td colspan=2>Operating Systems:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxxx</td></tr>
    <tr ><td colspan=2>Applications:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxx </td></tr>
    <tr><td colspan=2>Database</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxxxi</td></tr>
    <tr ><td colspan=2>Web:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</td></tr>
    <tr><td colspan=2>Graphical User Interface:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</td></tr>
    </table>

    Please look at it carefully

    Neti

  7. #7
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    well, you should have said netscape...

    anyway, NS does not support the <th> tag

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  8. #8
    amani
    Guest
    I don't think so look at this link
    http://html.about.com/library/tags/b...1&terms=th+tag

    You can get more clarification

    Neti

  9. #9
    scoutt
    Guest
    if you want the <th> cells the same size you will have to make it a different table, apart from the rest.
    like so--
    Code:
    <table width ="80%" height="10%" border="0" bordercolor="#F5F5DC" > 
    <tr> 
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"><a href="./resume2.html" target="right">Education</a> </th>
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"><a href="./emp1.html" target="right">Experience</a></th> 
    <th bgcolor="#F5F5DC" width="80" height="25" bordercolor="#F5F5DC" align="center">Skills</th> 
    <th bgcolor="#8B0000" width="80" height = "25" bordercolor="#F5F5DC" align="center"> <a href="./stren.html" target="right">Strength</a></th> 
    </tr> 
    </table>
    <table>
    <tr> 
    <td align="center"> 
    <p align="left"><b><u>Skills</u></b></p><td></tr> 
    <tr><td colspan=4> </td></tr> 
    <tr ><td colspan=2>Languages:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxx </td></tr> 
    <tr ><td colspan=2>Operating Systems:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxxx</td></tr> 
    <tr ><td colspan=2>Applications:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxx </td></tr> 
    <tr><td colspan=2>Database</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxxxi</td></tr> 
    <tr ><td colspan=2>Web:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</td></tr> 
    <tr><td colspan=2>Graphical User Interface:</td><td colspan=2>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</td></tr> 
    </table>

  10. #10
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    Originally posted by amani
    I don't think so look at this link
    http://html.about.com/library/tags/b...1&terms=th+tag

    You can get more clarification

    Neti
    damn! Sorry, i must have been thinking of something else

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

Posting Permissions

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



Click Here to Expand Forum to Full Width