BrotherBear Posted May 15, 2007 Share Posted May 15, 2007 Hi all I want to know what happens with my site I log on in my PC to my site and looks GREAT! but when I log on to my site with other PC it looks bad, I started thinking it might be a CSS or XHTML script error so I went to W3 to validate the CSS and found 54 errors wich I fixed then I tried to check the XHTML in W3 validator but said that validation failed and it might be 'cause the values are wrong or the encoding of the document so I need help what could it possibly be??? here's the address: http://bbanddisney.freeprohost.com/ BB Quote Link to comment https://forums.phpfreaks.com/topic/51534-need-help/ Share on other sites More sharing options...
ToonMariner Posted May 15, 2007 Share Posted May 15, 2007 well.... You have a bit of divitius but the one thing that will help is if you place a strict doc type declaration at the top of your page. I suspect you 2 pc's have different browsers (or different versions of browsers) which is why they will render differently... these lines will help <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" /> Quote Link to comment https://forums.phpfreaks.com/topic/51534-need-help/#findComment-253876 Share on other sites More sharing options...
BrotherBear Posted May 15, 2007 Author Share Posted May 15, 2007 thanks for the reply!!! but it didn't work I don't understand why everytime I put the doctype tag everything looks bad all text in places where shouldn't be images not aligned I don't get it! in my browser looks good is IE 7.0 the browsers in other pcs are IE 6 BB Quote Link to comment https://forums.phpfreaks.com/topic/51534-need-help/#findComment-253910 Share on other sites More sharing options...
ToonMariner Posted May 15, 2007 Share Posted May 15, 2007 this will explain why it hapeens and how to fix it. http://css-discuss.incutio.com/?page=BoxModelHack Quote Link to comment https://forums.phpfreaks.com/topic/51534-need-help/#findComment-253933 Share on other sites More sharing options...
BrotherBear Posted May 16, 2007 Author Share Posted May 16, 2007 thank you it helps why I can't validate the XHTML script in the docment? BB Quote Link to comment https://forums.phpfreaks.com/topic/51534-need-help/#findComment-254070 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.