-
html help
i cannot get a table around the stuff at the top of this page
http://www.geocities.com/boxcarmember88/site2.html
i have css for a table calss called banner and when i put this <table class="banner"> </table> around all that stuff, this happens
http://www.geocities.com/boxcarmember88/site22.html
y does it move that Cool Links lower (it is a javascript menu)
please help
-
Make a visit to http://www.w3schools.com/ and read up on tables :)
-
You need to use the <tr> (table row) and <td> (table data cell) to create the table rows etc, saying <table> content </table> only defines the table, adding <tr> creates the row, and <td> creates the data cell where the content will sit,
at the part of your html where it says
<table class="banner">
add
<tr><td>
at the bottom where you close the table tag put
</td></tr> before </table> in that order.
eg
<table>
<tr>
<td>
content
</td>
</tr>
</table>
Can I also suggest you comment out your clickmessage script, this hides the code from older and non javascript browsers and will save users using these getting errors.
Put at start of script
<!--Hide code
end of script
end hide-->
---------------------
If you want to hand code pages an easy way to learn the correct html syntax is to use a wysiwyg html program such as dreamweaver, this way you can create the page visually, then look at the code to see how it was done...........
Goodluck
RB :)
-
Go here for help:
HTML Forums
Bill