By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,572 Members | 1,516 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,572 IT Pros & Developers. It's quick & easy.

tablelayout control with rounded corners

P: 25
Hello All,

I have tablelayoutpanel to which I want to give rounded corners.
Also how can we make labels with rounded corners.
Aug 28 '12 #1
Share this Question
Share on Google+
5 Replies


ariful alam
100+
P: 185
you have to use CSS Level-3 border-radius in your css settings for the table.

for mozilla
Expand|Select|Wrap|Line Numbers
  1. -moz-border-radius: <your radius value to round>
for chrome/safari
Expand|Select|Wrap|Line Numbers
  1. -webkit-border-radius: <your radius value to round>
for opera
Expand|Select|Wrap|Line Numbers
  1. -o-border-radius: <your radius value to round>
for new ms ie
Expand|Select|Wrap|Line Numbers
  1. -ms-border-radius: <your radius value to round>
for future proofing
Expand|Select|Wrap|Line Numbers
  1. border-radius: <your radius value to round>
for old Konqueror browsers
Expand|Select|Wrap|Line Numbers
  1. -khtml-border-radius: <your radius value to round>
here are some examples
http://www.css3.info/preview/rounded-border/

http://css-tricks.com/snippets/css/rounded-corners/

http://www.cssportal.com/css3-rounded-corner/

hope help. :)
Aug 28 '12 #2

P: 25
Hi ariful,

I want the solution for Windows application.
Aug 28 '12 #3

PsychoCoder
Expert Mod 100+
P: 465
I want a lot of things, we're not here to write your code for you. Sorry to sound crass but you cannot just place an order for code and expect someone to deliver it.
Aug 28 '12 #4

P: 25
Hello PsychoCoder,

I dont need the entire code. I just some guideline on how it can be done.
Aug 29 '12 #5

PsychoCoder
Expert Mod 100+
P: 465
The only way this can happen is to create your own control which inherits from the TableLayoutPanel
Aug 29 '12 #6

Post your reply

Sign in to post your reply or Sign up for a free account.