StefanRSA Posted August 17, 2009 Share Posted August 17, 2009 Ok.... Almost done with my newest system... Still lots of work left... YEAH RIGHT!!!! Downloaded google chrome to see what my system will look like in Chrome.......... My site in Chrome is BROKEN! My CSS is a HASH!!! My java/mysql/php search does not work...... WHY NOT??? I dont think I am alowed to put the link on this forum, but please if anybody can help, please ask for the link or even better... Please give me advise.... Quote Link to comment Share on other sites More sharing options...
haku Posted August 17, 2009 Share Posted August 17, 2009 It's probably broken because you didn't code it so that it would work in Chrome. Quote Link to comment Share on other sites More sharing options...
StefanRSA Posted August 17, 2009 Author Share Posted August 17, 2009 So what should i do else??? Quote Link to comment Share on other sites More sharing options...
haku Posted August 17, 2009 Share Posted August 17, 2009 post a link or post some code or both. Quote Link to comment Share on other sites More sharing options...
StefanRSA Posted August 22, 2009 Author Share Posted August 22, 2009 My site is at www.howzit.co.za. If you go into any category or subcategory, the page is split into "two" screens.... When you go an item page, its also split in two. If you click on the images in the item page, is lightbox effect used... Even lightbox is split over "two" screens.... Can anybody please help me regarding this problem? Thanks Quote Link to comment Share on other sites More sharing options...
StefanRSA Posted August 24, 2009 Author Share Posted August 24, 2009 Anybody??? Quote Link to comment Share on other sites More sharing options...
haku Posted August 24, 2009 Share Posted August 24, 2009 Well, you have 61 errors in your code: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.howzit.co.za%2Fclassified.php%3Fcatid%3D1%26subcatid%3D6 There is a good chance it's one of them. But, first try adding: clear:both; to div#contentwrapper and see if that helps. Even if it does, you should fix the errors in your code. Quote Link to comment Share on other sites More sharing options...
StefanRSA Posted August 24, 2009 Author Share Posted August 24, 2009 Nope that does not help. If I look at the validater it gives me an error as follow: Line 3, Column 7: document type does not allow element "HEAD" here <head> ✉ The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). How can it tell me that the closing bracket (>) is not allowed here??? Quote Link to comment Share on other sites More sharing options...
haku Posted August 24, 2009 Share Posted August 24, 2009 The closing bracket isn't the problem - read the error itself, it tells you exactly what the problem is. You aren't allowed the <head> element right there. Look at where that closing bracket is - it's the closing bracket for the head tag. What happens is that the validator doesn't know that it's looking at a head tag until it comes to the end of the tag - at the closing bracket. So when it realizes it's looking at a head tag, it looks to see if it's in the correct spot - it's not. Why? Well, a properly formed (X)HTML document looks like this: <doctype> <html> <head> // meta tags, link tags, script tags, style tags </head> <body> // content, script tags </body> </html> Now look at your document. You haven't followed this format, and this is where the first of your errors is coming from. Quote Link to comment Share on other sites More sharing options...
StefanRSA Posted August 26, 2009 Author Share Posted August 26, 2009 Thanks guys.... WOW What a massive learning curve!!! I am even sweating! The lesson learnt........... VALIDATION VALIDATION VALIDATION!!!!!! Thank you! Quote Link to comment 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.