SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Thread: CSS Dropshadow?

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    May 2001
    Location
    A Home
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyone happen to know the string to put droshadowing into a style sheet to achieve the effect, aka somewhat like www.avault.com, I've seen scripts that mimic it, but have yet to figure out the way to add it as a class.

  2. #2
    SitePoint Guru sowen's Avatar
    Join Date
    Feb 2001
    Location
    Stockport, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    FILTER: DropShadow(OffX=2, OffY=3, color:#000000)

    Easy way to find out css attributes is (in IE)

    1. Open the page that has the effect you like.

    2. Goto file Save As and choose save type 'Web Page Complete' save into a directory of your choose. This save the html file you specified and creates a subdirectory (with the same name as the html file) into which all the relevant files are saved.

    3. Open the html file in a text editor and find the bit of the page you are interested in and find out what class is being applied to the html tag.

    4. Open the css file stored in the sub-directory.

    easy-peasy

  3. #3
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Webmonkey does CSS filtering up in style.

    http://hotwired.lycos.com/webmonkey/...l?tw=authoring
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  4. #4
    SitePoint Addict
    Join Date
    Jan 2001
    Location
    Ottawa ON
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When I run pages with MSs dropshadow command through the W3C validator it throws up an error. What can I do about that?

  5. #5
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Milton Keynes, UK
    Posts
    1,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When I run pages with MSs dropshadow command through the W3C validator it throws up an error. What can I do about that?
    Not a lot. The Filter attribute isn't standard css so you can either use Filter and accept that your css won't be valid css (standard) or remove the Filter attribute.

    Checking on the MS site the attribute is a proposed attribute so it may be added to the css standard in future. If and when that may happen is anyones guess though.

    http://www.msdn.microsoft.com/worksh...ies/filter.asp

  6. #6
    SitePoint Addict
    Join Date
    Jan 2001
    Location
    Ottawa ON
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why is CSS designed so that when a browser encounters a style property it doesn't recognize it disregards the entireset of style properties? Internet Explorer's system of interpreting all styles that it understands up until the one that it doesn't seems to be a better workaround.

    Imagine what HTML would be like if browsers threw up an error message every time they encountered a tag that they didn't understand - it would be chaos.

  7. #7
    Victory shall be mine tubedogg's Avatar
    Join Date
    Mar 2001
    Location
    Medina, OH
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by prowsej
    Imagine what HTML would be like if browsers threw up an error message every time they encountered a tag that they didn't understand - it would be chaos.
    Netscape 4.x does - not an error message but it just stops rendering the page if you leave a tag open or something.
    Kevin


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
  •