Solved

Rounder corners

Posted on 2012-04-04
3
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

623 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