Extra code displaying in Firefox?

This is a discussion on "Extra code displaying in Firefox?" within the Web Page Design section. This forum, and the thread "Extra code displaying in Firefox? are both part of the Design Your Website category.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 3rd, 2008, 08:32
New Member
Join Date: Apr 2008
Location: south wales
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Extra code displaying in Firefox?

Hi,

I have created myself a basic website using Microsoft expression Web that i have uploaded to the server, but i am getting bits of text when displaying in Firefox that i don't get in IE. The code is also not there in the original HTML only when i upload it to the server and only in Firefox.

I'm getting this weird code in the top left of the screen 

And  displayed next to any time there's a price stated on the site.

I have no idea what it is and why it only shows in Firefox.

My web address is http://www.laptoprepaircardiff.com

Kreeyon
Reply With Quote

  #2 (permalink)  
Old Apr 3rd, 2008, 08:55
welshstew's Avatar
Lead Administrator

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,431
Blog Entries: 13
Thanks: 1
Thanked 17 Times in 15 Posts
Re: Extra code displaying in Firefox?

you need to start by placing the correct doctype and character encoding into your site:

http://creativecoding.webforumz.com/...ur-website.php
http://www.alistapart.com/articles/doctype/

without this the browser doesn't know how to interpret your HTML code and is therefore makin gguesses as to how to show things, as such they are appearing differently in the differing browsers
__________________
WelshStew
Lead Administrator

tierney rides tboard - uk site | xtreme wales - extreme clothing
If you think I've helped, click the "Thanks"
webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)

Last edited by welshstew; Apr 3rd, 2008 at 08:57.
Reply With Quote
  #3 (permalink)  
Old Apr 3rd, 2008, 09:34
New Member
Join Date: Apr 2008
Location: south wales
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra code displaying in Firefox?

Thanks for the reply WelshStew. However i have tried all the different doc types and none seem to sort out the extra bits of code, still keeps showing up in Firefox.


Kreeyon
Reply With Quote
  #4 (permalink)  
Old Apr 3rd, 2008, 09:39
New Member
Join Date: Apr 2008
Location: south wales
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra code displaying in Firefox?

Nevermind, sorted it out now. Thanks for your help Welshstew.


Kreeyon
Reply With Quote
  #5 (permalink)  
Old Apr 3rd, 2008, 09:49
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,280
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Extra code displaying in Firefox?

Could you please share the solution?
__________________
Resources Administrator


Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
Reply With Quote
  #6 (permalink)  
Old Apr 3rd, 2008, 19:21
New Member
Join Date: Apr 2008
Location: south wales
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra code displaying in Firefox?

I ended up trying all the doctypes that existed and still i was getting that weird extra code, so i took a closer look at my code and realised that in the top section of my site i had 2 different doctypes competing against each other.

The second doctype a few lines down had the first bit of code saying it was a doctype missing so i didn't notice it at first, so i removed it ran the optimize html function in expression web and everything is now fine.

Kreeyon
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
[SOLVED] Webpage not displaying properly in Firefox Johnathan Web Page Design 25 Jan 5th, 2008 01:34
Firefox 2.0.0.8 displaying Wrapper BG Colour Wrongly? Jack Franklin Web Page Design 6 Dec 11th, 2007 22:08
IE 7 vs Firefox & extra space between divs Kurt Web Page Design 4 Sep 20th, 2007 21:26
Code is there...but not displaying... 1840dsgn Web Page Design 3 Aug 16th, 2007 18:28
Extra line spacing in Firefox vs IE bgoo Web Page Design 6 Apr 16th, 2007 00:17


All times are GMT. The time now is 16:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43