View Full Version : Can any one help me why this tempalte causes wrong dispaly?
mohammad
03-02-2008, 12:45 PM
Hi,
Please just look at http://www.businesslinkdirectory.net/
Why this has such wrong display? :(
proprod
03-02-2008, 01:30 PM
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.businesslinkdirectory.n et%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
bruleo
03-02-2008, 01:32 PM
I presume you mean as to why it displays badly in Firefox? It looks ok in Internet Explorer 7 if the browser is maximised, but in Firefox the main content is below the menus, as it is if you use a smaller IE window.
This could be to do with DIVS or tables. Either you have a missing close DIV, or possibly and extra open DIV somewhere. It could be just a missing. Check your code and make sure that each open DIV has a corresponding close DIV. It could be something else, but this is the most common cause of this kind of display problem.
Bruce.
mohammad
03-02-2008, 01:38 PM
OK. Thank you for detailed info
How can I check page tags? Should I look at template files or phps?
Thanks
mohammad
03-02-2008, 01:44 PM
I actually can get it like images bellow in Firefox and IE:
Content visible to registered users only.
Content visible to registered users only.
shadav
03-02-2008, 02:39 PM
i'm sorry but i still don't get what you get...
i viewed it again today using firefox yet again...I'm using the latest FF
i took another image now as before you can see that your site shows up fine for me...a bit odd lol
Content visible to registered users only.
bruleo
03-02-2008, 03:23 PM
People always forget, but operating systems have an effect too. Using the latest Firefox and IE7 the display is wrong.
Look at the tags in the templates (tpl files). The php will have nothing to do with it unless there are some strange 'echo' statements somewhere, but I doubt that very much.
Your best be is to download websmaster tools for Firefox and look at the CSS with that, as you can just point your mouse at an area and it will highlight the CSS position.
I actually have this exact same problem with one of my sites, but have never really been bothered to get it fixed. u-Hits displays perfectly with Vista and IE7 and IE6, but not with XP and IE6. Since the combination of users with both XP and IE6 is now very small, I didn't really see the point in correcting it.
Bruce.
mohammad
03-02-2008, 04:32 PM
Content visible to registered users only.
Strange, I did check it via some other networks but same problem from all ... that was because I did think it is incorrect entirely and not just for me.
Content visible to registered users only.
OK. I think I should take a bit more time on it and research more about it.
Thanks for your supports :)
proprod
03-02-2008, 04:48 PM
Why not ignore post #2? :)
mohammad
03-02-2008, 04:59 PM
Content visible to registered users only.
Ohoh...oh ...
Your both user names are same bruleo (http://www.phplinkdirectory.com/forum/member.php?u=7940) and proprod (http://www.phplinkdirectory.com/forum/member.php?u=1436) :) sorry I didn't see it is from you for me
I have no any experiences with W3C validations until now :) that was new for me
I must consider it more... it gives many errors for my both sites..
But can the language validation errors affect on pages functionality?
proprod
03-02-2008, 11:40 PM
Content visible to registered users only. Line 86, Column 5799: end tag for "tr" which is not finished.…a><br /> </p><br /></td></tr><tr></tr></table></div></div><br /><br /><br />< ✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.businesslinkdir ectory.net%2F;errmsg_id=73#errormsg)
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
Content visible to registered users only. Line 106, Column 11: end tag for element "div" which is not open.</div></div></div></div></div><div id="footer"><div id="footer-text"><a href="/" ✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.businesslinkdir ectory.net%2F;errmsg_id=79#errormsg)
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry (http://validator.w3.org/docs/help.html#faq-javascript).
Content visible to registered users only. Line 106, Column 17: end tag for element "div" which is not open.</div></div></div></div></div><div id="footer"><div id="footer-text"><a href="/" ✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.businesslinkdir ectory.net%2F;errmsg_id=79#errormsg)
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry (http://validator.w3.org/docs/help.html#faq-javascript).
Things like this can totally screw up the layout of your site. Fix these and it will probably look the same in most browsers.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.