473,378 Members | 1,280 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Rounded Borders

Just a quick question regarding styles in ASP.Net apps (or any apps for that
matter). Is there a way, without using images, to get borders to be rounded
for an HTML element? Sorta like the borders of a Windows application that
is running on a default install of Windows XP?
Thanks in advance...

Mythran

Nov 19 '05 #1
4 1837
You can try to make use of the css3 border-radius property

http://www.w3.org/TR/2005/WD-css3-background-20050216/

Pretty sure you'll have to wait for IE7 though, presently its only supported
in Mozilla if I recall correctly.

Althoug this is apparently cross browser.

http://www.albin.net/CSS/RoundedCorners/
--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Mythran" <ki********@hotmail.comREMOVETRAIL> wrote in message
news:OY**************@TK2MSFTNGP12.phx.gbl...
Just a quick question regarding styles in ASP.Net apps (or any apps for
that matter). Is there a way, without using images, to get borders to be
rounded for an HTML element? Sorta like the borders of a Windows
application that is running on a default install of Windows XP?
Thanks in advance...

Mythran

Nov 19 '05 #2
In gecko yes..not in ie...

you can use -moz-border-radius and

css3 defines border-radius i believe..hopefully IE 7 will support it...

karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Mythran" <ki********@hotmail.comREMOVETRAIL> wrote in message
news:OY**************@TK2MSFTNGP12.phx.gbl...
Just a quick question regarding styles in ASP.Net apps (or any apps for
that matter). Is there a way, without using images, to get borders to be
rounded for an HTML element? Sorta like the borders of a Windows
application that is running on a default install of Windows XP?
Thanks in advance...

Mythran

Nov 19 '05 #3
http://aspnet.4guysfromrolla.com/articles/072804-1.aspx

Eliyahu

"Mythran" <ki********@hotmail.comREMOVETRAIL> wrote in message
news:OY**************@TK2MSFTNGP12.phx.gbl...
Just a quick question regarding styles in ASP.Net apps (or any apps for that matter). Is there a way, without using images, to get borders to be rounded for an HTML element? Sorta like the borders of a Windows application that
is running on a default install of Windows XP?
Thanks in advance...

Mythran

Nov 19 '05 #4
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl...
http://aspnet.4guysfromrolla.com/articles/072804-1.aspx


Yep, that's the one I use...
http://www.markrae.co.uk

Dead easy to use - works perfectly.
Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jeff Johnson | last post by:
Hi Everyone, I'm looking for information on how to create a chromeless window with rounded borders. The window will present a question to the user and they can respond by clicking a 'yes' or...
7
by: laredotornado | last post by:
Hello, Is there a cross-browser way using CSS to make a table's borders rounded? I understand we can make some graphics but we were hoping to use a route that doesn't involve graphics. Thanks,...
2
by: Konrad | last post by:
Hi This is maybe simple question but how to render DataGrid and Tables with rounded corners? Thanks Konrad
2
by: Dino Buljubasic | last post by:
Hi, I have several panels that holds bunch of controls with information on my forms. My form has background image property set to an image that has borders defining where my panel comes and...
1
by: Carlo, MCP | last post by:
Hello I'm having lot of problems in writing a method that returns a Path for a rounded corners rectangle for drawing a non-rectangular border. The resulting path is ok for using with FillPath...
5
by: phil-news-nospam | last post by:
Hey, look, Ma! No tables! Here is my attempt at making rounded corners. It uses a bunch of element layers to merge 4 background images. But, it seems to work. Now if there was just a way to...
1
by: Stephen Takacs | last post by:
I've been reading lots of rounded corners table tutorials lately, because I'm a Perl guru, not an HTML guru. :-) So far all of the examples I've seen have edges with narrow angles, which fit...
8
by: TheCornjerker | last post by:
I've been looking into what method I should use to show rounded corners (and I've found a lot). My question is why does Google seems to mostly use the table method with an image in each corner. ...
5
by: Cindy Lee | last post by:
Is there anyway to put rounded corners on the grid views? When I bring it up in the brower I need to have rounded corners. There are some tricks I can do to regular html tables, but is there any...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.