Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Too Early to Use CSS3 Image Borders?

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #31155
    Margadesign
    Member

    Hi!
    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?

    http://www.css3.info/preview/border-image/

    Many Thanks and Kind Regards

    Charles

    #67557
    aaronsilber
    Participant

    You can, however, accomplish this with some JavaScript and good-old absolute positioning.
    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….



    #67492
    TT_Mark
    Member

    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

    For all others either use a JavaScript alternative, or simply use a basic border

    #67480
    Margadesign
    Member

    Hey Guys
    Found Java script to support css 3 IE 6 and 8
    http://selectivizr.com/

    #67447
    Roxon
    Member

    That website only makes IE support CSS3 selectors.

    #67441
    Margadesign
    Member

    This script helps to supports CSS3 in IE 6 to 8

    http://css3pie.com/

    border-radius
    box-shadow
    border-image
    multiple background images
    linear-gradient background images

    #67350
    ScottF
    Member

    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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.