![]() |
HTML Help
http://members.home.nl/grawl/oblivion.html
Why does the table start halfway down the page, the more rows I add? Source: Code:
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="640"> |
Try replacing all those "<tr><br>"s with just "<tr>".
|
Also, you should align the table to the top. (align="top")
|
Quote:
Quote:
Also finished the table-tag, obviously. |
No seriously, take out the <br> tags and look at it.
|
Quote:
And if you want some gaps in the text, align the text to a vertical center. I can't remember the command off the top of my head though. |
Yeah, get rid of the <br> tags. If you want there to be a gap between table cells, just change your cellspacing from 0 to something else, or add another empty row in there to act as a spacer or something.
|
Don't put any data between your <tr> and <td> tags, they should be contained inside the <td> cells. Instead of
Code:
</td> Code:
<br> You could also remove the <br> tags and define the padding-top or padding-bottom CSS attributes for your <td> tags instead. Or just use cellspacing as Brent said, for simplicity. By the way, note that your <p> tags aren't closed properly. |
I figured out the command I was thinking of.
<td width="640" height="30" valign="middle" bgcolor="#55A692"> This centers the text vertically. |
Alright, check again, it works now.
Now I'm puzzle where the "<" comes from on top ._. Code:
<table align="top" border="0" cellpadding="2" cellspacing="2" style="border-collapse: collapse" bordercolor="#111111" width="640"> |
Line 22, specifically this:
Code:
<tr>< |
Right ;p
|
All times are GMT -5. The time now is 06:17 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.