Solved

Rounder corners

Posted on 2012-04-04
3
230 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

832 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