vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   HTML not displaying in Firefox? (https://vborg.vbsupport.ru/showthread.php?t=201080)

JenniferK 01-08-2009 03:02 PM

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!

Bellardia 01-08-2009 03:06 PM

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...

JenniferK 01-08-2009 03:10 PM

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.

Lynne 01-08-2009 03:12 PM

The page is not valid html. You need to have valid html in order for it to display as html.

JenniferK 01-08-2009 03:15 PM

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....

Lynne 01-08-2009 03:25 PM

From here - http://www.w3.org/TR/html401/struct/global.html -
Quote:

Here's an example of a simple HTML document:
Code:


  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
  <HEAD>
      <TITLE>My first HTML document</TITLE>
  </HEAD>
  <BODY>
      <P>Hello world!
  </BODY>
</HTML>


Your table would go where it says Hello World!

JenniferK 01-08-2009 03:31 PM

Thanks for your quick reply!

I changed it, but unfortunately Firefox is still just showing the text!

Bellardia 01-08-2009 04:00 PM

Do you have a page extension?

I tried locating the page coupons.txt, php, htm, html etc and got 404 on all.

Lynne 01-08-2009 04:02 PM

This should be one line:
HTML Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Also, the page being called should be named something like coupons.html, not just coupons.

JenniferK 01-08-2009 04:50 PM

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 times are GMT. The time now is 07:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00999 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete