Announcement

Collapse
No announcement yet.

Sliding background not happening in FF?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sliding background not happening in FF?

    HI!

    I'm just playing around with the sliding doors hover effect and it works fine in IE but not in FF or Safari???

    I can't work out what they dont like about it??

    Here is the code I wrote. bit messy because I was only testing the idea out but should make sense.
    PHP Code:
    <head>
    <
    title>Hover test</title>
    <
    style type="text/css">
    body {
    background:#000000;
    }
    #main:hover {
    background-positionright;
    }
    img {
    border:none;
    }
    #main {
    background:#000000 url(bg.png) left top no-repeat;
    width:325px;
    height:800px;
    }

    </
    style>

    </
    head>

    <
    body>
    <
    div id="main"><a href="#"><img src="photo.png" /></a>
    </
    div>

    </
    body>
    </
    html
    Thanks.

Search

Collapse

Advertisement

Collapse

Latest Topics

Collapse

  • KitchWitch
    Reply to Photoshop on disc
    KitchWitch
    Hi Jamiedot and welcome to GDF.

    We ask all new members to read very important links here and here. These explain the rules, how the forum runs and a few inside jokes. No, you haven't done...
    Today, 08:06 AM
  • KitchWitch
    Comment on Colorslide Design
    KitchWitch
    Green is complementary to red.
    Today, 08:03 AM
  • JofDiamonds
    Reply to Affinity Designer & Affinity Photo
    JofDiamonds
    I've been using Designer seriously for several months. Its main appeal is that it is FAST, being tested for performance on an iPad rather than a desktop computer. Unfortunately, it is missing a number...
    Today, 07:50 AM
  • jamiedot
    Photoshop on disc
    jamiedot
    After (for me) a tortuous effort, I managed to purchase and download a copy of Photoshop CS6, from Adobe. Because this program was from a download and not from a disc, I need some advice.
    Previously...
    Today, 06:24 AM
  • Philol
    Reply to Colorslide Design
    Philol
    For the beginning i try to use complentary colors. (Dont know if its the best)
    I will use the Material colors from google. (http://www.google.com/design/spec/st...r-color-palett...
    Today, 02:36 AM

GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
Working...
X