Browser problems
#1
Posted 28 July 2008 - 09:37 AM
#2
Posted 28 July 2008 - 07:18 PM
Ron
#3
Posted 28 July 2008 - 07:26 PM
It's not very good, I'm only learning the basics of raw HTML scripting at the moment. And I'm also re-uploading pages fairly regularly, just so you know.
Edited by jt1990, 28 July 2008 - 07:27 PM.
#4
Posted 28 July 2008 - 09:31 PM
CSS Errors
HTML Code Errors
These definitely have to be corrected:
No Character Encoding Found and here.
No DocType found I recommend the strict doctype, but it does require tighter HTML coding.
Style tags must be between the head tags. Not between the body tags. Better to remove tags and put page styling on an external CSS. Always use lowercase tags and attributes.
Without a doctype, you are putting browsers in Quirks Mode.
I would set up a wrapper div and a content div and not make your text run all the way across the page. Causes eye fatigue for viewers. It's recommended eyes not have to move more then 11% from left to right to read the content.
Hope this helps.
#5
Posted 29 July 2008 - 05:07 AM
I was figuring I had some sort of HTML error that was messing it up, I just don't have the knowledge/skill to be able to do that properly. Thanks, will definitely check out those links!
#6
Posted 29 July 2008 - 08:13 AM
If you have problems correcting the code errors, give a shout.
Ron
#7
Posted 29 July 2008 - 09:38 PM
#8
Posted 30 July 2008 - 05:03 AM
#9
Posted 30 July 2008 - 10:48 AM
Taking the line out of the css causes browsers to use the set default text color of black (#000000).
Just because something may work in certain browsers doesn't mean it's correctly coded. Firefox is the only browser that meets most of the CSS2.1 Standards. Internet Explorer (all versions) are very, very sloppy browsers when it comes to parsing code. That's why people, who have no idea about coding, love to use it as it makes badly coded pages look good. Unfortunately, IE does not meet HTML 4.01 Standards and comes no where close to meeting CSS2.1. Both of these standards are due to be upgraded to HTML 5.0 and CSS3.0 eventually.
If you coded properly and more people would adhere to the recommended standards, there would be less conflict between pages and the browsers that display them. Of course, the browser developers have to do their part and make a browser that meets and understands the web standards.
If you like to check your pages on different browsers, you might use this site: http://browsershots.org/
I see you still do not have a proper doctype.
Ron
Edited by Major Payne, 30 July 2008 - 10:50 AM.
#10
Posted 30 July 2008 - 05:23 PM
No, I haven't had a chance to fool with doctype yet.
#11
Posted 30 July 2008 - 05:55 PM
#12
Posted 30 July 2008 - 06:47 PM
The HTML 4.01 Transitional (
) is the simplest and easiest doctype as it requires the minimum of meeting code standards. It will allow use of deprecated tags, etc.. I would like to see the HTML 4.01 Strict used as it means you have to code a little tighter. Even better is XHTML 1.0 Transitional.<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR...ml4/loose.dtd">
Putting in a doctype and the character encoding would help with a lot of those browsers only in that they will not be in Quirks Mode and should be parsing your page closer to the way you coded it.
Ron
Edited by Major Payne, 30 July 2008 - 06:48 PM.
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users