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

  • HiddenDev
    Reply to Hi!!
    HiddenDev
    Welcome Josh!

    You won't really see me posting much as I'm mostly here to learn.
    Never the less nice to "meet" you!
    Today, 07:49 AM
  • livingdead
    Help: Identify the font please.
    livingdead
    Hello.

    I was looking for a thread where people can keep on asking members to help identify fonts but couldn't find one.

    Anyway, please let me know if you recognize the attached...
    Today, 05:49 AM
  • PanToshi
    Reply to Hi!!
    PanToshi
    Hi Josh 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 anything...
    Today, 04:05 AM
  • FrontEndDev99
    Payment gateways
    FrontEndDev99
    I'm curious to hear about some experiences with common payment gateways....
    I had been using paypal, but I had a few customers file complaints 5 mins after they ordered, and paypal took the money...
    Today, 03:00 AM
  • FrontEndDev99
    Hi!!
    FrontEndDev99
    Hi!! I'm Josh! I'm new here, and look forward to meeting some peeps...
    Today, 02:56 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