| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Need Help In Web Design Of Site
Started by darran, Feb 18 2007 04:11 AM
23 replies to this topic
#1
Posted 18 February 2007 - 04:11 AM
Take a look at my site http://darran.trap17.com/about/
View it in Mozilla Firefox, it is fine. But view it in IE 7, you will notice the footer is making the site look disgusting. How can I solve this problem? Appparently, the footer starts after the post entry is ended, while in firefox, the footer starts after the end of the sidebar which is what I am trying to do. However I am not too sure how to do it in IE7. Can anyone advise me?
View it in Mozilla Firefox, it is fine. But view it in IE 7, you will notice the footer is making the site look disgusting. How can I solve this problem? Appparently, the footer starts after the post entry is ended, while in firefox, the footer starts after the end of the sidebar which is what I am trying to do. However I am not too sure how to do it in IE7. Can anyone advise me?
#3
Posted 18 February 2007 - 05:06 AM
I had a look at the site, specifically the footer in IE6 and ff2. They are identical in all regards except the render of the blue is a bit different. Not a big deal.
for the benefit of us who are waiting for a good IE Browser, could you post a screenie, please and thanks.
for the benefit of us who are waiting for a good IE Browser, could you post a screenie, please and thanks.
#10
Posted 18 February 2007 - 07:18 PM
Make a file containing this (could call it ie7.css for example)
Then in your header, after you reference your first stylesheet, put in a conditional comment for ie7 referencing it.
EDIT: I was in a bit of a hurry before, so I didn't have time to explain a little more thoroughly (for anyone who might read this in the future with a similar problem). Conditional comments are a special kind of HTML "code" that's recognized only by Internet Explorer builds, and they're used to basically tell IE how to fix what it's doing wrong/differently from other (more standards-compliant) browsers. They look like this:
Every other browser will render this as a regular HTML comment, but anything in the "special instructions" area will be read by IE7. If you stick a line of HTML code that references a separate CSS file, you can put special CSS that will only apply to that browser. In this case, it'd be changing the "float" attribute of the misplaced box; changing it to "none" messes up non-IE browsers but having it as "left" messed up IE, so the conditional comment makes them both happy.
Hope this solution works for you, I saved a copy of your main page and this seems to work on my "desktop copy".
#bottom {
FLOAT:none;
}
Then in your header, after you reference your first stylesheet, put in a conditional comment for ie7 referencing it.
EDIT: I was in a bit of a hurry before, so I didn't have time to explain a little more thoroughly (for anyone who might read this in the future with a similar problem). Conditional comments are a special kind of HTML "code" that's recognized only by Internet Explorer builds, and they're used to basically tell IE how to fix what it's doing wrong/differently from other (more standards-compliant) browsers. They look like this:
<!--[if IE 7]> Special instructions for IE 7 here <![endif]-->
Every other browser will render this as a regular HTML comment, but anything in the "special instructions" area will be read by IE7. If you stick a line of HTML code that references a separate CSS file, you can put special CSS that will only apply to that browser. In this case, it'd be changing the "float" attribute of the misplaced box; changing it to "none" messes up non-IE browsers but having it as "left" messed up IE, so the conditional comment makes them both happy.
Hope this solution works for you, I saved a copy of your main page and this seems to work on my "desktop copy".
Edited by zyzzyvette, 19 February 2007 - 12:05 AM.
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















