Jump to content

Div/Table help


LemonInflux

Recommended Posts

I have a table that looks like this:

 

<table width="90%"  border="0" cellspacing="0" cellpadding="0">

  <tr>

    <td width="20" height="20"><img src="images/tl.png" width="20" height="20"></td>

    <td colspan="3" bgcolor="#0E1F33">RANDOM TEXT</td>

    <td width="20" height="20"><img src="images/tr.png" width="20" height="20"></td>

  </tr>

  <tr>

    <td></td>

    <td width="20" height="20"><img src="images/bl.png" width="20" height="20"></td>

    <td bgcolor="#B1CDE4">RANDOM TEXT</td>

    <td width="20" height="20"><img src="images/br.png" width="20" height="20"></td>

    <td></td>

  </tr>

</table>

 

I want it to be at the top of my page. However, it looks as if when you use tables, it creates a gap between the top of the page and the table. I tried using a div layer, but it still leaves the gap (just now the gap is in the div layer). So how to I get a table to actually stay at the top of the page? I don't want it to be fixed, so when I scroll down the bar comes with me. I just want it to be starting on the line the browser starts. If I can find a site that does what I'm trying to say, I'll post it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.