A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Who knows CSS here? Very simple question here........

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Posts
    518

    resolved

    How do you make a table cell's background color a gradient? I think you need CSS for this, right?

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Posts
    475
    You can use the MSIE proprietary "filter:" directive to achieve this effect. This is NOT in the standard of CSS, only MSIE can display it...

    http://www.solardreamstudios.com/tut...ss/trans.shtml

    http://lists.evolt.org/archive/Week-...16/037455.html

    hth
    Yours
    HTD

  3. #3
    Senior Member
    Join Date
    Oct 2000
    Posts
    518

    resolved

    Is there a standard way to do this, so that IE and Netscape can see the gradient?

    See here: http://forums.ikonboard.com/

    I know I can view the source code, but I don't understand CSS code.

  4. #4
    Senior Member
    Join Date
    Feb 2001
    Posts
    475
    use images of course like they do:

    td {
    background-image: url(http://www.ikonboard.com/forums/iB_html/non-cgi/Skin/Default/images/topcell.jpg);
    }

    BTW their code is invalid because they use ids instead of classes - ids are only allowed to appear once in a document - hence the name id. so don't copy from them

    if you use my example snippet above your design should have their gradient within every table data cell.

    to learn more about CSS:
    http://www.w3schools.com/css/css_reference.asp

    hth
    Yours
    HTD

  5. #5
    Senior Member
    Join Date
    Oct 2000
    Posts
    518

    resolved

    So they use images! I thought it's related to CSS. Thanks anyway, HTD!

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center