Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Viewing issue on IE, looks correct in FF
Old 02-24-2009, 12:56 PM Viewing issue on IE, looks correct in FF
Junior Talker

Posts: 4
Name: John
Location: CT
Trades: 0
Hello all-

Let me start out for apologizing for my lack of knowledge here...I'm about as newbie as they come. I partially designed my site with Dreamweaver but started with a template from my host company..just changing some of the graphics to suite my needs. Looks fine in FF but everything is shifted to right in IE. also in IE there is a white space in Middle of page that appears as I add more information to the site (make the page longer in length). FF again shows a correct display of this. Sorry again for my lack of knowledge, (and for statring with a template) I'm reading as much as I can to learn.

the site is http://www.teldatallc.com

Any help would be greatly appreciated.
Tecride is offline
Reply With Quote
View Public Profile Visit Tecride's homepage!
 
 
Register now for full access!
Old 02-24-2009, 01:33 PM Re: Viewing issue on IE, looks correct in FF
Novice Talker

Posts: 11
Name: Bernard Sunderland
Trades: 0
Had a quick look at your site. For a newbie, you are obviously not shy of the Java.
I am no expert myself but I immediately noticed the <center> tag BEFORE <body>. This can't be right.
Have you tried online validation of your code? I use this:
http://www.htmlhelp.com/
BernardS is offline
Reply With Quote
View Public Profile Visit BernardS's homepage!
 
Old 02-24-2009, 02:35 PM Re: Viewing issue on IE, looks correct in FF
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The <center> tag is in the wrong place, it must be INSIDE the <body> tag, but you shouldn't be using it anyway, it's been deprecated.
You also should get away from using tables for layout, and since you're just starting, now is the time to learn to build sites the right way -w/o tables for layout.

Validating your code is a start, but I fear you have more problems there than a misplaced <center> tag.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-24-2009, 02:55 PM Re: Viewing issue on IE, looks correct in FF
Junior Talker

Posts: 4
Name: John
Location: CT
Trades: 0
Thanks Lady and Bernard -

I tried Validating the code and your right, there are many errors..I guess I'll try to work through all of it. Almost looks like I'd be better off starting from scratch so I can understand it all better and try without the tables. I just liked the layout and was happy and satisfied with how it looked on FF...was hoping for an easy fix.
Tecride is offline
Reply With Quote
View Public Profile Visit Tecride's homepage!
 
Old 02-25-2009, 12:25 AM Re: Viewing issue on IE, looks correct in FF
Junior Talker

Posts: 4
Name: John
Location: CT
Trades: 0
I went through all of the validation and cleaned up all of the html just for fun. I've narrowed down the one problem and I don't really understand this:

  • Line 70, character 65: ... 0%" width="10"><table height="100%" width="10" border="0" ce ...
    ^ Error: there is no attribute height for this element (in this HTML version)
  • Line 212, character 24: <td background="without_fl/HTML/images/17new_sub-men ...
    ^ Error: there is no attribute background for this element (in this HTML version)
  • Line 236, character 7: </html>
    ^ Error: end tag for body omitted; end tags are required in XML for non-empty elements; empty elements require an end tag or the start tag must end with />
  • Line 42, character 1: <body>
    ^ start tag was here
When I change the height from 100% to "0" FF will display the page incorrectly...the same way IE does, with a blank space towards the end of document. I will probably just re-do the site tomorrow but just wanted to make this work and figure out the problem for my own benefit.
Tecride is offline
Reply With Quote
View Public Profile Visit Tecride's homepage!
 
Old 02-25-2009, 09:24 AM Re: Viewing issue on IE, looks correct in FF
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You are using an XHTML Transitional doctype. Those attributes are NOT VALID for that doctype because those attributes belong in your CSS, NOT in your HTML. If you want to be rid of the errors, change your DOCTYPE to at least HTML 4.01 Strict.

The ending </body> tag is indeed missing, it should appear right before the </html> tag.

Also in XHTML, you MUST close ALL tags.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-25-2009, 07:49 PM Re: Viewing issue on IE, looks correct in FF
Junior Talker

Posts: 4
Name: John
Location: CT
Trades: 0
O.K. That makes sense...I added the </body> tag and changed the doctype like you said. It cleans up the validation errors and changes a few things in my layout but I think I can work through that stuff...will work on trying to rebuild this without tables.

Thanks again LadynRed
Tecride is offline
Reply With Quote
View Public Profile Visit Tecride's homepage!
 
Reply     « Reply to Viewing issue on IE, looks correct in FF
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.26931 seconds with 12 queries