View Full Version : Fluid rounded corners
pein87
02-19-2009, 06:23 PM
I`ve been having some problems with making a fluid rounded corners for the catagory strips and one for below the forums. I`ve used a new table but theres a space in between the catagory and the forum itself. Would I make it so theres no border at all or change the classes for the tables? Also how wold I make a fluied rounded cornered top and bottom with a new table or a a new tr and td? If anyone could shine some light on this i wold appreciate this i`m not used to table layouts I can only do div based.
Winterfell
02-19-2009, 11:40 PM
Check the cellspacing and cellpadding attributes of the table. That's most likely what's causing your spacing issues. A sample bit of code might look something like this:
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td><img src="path-to-image/left-round-image.gif" alt="" border="0" height="20" width="20" /></td>
<td width="100%" style="background: url(path-to-image/middle-image.gif) repeat-x top;">Text can go here.</td>
<td><img src="path-to-image/right-round-image.gif" alt="" border="0" height="20" width="20" /></td>
</tr>
</table>
Of course, you'd need to adjust height, width, padding, etc. to suit your needs.
pein87
02-19-2009, 11:50 PM
Thanks will try it out tonight making a custom skin for my site and I havent done to much with table layouts.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.