Solved

Rounder corners

Posted on 2012-04-04
3
232 Views
Last Modified: 2012-04-04
Is there some way to round the corners of an HTML table or somehow create the effect with a differant control?
0
Comment
Question by:thenrich
3 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 100 total points
ID: 37809269
0
 
LVL 4

Accepted Solution

by:
TechHelpr08210 earned 400 total points
ID: 37809279
Here is the css for rounded corners.

I hope this helps!

 

<style>
	.rnd_table {
		width:49%; 				
		height:49%;			
		
		background-color:#999;
		border:1px solid #F00;
		overflow:hidden;
		-moz-border-radius: 27px;
		-webkit-border-radius: 27px;
		border-radius: 27px;
	
		/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
	}
</style>

<table class="rnd_table" width="400" border="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>

 

Open in new window

0
 
LVL 3

Expert Comment

by:gnemi
ID: 37809297
http://www.css3.info/preview/rounded-border/

This article talks about a hack that makes the rounded corners work in IE and opera.

http://jonraasch.com/blog/css-rounded-corners-in-all-browsers
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question