The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I round the table corners?

Go down

How do I round the table corners? Empty How do I round the table corners?

Post by Guest August 2nd 2011, 6:45 pm

Okay, I have a custom homepage, and I need to round my corners on my table (#homegrid)...

I got the OUTSIDE ones done.

Its like this:

---|---|---
---|---|---
---|---|---

But in the edge, (pic:) How do I round the table corners? Cap1s

I want those rounded, so it looks like Rounded corners on each "square".

I would like to do this with css.
avatar
Guest
Guest


Back to top Go down

How do I round the table corners? Empty Re: How do I round the table corners?

Post by coco moco August 2nd 2011, 7:45 pm

Code:
border-radius:XYpx;-moz-border-radius:XYpx;

XY=the amount of curve you would like.
coco moco
coco moco
Forumember

Posts : 118
Reputation : 50
Language : English

Back to top Go down

How do I round the table corners? Empty Re: How do I round the table corners?

Post by Guest August 2nd 2011, 9:10 pm

I meant INSIDE of them.
avatar
Guest
Guest


Back to top Go down

How do I round the table corners? Empty Re: How do I round the table corners?

Post by coco moco August 2nd 2011, 9:34 pm

Techykid3 wrote:I meant INSIDE of them.

The same thing applies:

For your table cells
Code:
<td class="curved">blahblahblah</td>

For your CSS
Code:
.curved{border-radius:XYpx;-moz-border-radius:XYpx;}

You can of course apply it to all table cells if you prefer.
coco moco
coco moco
Forumember

Posts : 118
Reputation : 50
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum