Dragosvr92 Posted October 21, 2010 Share Posted October 21, 2010 Hello i would like to make some buttons that would look like the form bellow : _________ / / /________/ Dos anyone how may i do that ? Quote Link to comment Share on other sites More sharing options...
trq Posted October 21, 2010 Share Posted October 21, 2010 If you use an <input> type instead you can easily make it act the same and it could be an image type. Quote Link to comment Share on other sites More sharing options...
Dragosvr92 Posted October 21, 2010 Author Share Posted October 21, 2010 no... i dont want to make them as images ... yet i thought theres some New CSS3 Code like the one bellow that makes rounded borders: button { background-color: #454342; border-color:#202020; color:White; -moz-border-radius: 20px 1px; } Quote Link to comment Share on other sites More sharing options...
twilitegxa Posted October 22, 2010 Share Posted October 22, 2010 I did find some CSS that makes rounded borders, but they do not show up in FireFox. Tested fine in Safari, though. This is how I made a rounded rectangle for the background of a div tag: #info { color: #ffffff; background: #0086bf; width: 250px; text-align: center; font-size: 26px; border-top-left-radius:30px 30px; border-top-right-radius: 30px 30px; border-bottom-left-radius: 30px 30px; border-bottom-right-radius: 30px 30px; top: -150px; position: relative; } Might help you. Here is the link as well: http://www.css3.info/preview/rounded-border/ Quote Link to comment Share on other sites More sharing options...
Dragosvr92 Posted October 22, 2010 Author Share Posted October 22, 2010 thanks twilitegxa but i dont want rounded corners .. i know how to do them i just posted that as and example .. i want the rounded things removed and look like my button made by slashes etc Quote Link to comment Share on other sites More sharing options...
Dragosvr92 Posted October 24, 2010 Author Share Posted October 24, 2010 is there no way to create a Parallelogram by using CSS With no images??? Quote Link to comment Share on other sites More sharing options...
haku Posted October 25, 2010 Share Posted October 25, 2010 <input type="submit" value=" ___ /___/" style="background:none;border:none"/> (Make sure you have the line break, it won't work otherwise) Quote Link to comment Share on other sites More sharing options...
Dragosvr92 Posted October 26, 2010 Author Share Posted October 26, 2010 lol haku thank you but thats not what i want..... i want the button to be a read button........ just with in that Paralelogram form....... normal button in Paralelogram form Quote Link to comment Share on other sites More sharing options...
haku Posted October 26, 2010 Share Posted October 26, 2010 Can't be done with CSS only. You will need to use an image. Quote Link to comment Share on other sites More sharing options...
Dragosvr92 Posted October 26, 2010 Author Share Posted October 26, 2010 Can't be done with CSS only. You will need to use an image. ah damn i thought it would have been possible with a some new feature in CSS3 like that border-radius etc Thanks for your support Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.