SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    żuʍop ǝpısdn ʎɥʍ velocd's Avatar
    Join Date
    Aug 2002
    Location
    California
    Posts
    449
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Mozilla/Netscape Compatible CSS Gradient Filter?

    The following filter, which works in CSS, is only compatible with IE, and is also fairly old.
    Code:
    filter: progid: DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#B0B1C8,EndColorStr=#FFFFFF)
    Does anyone know if a IE/Mozilla/Netscape version exists yet? (preferably not a filter). I recal something like this being proposed long ago, but I guess it never made through. Although just using a 1px image for gradient isn't very hard, this method is just more convienant, except that only IE has adapted. (as with most things concerning CSS & filters).

  2. #2
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think there is one. IE's method relies on ActiveX/DirectX, and since Moz is cross platform, they're reluctant to add things that only work on windows.

    Come to that, aren't *filters* IE-only?

  3. #3
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Mozilla has no gradient, and there's no cross-browser method of putting a gradient in your page other than using an image.

  4. #4
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bluefive...i think solace is well aware that the above is IE only...but is asking if there is any cross-browser, standard way of doing it yet.
    i seem to recall something in the CSS3 working draft about gradients (maybe in combination with SVG, not sure)...but can't seem to pinpoint it.
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  5. #5
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •