This is a discussion on "css not working in firefox" within the Web Page Design section. This forum, and the thread "css not working in firefox are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
css not working in firefox
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Dear All
Attached is a JPEG showing the example displayed in IE and FF. See hwo the firefox one does not redraw properly! 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?? Its sending me mad haha IN IE the background graphics display ok (fully) but in firefox the background graphics only display partially!! I see the top left of each graphics. When the next number (digit) increases to a three digit number, i do however get to see more of the background graphic. Why is this happening in FF only? Heres is the css css part: .pageprenxt { background-image: url("/dating/images/Pag_GreenLoz.jpg"); background-repeat: no-repeat; 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("/dating/images/Pag_NumberBackYell.jpg"); background-repeat: no-repeat; 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("/dating/images/Pag_NumberBackGreen.jpg"); background-repeat: no-repeat; 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; } Best regards Neil |
|
|
|
|||
|
Re: css not working in firefox
display: block shows the whole graphic but...
the graphics are on top of each other, in a vertical column! Neil |
|
|||
|
Here is the code, I still cannot get this working.
' <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="<< first"><< first</a></span> <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"> <span class=pagenormal valign=middle align=center height=24 width=29> 1 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=31"> <span class=pagenormal valign=middle align=center height=24 width=29> 2 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=41"> <span class=pagenormal valign=middle align=center height=24 width=29> 3 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=51"> <span class=pagenormal valign=middle align=center height=24 width=29> 4 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=61"> <span class=pagenormal valign=middle align=center height=24 width=29> 5 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=71"> <span class=pagenormal valign=middle align=center height=24 width=29> 6 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=81"> <span class=pagenormal valign=middle align=center height=24 width=29> 7 </span></a> <span class=pagenormal valign=middle align=center height=24 width=29> 8 </span> <span class="pageprenxt" align="center" height="24" width="47"></span> <span class="smalltext" valign="middle" align="center"> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=4991" text="last >>">last >></a></span></td> <td width="10"></td> </tr> </table> </body> </html>' Kindest regards Neil |
|
|||
|
Re: css not working in firefox
Cant remember if i replied to you or not, but here is the code
<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="<< first"><< first</a></span> <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"> <span class=pagenormal valign=middle align=center height=24 width=29> 1 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=31"> <span class=pagenormal valign=middle align=center height=24 width=29> 2 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=41"> <span class=pagenormal valign=middle align=center height=24 width=29> 3 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=51"> <span class=pagenormal valign=middle align=center height=24 width=29> 4 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=61"> <span class=pagenormal valign=middle align=center height=24 width=29> 5 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=71"> <span class=pagenormal valign=middle align=center height=24 width=29> 6 </span></a> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=81"> <span class=pagenormal valign=middle align=center height=24 width=29> 7 </span></a> <span class=pagenormal valign=middle align=center height=24 width=29> 8 </span> <span class="pageprenxt" align="center" height="24" width="47"></span> <span class="smalltext" valign="middle" align="center"> <a href="https://lpmtest.vpsland.com/dating/statistic/list_profile.php?next=4991" text="last >>">last >></a></span></td> <td width="10"></td> </tr> </table> </body> </html> |
|
||||
|
Re: css not working in firefox
wrap the code in [code] tags will make it easier to read and find the problem.
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
|||
|
Re: css not working in firefox
sorry i not used forums before, how do i do that?
|
|
||||
|
Re: css not working in firefox
ill pm you the information
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
|||
|
I now have it working. I have it working in FF and IE and safari on the Mac, However because im using Float:left in my style (to stop the graphics becoming vertically aligned, as mentioned before) i have the whole thing now left on my screen as shown.
If i try to apply an alignment of centre in the styles or a TD align of centre it does not work. Nothing happens. If i add a width to the td, then the safari version drops onto two lines, splitting it right after the number 4. Any idea how to get this centred? Neil JPEG attached! |
![]() |
| Tags |
| css, firefox |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing image not working in Firefox | PoetAlley | JavaScript Forum | 5 | Sep 27th, 2007 14:12 |
| Some javascript not working in Firefox | jonnymorris | Web Page Design | 4 | Sep 18th, 2007 14:02 |
| Some javascript not working in Firefox | jonnymorris | JavaScript Forum | 4 | Sep 18th, 2007 10:47 |
| javascript working fine in IE but cannot work in Firefox | web20tester | JavaScript Forum | 0 | May 21st, 2007 17:37 |
| Code not working on firefox | acidblue0 | Web Page Design | 3 | Jan 2nd, 2006 20:14 |