- This topic is empty.
January 4, 2011 at 5:05 pm #31155
Happy New Year!
would someone let me know please is it to early to use css 3 image border property or there
another way I can do it in CSS 2?
Many Thanks and Kind Regards
CharlesJanuary 4, 2011 at 7:23 pm #67557aaronsilberParticipant
Any elements you would want to have a border you’d need to add a class, like “.sqaureborder”, to. Use jQuery to find those classes, and append this set of divs;
topleft, topcenter, topright, leftcenter, rightcenter, bottomleft, bottomcenter, bottomright
You would then position these divs absolutely, giving them specific dimensions and background images. So yeah, its possible without CSS3, but a pain. I made a script like this some time ago….
January 5, 2011 at 5:22 am #67492TT_MarkMember
Use it for browsers that do support CSS3. Never hold back on using the latest web technologies othersise people will never see the need to upgrade their browser to something good
That website only makes IE support CSS3 selectors.January 5, 2011 at 10:58 am #67441
This script helps to supports CSS3 in IE 6 to 8
multiple background images
linear-gradient background imagesJanuary 5, 2011 at 11:56 am #67350ScottFMember
There is NO reason you cannot use CSS3 selectors right now. Sure not all browsers will see the same thing but isn’t that what graceful degradation is all about? As long as you are aware how the site will look in each browser (CSS3 friendly and unfriendly) and you prepare the site visually for that…by all means make use of that wonderful CSS3.
- The forum ‘CSS’ is closed to new topics and replies.