[SOLVED] Page shows in Firefox but not in Explorer?? Please help.

This is a discussion on "[SOLVED] Page shows in Firefox but not in Explorer?? Please help." within the Web Page Design section. This forum, and the thread "[SOLVED] Page shows in Firefox but not in Explorer?? Please help. are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 12th, 2007, 02:43
New Member
Join Date: Nov 2007
Location: CA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Page shows in Firefox but not in Explorer?? Please help.

I've never seen this before, I'm not sure how to correct it either. I'm working on a new site, all is well until I start testing it in different browsers.

The only page that is giving me trouble, is this one: http://www.onlinedebate.net/zen2/services.html

It displays fine in Firefox...but in Explorer, only the background color shows. I'm assuming this has to be a table issue that I've overlooked, but I cannot confirm.

Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 12th, 2007, 03:02
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

First of all, welcome to WebForumz!
Now to your problem. There's a quick fix. Here is what your <head> looks like:
HTML: Select all
<head>
  <title>Services : outsanctum - an Aveda concept salon</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
  <style type="text/css">
<!--
.style2 {
	color: #996666;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: bold;
}
.style3 {font-family: Arial, Helvetica, sans-serif}

.style6 {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;}
	

  .style7 {font-weight: bold}
  .style9 {color: #408080; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; }
  </style>
</head>
Do you see the comment tag at the beginning of the css, right after the <style> tag? It looks like this: <!--
Get rid of it! That will solve the problem...

Cheers,
SWagner
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Nov 12th, 2007, 03:21
New Member
Join Date: Nov 2007
Location: CA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

bah! I'm such a bonehead sometimes. It's always those easy and obvious things it seems.

Thanks so much SWagner!

Out of curiosity, did you find it due to just being very experienced with html and web design? Or is there a method for finding little errors like that? is there a code checker of some sorts that can do that for you?

I am still learning, and it takes me A LONG time to find simple errors I've made. It's quite frustrating. I know experience will help a lot...but in the meantime, it's a pain as I often overlook the obvious.

Last edited by Apokalupsis; Nov 12th, 2007 at 03:23.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 12th, 2007, 03:26
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

No problem. I'm always glad to help. I have made many bonehead mistakes (like forgetting to close a tag...). I know how frustrating it is to not know why the whole thing isn't working. That's why another pair of eyes can always help out.

Cheers and happy coding!
SWagner
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)

Last edited by Stuart; Nov 12th, 2007 at 15:04.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Nov 12th, 2007, 05:12
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

Quote:
In HTML, an Embedded Style Sheet is specified using the STYLE element within the HEAD element block. For backward compatibility with browsers that do not understand style sheet syntax, the entire contents of the Style element may be embedded in an HTML comment (<!-- css style -->)
By commenting your CSS Style, it will prevent an older browser to display your style sheet to the user!

So you just have to add in the closing part of your "<!--" with "-->"
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Nov 12th, 2007, 15:07
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

Quote:
Originally Posted by Apokalupsis View Post
Out of curiosity, did you find it due to just being very experienced with html and web design? Or is there a method for finding little errors like that? is there a code checker of some sorts that can do that for you?
No, I don't have a code checker. I just looked through your code, and since, like reading a book, I started at the top and read down, I came to the end of that piece of css and noticed that something was missing: the closing comment tag...
Yes, this is an experience thing...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Nov 12th, 2007, 15:15
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,797
Thanks: 0
Thanked 17 Times in 17 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

Although this isnt any way associated to your error, i recommend that you ditch tables (if you're using them for layout!) and also stop using Dreamweaver or any other WYSIWYG editor for creating your website. Learn HTML and CSS and also give your css classes (.class) relevant names! Not '.style1'
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Nov 12th, 2007, 15:19
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

Good point, Marc. Using .style1, .style2, etc is primitive. Naming them according to what they control makes a lot more sense and is easier to work with. For example; .caption might be the styling for the caption below an image. The next time you want to change it, you don't have to scroll through your page to try to find the name of the styling ("Now, was the caption style4 or style5?"). It makes your life a lot easier, trust me, I've been there...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Nov 13th, 2007, 01:41
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

That means I have a "code-checker" brain!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Nov 13th, 2007, 01:45
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Page shows in Firefox but not in Explorer?? Please help.

So do I. Oops, I guess that counts, so, yes, I used a form of "code checker". Happy coding!
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
css internet explorer 6 firefox thosecars82 Web Page Design 2 May 19th, 2008 15:37
IE shows page fine, half missing in FF freeeky Web Page Design 6 Apr 16th, 2008 16:46
firefox and Internet Explorer! crackafaza Web Page Design 2 Jul 2nd, 2007 10:43


All times are GMT. The time now is 18:12.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42