My CSS is not appearing in Firefox or Opera, but is ok in IE7

Discussion in 'HTML & Website Design' started by Dav7, Nov 11, 2008.

  1. #1

    I am googling and reading a lot of tutorials to try to understand the problem with my website.

    I just uploaded to server, after editing it with dreamweaver, but now the background images from my stylesheet are not appearing!

    I have a stylesheet for all y html pages and am using this tag:

    <link rel="stylesheet" type="text/css" href="styles.css">

    but is not working :(

     
    Dav7, Nov 11, 2008 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Give us a link to the page.

    cheers,

    gary
     
    kk5st, Nov 11, 2008 IP
  3. Mark.C

    Mark.C Guest

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes a link would indeed help us. but also make sure that your style sheet is in the same directory as your index and other files. if you have it someplace else or in its own folder, then href="styles.css"> needs to be changed to the correct path, such as href="cssfolder/styles.css">
     
    Mark.C, Nov 11, 2008 IP
  4. Dav7

    Dav7 Active Member

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #4
    I didn't put the link before because I don't whant to go against the rules

    the link is http://earneasymoney.no.sapo.pt

    I really need help :(
     
    Dav7, Nov 11, 2008 IP
  5. Doc Croc

    Doc Croc Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hey Dav7,

    I think I've spotted the problem. You've got the following in your css:

    a:hover {
    blockquote {
    	margin-top: 0px;
    	margin-bottom: 0px;
    	color: #333333;/*themecolour3%0;*/
    	margin-right: 0px;
    }
    Code (markup):
    You need to close the a:hover element ;) Hope it helps!
     
    Doc Croc, Nov 11, 2008 IP
  6. Dav7

    Dav7 Active Member

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #6
    Doc MARRY ME!!!!


    Doc MARRY ME!!!!

    Now its working :D

    thanks!
     
    Dav7, Nov 12, 2008 IP
  7. dotmd

    dotmd Peon

    Messages:
    41
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Laughing Out Loud :D
     
    dotmd, Nov 13, 2008 IP
  8. blackrosezy

    blackrosezy Banned

    Messages:
    116
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #8
    hahaha LOL :D
     
    blackrosezy, Nov 13, 2008 IP