Results 1 to 7 of 7

Thread: Graduated backgrounds using only CSS?

  1. #1
    Join Date
    Jun 2006
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Graduated backgrounds using only CSS?

    Hi there,

    Does anyone know whether it is possible to make graduated backgrounds (say in a div) using CSS alone? I thought I read somewhere that it was possible, but I've surfed the net and don't seem to be able to find any reference to it! Am I just dreaming?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I think so

    It's not possible without images insofar as I know.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Theoretically, you could generate an image using the PHP GD library, if it MUST be automated, but that won't save loading time or anything and adds a load to your server's processor.
    ...and it's likely more complex than you want.



    (You cold also try flash or java, etc. But not worth it, most likely.)
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    But it's still not purely CSS.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jun 2006
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ahh, it is just me then, getting carried away with the potential of CSS. Maybe one day!

  6. #6
    Join Date
    Jul 2006
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Take a look at this URL:

    http://www.w3schools.com/css/css_list.asp

    Notice that "LIST" is bold black showing where you are on the vert nav menu.
    As you click on the list of the vert menu, it stays bold black.

    This is the effect I would like to achieve on my site and it doesn't have to be "pure css". I just need that type effect.

    http://team-raptor.net/girard/myrapt...servo_tip.html

  7. #7
    Join Date
    Jun 2006
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Hi Girard,

    I am very much a CSS newbie, but I think what you want is something called breadcrumbs (a term used to describe hierarchical links that tell the visitor where he/she currently is on your site), have a look at the menu here on DD:

    http://www.dynamicdrive.com/style/cs...s-breadcrumbs/

    it might not be the answer, but it might give you some ideas.

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
  •