![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
Senior Coder ![]() Join Date: Apr 2003
Location: in my house
Posts: 4,857
Thanks: 37
Thanked 167 Times in 163 Posts
![]() ![]() |
rounded background for class elements?
Hi,
I hope this is the right forum. What I would like to know is if I must use an image for the following, or if css can do it. When I assign a class to my hyperlinks so that the background is coloured; say #888888, it shows itself as a rectangle with square corners. Can I round off the corners using css or must i use an image as the background for the class element. |
|
|
|
|
|
PM User | #2 |
|
Senior Coder ![]() Join Date: Mar 2003
Location: OHIO
Posts: 1,436
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
It would be nice if that could be done but at this point an image would be it I believe.
MNS
__________________
"If you want to be "in the biz" you are going to have to roll with the changes or get out, basically." ::M:N:S:: |
|
|
|
|
|
PM User | #3 |
|
Senior Coder ![]() ![]() Join Date: Jun 2002
Location: near Oswestry
Posts: 4,509
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Mozilla can do it - http://www.codingforums.com/showthre...326#post123565
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark |
|
|
|
|
|
PM User | #5 | |
|
Senior Coder ![]() Join Date: Apr 2003
Location: in my house
Posts: 4,857
Thanks: 37
Thanked 167 Times in 163 Posts
![]() ![]() |
Re: Eeewwww...
Quote:
Oh well. I just thought that if you saw my site, youd swear I had only a virtual ruler and pencil. Its all square looking. tidy but square ![]() bazz |
|
|
|
|
|
|
PM User | #6 | |
|
Senior Coder ![]() ![]() Join Date: Jun 2002
Location: near Oswestry
Posts: 4,509
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Re: Eeewwww...
Quote:
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark |
|
|
|
|
|
|
PM User | #7 |
|
Senior Coder ![]() Join Date: Jun 2002
Location: The Netherlands, Baarn, Ut.
Posts: 4,254
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Seriously now
Okay, all kidding aside: is there any chance the Moz proprietary props find there way into some or 'other CSS standard - sorry, Recommendation?
|
|
|
|
|
|
PM User | #8 |
|
Senior Coder ![]() ![]() Join Date: Jun 2002
Location: near Oswestry
Posts: 4,509
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
It is - "border-radius" is part of CSS3 - http://www.w3.org/TR/2002/WD-css3-bo...-border-radius
But since it's still a working draft it may change before it becomes a recommendation. Hence the "-moz-" prefix - if the recommendation is different mozilla can still implement it without breaking their current one
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark Last edited by brothercake; 08-08-2003 at 09:31 AM.. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|