![]() |
HTML not displaying in Firefox?
I have a community website using VB 3.7.3. I also use Logician's Webtemplates and the latest version of vBA CMPS. I use VBA to "wrap" a side column around my vBulletin pages since I could not get the side column mod to work after the upgrade. This solution worked great - except for one thing. One of my webtemplate pages was a coupon page for local sponsors. I want this to be a blank white page with black text so it is printer friendly (no side colum, logo, navbar, etc). Once I started using VBA to wrap the side column, I had to eaither wrap all of my webtemplate pages or none of them. I want them all wrapped except the coupon page, so I had to find another way to do the coupon page. My solution was to just put basic html code into a file at mysite.com/forum/coupons.
This worked perfectly until I realized that Firefox displays the html as text. I am far from being a coder so I am at a loss as to wheer to go from here. It may be a simple fix (I hope), but I don't know what it is! |
What kind of page are you displaying there (php, htm, html, txt)?
It's hard to tell what the problem is without being able to see it... |
Here is the page: http://www.huntleyneighbors.com/forum/coupons
IE displays it how I want it to, Firefox just displays the contents of the file as text. |
The page is not valid html. You need to have valid html in order for it to display as html.
|
I really am a novice at any kind of code stuff, so can you tell me what I need to do to fix this. Obviously I just made an html table. I'm not sure what to do to make it "valid" html....
|
From here - http://www.w3.org/TR/html401/struct/global.html -
Quote:
|
Thanks for your quick reply!
I changed it, but unfortunately Firefox is still just showing the text! |
Do you have a page extension?
I tried locating the page coupons.txt, php, htm, html etc and got 404 on all. |
This should be one line:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
Thank you so much - I added the extension to the filename and made that all one line and that pretty much took care of it. It displays a little differently on FF, but at least it is there.
Thank you!!!! |
All pages will display slightly differently across browsers, more significant when you use invalid rules. Some browsers will parse invalid rules and others will ignore them.
If you want them to display exactly the same in all browsers, consider Yahoo's 'CSS Reset'. |
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|