View Full Version : round corners on blocks ?
Morwyn
06-25-2005, 10:14 AM
Hello,
I was wondering how I could get round corners on the blocks for www.cms-gratuit.com.
I think I could use a pic for left corner, one for the top, one for the right corner of the block and same at the bottom, but where should I include the code and what does it look like ? Table ?
Thanks for your time.
you have to edit your "adv_portal_module_shell" template so that all your modules or at least most of them will have round corners. Here is a quick example of what the code could look like (very basic structure).
<table border="0" cellspacing="0" width="300" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0">
<tr>
<td width="17">
<img border="0" src="top_left_corner.gif" width="15" height="15"></td>
<td width="265"> </td>
<td width="18">
<img border="0" src="top_right_corner.gif" width="15" height="15"></td>
</tr>
<tr>
<td width="300" colspan="3"> </td>
</tr>
<tr>
<td width="17">
<img border="0" src="bottom_left_corner.gif" width="15" height="15"></td>
<td width="265"> </td>
<td width="18">
<img border="0" src="buttom_right_corner.gif" width="15" height="15"></td>
</tr>
</table>
hope this helps.
Morwyn
06-25-2005, 05:40 PM
All right, I'll see what I can do with that. Thanks a lot for your answer Sean, it is much appreciated.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.