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

Button with rounded corners

Hi,

Suppose having a button or a submit button. Using the normal syntax,
being,
<input type="button" name="button1" value="value1" class="button">
<input type="submit" name="submit1" value="value2" class="submit">
is it possible to define the css classes in such a way that the buttons
look flat (no 3-D), with a 1pixel border and have rounded corners? This
only has to work in IE6, for Windows 2000 and Windows XP.

Any ideas?

Veerle

Jun 9 '06 #1
3 24309
Veerle wrote:
Suppose having a button or a submit button. Using the normal syntax,
being,
<input type="button" name="button1" value="value1" class="button">
<input type="submit" name="submit1" value="value2" class="submit">
is it possible to define the css classes in such a way that the buttons
look flat (no 3-D), with a 1pixel border and have rounded corners? This
only has to work in IE6, for Windows 2000 and Windows XP.


I don't think, you can. Don't you think your closed Win XP user group is
used to the XP look of a button?
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Jun 9 '06 #2
Johannes Koch schreef:
I don't think, you can. Don't you think your closed Win XP user group is
used to the XP look of a button?


The users all have Windows 2000, so they are used to the classic
buttons. But for our application, we got screenshots and we have to
implement them as similar as possible. So if it's not possible to get
this done using just CCS, we will have to use image buttons and try to
do it like that. The greatest down side of this approach is that we
have to create an image for every button caption... That's why I don't
like it.

Jun 11 '06 #3
"Veerle" <ve*********@hotmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
Johannes Koch schreef:
I don't think, you can. Don't you think your closed Win XP user group is
used to the XP look of a button?


The users all have Windows 2000, so they are used to the classic
buttons. But for our application, we got screenshots and we have to
implement them as similar as possible. So if it's not possible to get
this done using just CCS, we will have to use image buttons and try to
do it like that. The greatest down side of this approach is that we
have to create an image for every button caption... That's why I don't
like it.


Try something like...

<button style="border: none">
<div style="width: 150px; height: 500px; line-height: 500px; color: white;
background: url('http://www.w3.org/StyleSheets/TR/logo-REC')">
click
</div>
</button>

This solution is not edorsed by W3C, they just had a handy image ;-)

Martin
Jun 13 '06 #4

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
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: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.