Results 1 to 2 of 2

Thread: css not working in firefox but works in IE

  1. #1
    Join Date
    Nov 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy css not working in firefox but works in IE

    Dear All

    Im having trouble with my CSS, working in IE but not in Firefox.
    Attached is a JPEG, the top one showing it in firefox and the bootom showing it in IE.

    Anyone have any ideas why this is not working in Firefox??
    Attached is html and the two background images, and example of how it looks in FF and IE. Its ok in IE!!!!!





    <html>
    <head>
    <title></title>
    <style type="text/css">
    <!--
    a {
    color: #000000;
    text-decoration: none;
    }
    a:hover {
    color: #000000;
    text-decoration: none;
    }
    a:link {
    color: #000099;
    text-decoration: none;
    }
    .pageprenxt {
    background-image: url("https://lpmtest.vpsland.com/dating/images/Pag_GreenLoz.jpg");
    background-repeat: no-repeat;
    display: in-line;
    height: 24px;
    width: 47px;
    padding: 5px 1px 1px 1px;
    font-weight: bolder;
    font-size: 70%;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    text-align: center;
    vertical-align: middle;
    }
    .pagenormal {
    background-image: url("https://lpmtest.vpsland.com/dating/images/Pag_NumberBackYell.jpg");
    background-repeat: no-repeat;
    display: in-line;
    height: 24px;
    width: 29px;
    padding: 5px 1px 1px 1px;
    font-weight: bolder;
    font-size: 70%;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    vertical-align: middle;
    }
    .pagemouse {
    background-color: #888888;
    padding: 0px 0px 0px 0px;
    font-weight: bolder;
    font-size: 70%;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    }
    .pageout {
    background-image: url("https://lpmtest.vpsland.com/dating/images/Pag_NumberBackGreen.jpg");
    background-repeat: no-repeat;
    display: in-line;
    height: 24px;
    width: 29px;
    padding: 5px 1px 1px 1px;
    font-weight: bolder;
    font-size: 70%;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    vertical-align: middle;
    }
    -->
    </style>
    </head>
    <body>
    <table width="600" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td height="30" width="10"></td>
    <td width="580" align="center">
    <span class="smalltext" valign="middle" align="center">
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=1" text="&lt;&lt;&nbsp;first">&lt;&lt;&nbsp;first</a></span>&nbsp;
    <span class="pageprenxt" align="center" height="24" width="47">
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=11">prev</a></span>
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=21">&nbsp;<span class=pagenormal valign=middle align=center height=24 width=29>&nbsp;1&nbsp;</span></a>
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=31">&nbsp;<span class=pagenormal valign=middle align=center height=24 width=29>&nbsp;2&nbsp;</span></a>
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=41">&nbsp;<span class=pagenormal valign=middle align=center height=24 width=29>&nbsp;3&nbsp;</span></a>
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=51">&nbsp;<span class=pagenormal valign=middle align=center height=24 width=29>&nbsp;4&nbsp;</span></a>
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=61">&nbsp;<span class=pagenormal valign=middle align=center height=24 width=29>&nbsp;5&nbsp;</span></a>
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=71">&nbsp;<span class=pagenormal valign=middle align=center height=24 width=29>&nbsp;6&nbsp;</span></a>
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=81">&nbsp;<span class=pagenormal valign=middle align=center height=24 width=29>&nbsp;7&nbsp;</span></a>
    &nbsp;<span class=pagenormal valign=middle align=center height=24 width=29>&nbsp;8&nbsp;</span>
    <span class="pageprenxt" align="center" height="24" width="47"></span>&nbsp;
    <span class="smalltext" valign="middle" align="center">
    <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=4991" text="last&nbsp;&gt;&gt;">last&nbsp;&gt;&gt;</a></span></td>
    <td width="10"></td>
    </tr>
    </table>
    </body>
    </html>

  2. #2
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Your HTML is not valid.

    Ensure your markup is valid using this tool:
    http://validator.w3.org/

    Tips on good (X)HTML to be found here.
    http://www.nypl.org/styleguide/xhtml/guidelines.html

    Once youre code is sound, then go about fixing your problem.

    Tim.

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
  •