Solved

Rounder corners

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

808 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