Y3llow
09-07-2003, 05:50 AM
Hey everyone, I've run into a problem with tables with rounded corners.
I made a page that quickly explains my problem, I didn't just post all the info here because I also posted this on NG which doesn't allow HTML code in posts.
The link is http://y3llow.b0x.com/round_tables_help.html
so can everyone please check it out and post you answers to my problem here.
Try putting the images on the same line as the <td> to eliminate spaces, and you also need to make sure that the size of the cells add up.
<table width="145" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="10" valign="top"><img border="0" src="top_left_border.gif" width="10" height="10"></td>
<td bgcolor="666666"><img border="0" src="blank.gif" width="125" height="10"></td>
<td width="10" height="10" valign="top"><img border="0" src="top_right_border.gif" height="10" width="10"></td>
</tr>
<tr>
<td bgcolor="666666"><img border="0" src="blank.gif" height="1" width="10"></td>
<td width="125" height="580" bgcolor="666666"><img border="0" src="blank.gif" height="1" width="125"></td>
<td bgcolor="666666"><img border="0" src="blank.gif" height="1" width="10"></td>
</tr>
<tr>
<td width="10" height="10" valign="top"><img border="0" src="bottom_left_border.gif" height="10" width="10"></td>
<td bgcolor="666666"><img border="0" src="blank.gif" width="125" height="10"></td>
<td width="10" height="10" valign="top"><img border="0" src="bottom_right_border.gif" height="10" width="10"></td>
</tr>
</table>
fruitcake
09-08-2003, 04:38 AM
Does it absolutely HAVE to be that small? Try doubling the corner sizes (so they're 20x20)
I think it's just that you can't make a table's height smaller than that. Although, I could be wrong.
Y3llow
09-08-2003, 10:52 AM
About the spaces and stuff, I learnt HTML by just typing the code and that is just my particular style of setting it all out, it helps me understand it easier with the way I write it.
Now as for the second reply, yes it's true that you cannot make the cells 10x10 (I was told this on the NG forums), it's because it makes it so the default sized text can fit into a cell so I went for another option.
Instead of putting the corners in with the <img....> tag I instead made them a little longer so they would fit comfortably and set them as the background for the cells.
To see how it worked out check out my website Here (http://www.y3llow.co.nr)
Lissa
09-08-2003, 10:58 AM
The only problem with the way you've done it is that if you have a resolution of 800 x 600, you have to use the scrollbar on the bottom to see your whole site.
Y3llow
09-09-2003, 05:46 AM
Yes I know that some people have a resolution that low but I have my reasons. I made it so it would fit into my screen because I have a counter kinda thing and it says that most people that visit my site have the same resolution as me.
With the next update I do on it I may find a way around that problem.