| | |
Page displays in IE but not in FireFox
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2009
Posts: 24
Reputation:
Solved Threads: 0
Hello,
I've had no problems getting the following page to display in IE but FireFox will only display a background image with no allignment, it's just thrown to the side and seems to follow the dimension specs for .bgtablealign. If I change the extension from .html to .php the page displays fine but the background image is missing!
I can't imagine what the difference is between firefox and IE here unless FireFox does not accept the way i've used the .bgtalbealign to select a background image. Perhaps it doesn't play well with .container1 or .absolutebackground that it is running in tandem with.
Any compatibility gurus out there that can shed some light on this?
I've had no problems getting the following page to display in IE but FireFox will only display a background image with no allignment, it's just thrown to the side and seems to follow the dimension specs for .bgtablealign. If I change the extension from .html to .php the page displays fine but the background image is missing!
I can't imagine what the difference is between firefox and IE here unless FireFox does not accept the way i've used the .bgtalbealign to select a background image. Perhaps it doesn't play well with .container1 or .absolutebackground that it is running in tandem with.
Any compatibility gurus out there that can shed some light on this?
HTML and CSS Syntax (Toggle Plain Text)
<div class="container1"> <body class="absolutebackground"> <table class="bgtablealign"> <tr> <td> <div class="container2"> <table class="bgtablealignCenter"> <tr> <td height="44" valign="top"> <div class="darkheading">DoomBlog</div> </td> </tr>
HTML and CSS Syntax (Toggle Plain Text)
.container1 { position: relative; margin-left: auto; margin-right: auto; width: 1000px; text-align: center; overflow: auto; } .container2 { position: relative; margin-left: auto; margin-right: auto; width: 800px; text-align: center; } .absolutebackground { background-color: #000; } .bgtablealign { background-image: url(file:///C|/Users/xxx/Documents/WebStuff/stripe_384854a7dd3238d4a9aa8145342c5e36.png); background-repeat: repeat; height: 1500px; width: 1000px; text-align:center; border: 20px solid #666; } .bgtablealignCenter { height: 1300px; width: 800px; background-color: #666; margin-left:auto; margin-right:auto; text-align:left; border: thick dashed #C90; } .darkheading { font-family: "MS Serif", "New York", serif; font-size: 36px; font-weight: bolder; color: #F90; background-color: #000; }
•
•
Join Date: Jul 2009
Posts: 12
Reputation:
Solved Threads: 0
You .bgtablealign might be the issue, try:
HTML and CSS Syntax (Toggle Plain Text)
background-image: url('c:/Users/xxx/Documents/WebStuff/stripe_384854a7dd3238d4a9aa8145342c5e36.png');
The other thing is that you would need to use some more styling for FF and Chrome etc.
Maybe try and include
Maybe try and include
HTML and CSS Syntax (Toggle Plain Text)
.sample { text-align: -moz-center; //alignment for FireFox text-align: -khtml-center; //alignment for Chrome }
![]() |
Similar Threads
- Firefox and IE will not run (Viruses, Spyware and other Nasties)
- tableless css based page displays ok in IE7 not in IE6 (HTML and CSS)
- Same JSP is populated in IE7 but not in Firefox (JSP)
- Firefox Compatibility help with script (JavaScript / DHTML / AJAX)
- Iframe / firefox issue (JavaScript / DHTML / AJAX)
- Control Panel and Firefox. (DaniWeb Community Feedback)
- I think I'm going to cry... (JSP)
- Optimizing download speed of our portal page (PHP)
- Firefox - address bar icon - how to make one? (Site Layout and Usability)
Other Threads in the HTML and CSS Forum
- Previous Thread: Help Indicator
- Next Thread: Div Scroll Bug in IE - How to overcome?
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form google griefers hackers hitcounter hover html ie7 ie8 iframe image images internet intranet iphone javascript jpeg layout macbook maps mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning scroll seo shopping swf swf. textcolor timecolor titletags url urlseparatedwords visualization web webdevelopment webform website windows7





