I am a novice who is trying to learn. I just want my website to be presentable in all browsers for my viewers. I found this forum while searching for answers to making my website cross-browser friendly. In the process I see where people validate their websites. I tried this for the first time at validator.w3.org. It said that I have two warnings and twenty nine errors. I had no clue. If I can get my website to appear the same in all browsers (which I am still having trouble making the code suggested here work), do I need to worry about validation. Could these problems keep me from getting my website to look properly on all browsers. Here is my website. Any advice is very much appreciated...Thanks, Tim.. http://sportsbettinginvestments.com
I have to see what I did regarding alignment of headers, links, etc., they have changed when I was trying to change code in the css. style for browser compatibility.
Welcome to the world of web design my friend. The biggest problem a pro web designer faces is getting new designs to look the same in all browsers. Especially with IE 6 and 7 around.
Validating your code will help a lot. It will make sure that your site will look the same in all the modern browsers. Then you will need to just double check IE7 as it still carries rendering bugs. IE6 is the biggest nightmare of all, it's almost dead now though so it may be worth ignoring it.
Looking at your validation errors it shows that you have some very odd attributes for your tags. So I'm assuming your are using some wysiwyg editor. Just open up your code to edit it by hand and step through the errors in the validation page. Remove attributes that do not exist etc. You will also want to put <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> at the top of your code. That tells the browser what html version your are using.
By the way it is not necessary to get a 100% pass on your validation. It may be a shock to find out but some big websites such as google, yahoo and microsoft do not validate.
__________________
Please add to my Talkupation if I was helpful. Thanks.
If by "almost dead", you mean 18.5% of all web-users are on IE6: http://www.w3schools.com/browsers/browsers_stats.asp ... and that is probably less than reality, seeing how it is an HTML and other code learning center.
It's a sad fact, but we can't ignore IE6 just yet.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE .
Thanks for the help. I will follow the advice above. On IE my content is way down the the page when I view it. What can I do to pull my content to the top of the page on IE without affecting Firefox? Any suggestions will be much appreciated.
I would like to say thanks for the advice. I have eliminated both warnings and now have only five errors (they are banners and okay). I gave you an add on talkupation and a great comment for your help.
Now, if anyone can tell me why on IE my content is not at the top of the page, I will give you a great comment and talkupation because it is important to me. I realize now that Firefox and IE are incompatible, but I need for people viewing with IE to at least see my body of content at or near the top of the page.
Thanks for all of the help and this forum is great...Tim.
The reason why the content is showing low down the page is because the widths of the content plus the right side are more than the container.
Somewhere you will find that your content has a width value set which will be to big for the space in the left column. If it is too big it will drop down to the bottom of the right column. I think you may find it to be the actual main left container that the content is in.
__________________
Please add to my Talkupation if I was helpful. Thanks.
The problem was that I removed the following from my pages when I first started out without realizing what I was doing...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Thanks paaaaaaaaaaa for pointing this out. I have one more person to thank on another post that got me to thinking as well...
Thanks cooltixy for checking my site for me. I gave you a talkupation and good word as well...Time to move onto SEO (I think)...