473,386 Members | 1,654 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,386 software developers and data experts.

Rounded Corners

I am looking to create the effect shown in the image
(http://img291.imageshack.us/img291/4476/effectuc6.jpg) this is taken
from www.asp.net. I was wondering if there is a specific technique to
creating this rounded corner effect (e.g. a css class or server side
ASP.Net component) or is this as simple as creating a gradient image
with rounded corners and reusing throughout the site.

Many Thanks

Stuart


*** Sent via Developersdex http://www.developersdex.com ***
Mar 26 '07 #1
5 2437
the ASP.NET AJAX Toolkit has an add on to make the rounded corner - it is
done all client side (the server side generates the required html/js)
"Stuart Ferguson" <st**************@btinternet.comwrote in message
news:Ot**************@TK2MSFTNGP04.phx.gbl...
>I am looking to create the effect shown in the image
(http://img291.imageshack.us/img291/4476/effectuc6.jpg) this is taken
from www.asp.net. I was wondering if there is a specific technique to
creating this rounded corner effect (e.g. a css class or server side
ASP.Net component) or is this as simple as creating a gradient image
with rounded corners and reusing throughout the site.

Many Thanks

Stuart


*** Sent via Developersdex http://www.developersdex.com ***

Mar 26 '07 #2
"Evan Camilleri" <e7***@yahoo.co.uk.nospamwrote in message
news:OC**************@TK2MSFTNGP06.phx.gbl...
the ASP.NET AJAX Toolkit has an add on to make the rounded corner - it is
done all client side (the server side generates the required html/js)
Yes it does but, if you mean this:
http://ajax.asp.net/ajaxtoolkit/Roun...edCorners.aspx, then it
looks absolutely horrible - the corners are really jagged...
Mar 26 '07 #3
"Stuart Ferguson" <st**************@btinternet.comwrote in message
news:Ot**************@TK2MSFTNGP04.phx.gbl...
>I am looking to create the effect shown in the image
(http://img291.imageshack.us/img291/4476/effectuc6.jpg) this is taken
from www.asp.net. I was wondering if there is a specific technique to
creating this rounded corner effect (e.g. a css class or server side
ASP.Net component) or is this as simple as creating a gradient image
with rounded corners and reusing throughout the site.
There's a free ASP.NET control available here:
http://aspnet.4guysfromrolla.com/cod...dedCorners.zip which will do this.
Mar 26 '07 #4
Here I've covered the RoundedCorners extender of the AJAX Control Toolkit.
In the same article I've also covered the DropShadow extender, which can
also create rounded corners.
http://SteveOrr.net/articles/EnrichYourPanels.aspx

Just for chuckles, you might also want to read this article about making
square corners:
http://www.drivl.com/posts/view/700

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Stuart Ferguson" <st**************@btinternet.comwrote in message
news:Ot**************@TK2MSFTNGP04.phx.gbl...
>I am looking to create the effect shown in the image
(http://img291.imageshack.us/img291/4476/effectuc6.jpg) this is taken
from www.asp.net. I was wondering if there is a specific technique to
creating this rounded corner effect (e.g. a css class or server side
ASP.Net component) or is this as simple as creating a gradient image
with rounded corners and reusing throughout the site.

Many Thanks

Stuart


*** Sent via Developersdex http://www.developersdex.com ***
Mar 27 '07 #5
There are many "rounded corners" solutions, including several that do not use
images at all. These almost always use CSS. You can find excellent example
code by searching on (gasp!) -- "Rounded corners" CSS.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Stuart Ferguson" wrote:
I am looking to create the effect shown in the image
(http://img291.imageshack.us/img291/4476/effectuc6.jpg) this is taken
from www.asp.net. I was wondering if there is a specific technique to
creating this rounded corner effect (e.g. a css class or server side
ASP.Net component) or is this as simple as creating a gradient image
with rounded corners and reusing throughout the site.

Many Thanks

Stuart


*** Sent via Developersdex http://www.developersdex.com ***
Mar 28 '07 #6

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

Similar topics

7
by: Mel | last post by:
how can i have a rounded edge button in my forms using CSS ? thanks Mel
2
by: meltedown | last post by:
I noticed that the footer menu on the bottom with rounded corners only uses one image of a rounded corner:img/round15_bot.gif This one image seems to be used for all four corners, but that can't...
1
by: jimfortune | last post by:
The following Access VBA function creates a string that can be used in a pdf stream to draw or fill a rectangle of a given color with rounded corners: 'Begin code----------- Public Function...
2
by: Konrad | last post by:
Hi This is maybe simple question but how to render DataGrid and Tables with rounded corners? Thanks Konrad
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. ...
6
by: Schraalhans Keukenmeester | last post by:
I want to achieve the following: A small image in each of the corners of a box, like below: +-------------------------------+ | + | + | + | + | + | +
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...
1
by: kidelectric | last post by:
The issue I am having is that I would like to be able to drag-and-drop div elements that have rounded corners.* Since these elements will be dynamically created (including background color), I could...
4
by: PWS | last post by:
I am despertely trying get a DIV to look like a box with rounded corners. I can find load of examples this where the first line of text has the top graphic and the last line of text has the...
6
by: moondaddy | last post by:
I need to be able to make polygons with rounded corners. This will be to draw group outlines around shapes in a diagramming tool in wpf. all angles in the polygon will be 90 degrees, but somehow...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.