| | |
Why is this happening to my table????!!!!
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2004
Posts: 57
Reputation:
Solved Threads: 0
I dont see what ive done wrong, if i dont have the links in the curved table (just text in there) it works fine. But if i change theplain text to links it messes up. See pics. Someone please help. This is the code for the table when the links are in it.
HTML and CSS Syntax (Toggle Plain Text)
<TABLE cellspacing=0 cellpadding=0 width="150" border="0" align="center" body style="margin:0px" bgcolor="999999"> <tr> <td align="left" valign="top"><img src="top_left.gif" border="0"> </td> <TD></TD> <td align="right" valign="top"> <img src="top_right.gif" border="0"> </td> </tr><tr> <TD></TD> <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> <a href="chat.html">Chat</a><br> <a href="gallery.html">Gallery</a><br> <a href="mail.html">Email</a><br> <a href="join.html">Join</a><br> <a href="news.html">News</a><br> <a href="funnyshit.html> Funny shit</a> </td> <td> </td> </tr> <tr> <td align="left" valign="bottom"> <img src="bottom_left.gif" border="0"> </td> <TD> </TD> <td align="right" valign="bottom"> <img src="bottom_right.gif" border="0"> </td> </tr> </table>
•
•
Join Date: Nov 2003
Posts: 207
Reputation:
Solved Threads: 1
HTML and CSS Syntax (Toggle Plain Text)
<table cellpadding="0" cellspacing="0" border="0" style="width: 150px; background-color: #999999;"> <tr> <td style="width: 1px; text-align: left; background-color: #999999"> <img src="topleft.gif" border="0" /> </td> <td style="width: 1px; text-align: right; background-color: #999999"> <img src="topright.gif" border="0" /> </td> </tr> <tr> <td style="text-align: center;" colspan="2" width="100%"> <a href="chat.html">Chat</a><br /> <a href="gallery.html">Gallery</a><br /> <a href="mail.html">Email</a><br /> <a href="join.html">Join</a><br /> <a href="news.html">News</a><br /> <a href="funnyshit.html> Funny shit</a> </td> </tr> <tr> <td style="width: 1px; text-align: left; background-color: #999999"> <img src="bottomleft.gif" border="0" /> </td> <td style="width: 1px; text-align: right; background-color: #999999"> <img src="bottomright.gif" border="0" /> </td> </tr> </table>
Replace your table with that, and it -should- work.
•
•
Join Date: Mar 2004
Posts: 57
Reputation:
Solved Threads: 0
Ok, i nearly got it woking but there are these lines down the side of the table see pic.
Please someone look through this code and tell me what is wrong with it!!
Please someone look through this code and tell me what is wrong with it!!
HTML and CSS Syntax (Toggle Plain Text)
<body bgcolor="cccccc"> <TABLE cellspacing=0 cellpadding=0 width="150" border="0" align="left" bgcolor="999999" > <tr> <td align="left" valign="top"><img src="images/top_left.gif" border="0" align="left" valign="top"></td> <td align="center" valign="top"> </td> <td align="right" valign="top"><img src="images/top_right.gif" border="0" align="right" valign="top"></td> </tr> <tr> <td align="left" valign="middle"> </td> <td align="center" valign="middle"> <div align="left"><a href="chat.php">- Chat</a><br> <a href="cars.php">- Cars</a><br> <a href="music.php">- Music</a><br> <a href="gallery.php">- Gallery</a><br> <a href="email.php">- Email</a><br> <a href="drug_info.php"> - Drug Info</a><br> <a href="graffiti.php">- Graffiti Art</a><br> <a href="join.php">- Join</a><br> <a href="news.php">- News</a></div></td> <td align="right" valign="middle"> </td> </tr> <tr> <td align="left" valign="bottom"><img src="images/bottom_left.gif" border="0" align="left" valign="bottom"></td> <td align="center" valign="bottom"> </td> <td align="right" valign="bottom"><img src="images/bottom_right.gif" border="0" align="right" valign="bottom"></td> </tr></table>
•
•
Join Date: Nov 2003
Posts: 207
Reputation:
Solved Threads: 1
I'm not sure what to tell you, I don't do work with tables, they are pretty much my HTML arch-nemesis.
There are default spacing settign being applied to your images. To fix this add the following parameter to your image tags:
which will set horizontal spacing between the image element and adjacent elements to 0 pixels. So the new image tags will read like:
HTML and CSS Syntax (Toggle Plain Text)
hspace="0"
which will set horizontal spacing between the image element and adjacent elements to 0 pixels. So the new image tags will read like:
HTML and CSS Syntax (Toggle Plain Text)
<img src="images/top_left.gif" border="0" align="left" valign="top" hspace="0">
If I've been a help please confirm by clicking the Add to Lafinboy's Reputation link in the header of this reply.
Lafinboy Productions
:: Website Design :: Website Development ::
Lafinboy Productions
:: Website Design :: Website Development ::
![]() |
Similar Threads
- Microsoft Table PC Technology (Windows Vista and Windows 7)
- Fixed table headers problem .. (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Is There A Way To Protect Members' E-mails From Crawlers and Hackers?
- Next Thread: html table to .csv
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7





