12-30-2004, 04:02 PM | #1 (permalink) |
Crazy
Location: Arnold, MD
|
[html]Alignment Issues..
For somereason I can't seem to get the images within this table to align correctly, can someone please help me out. I feel stupid for askin for something so simple but I just can't seem to get it right.
http://www.uberest.com/workin/ Code:
<table width="516" height="304" border="0"> <tr valign="top"> <td width="11" height="10"><div align="left"><img src="clt.gif" width="9" height="10" align="top"></div></td> <td width="494" height="10" background="top.gif"> </td> <td width="11" height="10"><div align="right"><img src="crt.gif" width="10" height="9" align="top"></div></td> </tr> <tr> <td height="198" background="left.gif"> </td> <td bgcolor="E6EEF1"> </td> <td background="right.gif"> </td> </tr> <tr valign="bottom"> <td height="10"><div align="left"><img src="clb.gif" width="10" height="9" align="bottom"></div></td> <td height="10" background="bottom.gif"> </td> <td height="10"><div align="right"><img src="crb.gif" width="9" height="10" align="right"></div></td> </tr> </table> |
12-30-2004, 04:16 PM | #2 (permalink) |
Crazy
Location: Salt Town, UT
|
Your to put some content in the top and bottom cells is to high.
Try using a 1px by 1px spacer gif instead, and be sure not to have any spaces, IE will tend to choke on them. Let me know how it goes. Also, don't use DIV's inside of the corner TD's, just set the alignment property directly in the TD (although, you don't really need an alignment property, since the cell should be just as large as the image anyways) Also, on a few of your images, you have the width and heights backwards. So double check all of your images. |
01-03-2005, 12:18 PM | #4 (permalink) |
Crazy
Location: Liverpool UK
|
There are many examples on the net of how to do rounded corners using css. Here's 3:
http://www.alistapart.com/articles/customcorners/ http://kalsey.com/2003/07/rounded_corners_in_css/ http://www.albin.net/CSS/roundedCorners/ Perhaps you are using a table because you're not accustomed to css, but it's definitely worth getting into css as it can make your pages smaller and load faster and you can do much more with css than with tables and spacer gifs. try the following to see what css can do for you: http://www.s7u.co.uk/ http://www.wow-factor.com/ (has links to many great css sites) |
01-29-2005, 10:48 PM | #6 (permalink) | |
Upright
|
Quote:
Way better! |
|
Tags |
htmlalignment, issues |
|
|