Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Nov 2006
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A:hover background position

    How can i create a rule that when mouse hovers over part of picture, where not all is displayed just a sectionof that images, the piece hidden is displayed. say a button, top part of image is button one colour bottom another colour then when mouse hovers we see button as a diffrent colour.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello AJW06,
    Are you wanting to make a menu like this:
    example one
    example two
    example three

    Or are you talking about hotspots on an image, like an imagemap?
    See http://www.cssplay.co.uk/menu/old_master.html
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    Regular Coder
    Join Date
    Nov 2006
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It was hard to explain but Example One.

  • #4
    Regular Coder
    Join Date
    Nov 2006
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS Rollover

    How do i create a CSS Roleover?

  • #5
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Look at the code in that example one.

    Shows exactly how to do it.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #6
    Regular Coder
    Join Date
    Nov 2006
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts
    does anyone have any tutorials for cssrollovers can't find a quick click one on google

  • #7
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,676
    Thanks
    6
    Thanked 1,008 Times in 981 Posts
    http://wellstyled.com/css-nopreload-rollovers.html

    I, however, prefer to have the images above each other, not next to each other because you would save some CSS then (equal height but different width).


  •  

    Posting Permissions

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