benb Posted April 5, 2006 Report Share Posted April 5, 2006 My site is located here [http://www.zizusupport.com/beta4] and if you look at it in MSIE it is off center, but in any decent browser, it looks fine [Firefox, Opera, Safari]. Is someone here able to help me hack it for IE6 compatibility? I do not believe there are any transparent PNGs, so the off-centerness is the main (maybe only?) problem.CSSThanks alot,-ben Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted April 5, 2006 Report Share Posted April 5, 2006 Hello; that looks ugly indeed! Have you considered making it HTML/XHTML compliant? I had a quick look at your source code<!DOCTYPE ...<html ...<head><meta ...<title>...<link ...</head><body><div .........<!DOCTYPE ...<html ...<head><meta ...<title>...<body><p>We at Zizu Support .........</body></html><div ...</div></div></div></div></body></html>I think this second set of header tags in the middle may be irritating some browsers... Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted April 5, 2006 Report Share Posted April 5, 2006 And once you've applied the corrections, you may try the W3C Validator to make sure it's compliant. Quote Link to comment Share on other sites More sharing options...
benb Posted April 5, 2006 Author Report Share Posted April 5, 2006 The second set of header tags in the middle is/was because I am using PHP inclues to get data from external HTML files. Obviously, Dreamweaver made those files and gave them headers. It's all fixed up now and is 100% XHTML and CSS compliant. I try and make my sites easy to make compliant. All the code there is 100% handcoded. I did not let Dreamweaver mess up my code.But do you know how to center it in MSIE. I really do not have a clue because I program everything to be compliant and just hope it will work :( I have one transparent PNG in there (main logo) but I can just add a white background to it so it won't use the alpha channel. Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted April 6, 2006 Report Share Posted April 6, 2006 OK, it already looks much better - the HTML source I mean. There are still a few corrections to be made; maybe that will improve the IE display...?First I would remove the two at the top, and the corresponding tags at the bottom.Next I would add align="center" to all remaining tags.Finally I would remove the nesting of the last two tags (terminating each div before a new one begins. Quote Link to comment Share on other sites More sharing options...
benb Posted April 6, 2006 Author Report Share Posted April 6, 2006 Yeah, I was gonna do the <div id="foo" align="center"> but that only aligns the text within that div. I want the entire div aligned. Because if you look at my page, the whole area is centered. I don't know how else to do that.I don't quite understand what you mean by the bottom part. What is the issue with my div alignment? Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted April 6, 2006 Report Share Posted April 6, 2006 OK, I noticed that I did not read the code correctly. The two tags on top are not identical, but one contains an align clause, the other an id clause. I would suggest that you merge the two into one tag (and of course remove the matching tag.I don't understand why the last two tags are nested; what happens if you un-nest them? Quote Link to comment Share on other sites More sharing options...
benb Posted April 6, 2006 Author Report Share Posted April 6, 2006 Sorry to be so annoying, but I still don't understand what you mean. Take a look at the attached screenshot Quote Link to comment Share on other sites More sharing options...
benb Posted April 7, 2006 Author Report Share Posted April 7, 2006 Alright, I've modded the code again and I still can't get it to work. I've tried just about everything I know. div "center" is aligned correctly, while the interal center divs are not. That is the problem. Quote Link to comment Share on other sites More sharing options...
benb Posted April 8, 2006 Author Report Share Posted April 8, 2006 Thanks anyways Pat Willener but I found a fix :) Quote Link to comment Share on other sites More sharing options...
nellie2 Posted April 9, 2006 Report Share Posted April 9, 2006 I just visited that url and got a bit of a shock... I hope no one is coming to get me :( Quote Link to comment Share on other sites More sharing options...
benb Posted April 9, 2006 Author Report Share Posted April 9, 2006 Oh yes, you found my 404 page :)The site has gone final, now that it works in Internet Explorer.Zizu Support Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted April 10, 2006 Report Share Posted April 10, 2006 Just found a new toy that may come in handy the next time you have a problem with Internet Explorer: Internet Explorer Developer Toolbar.Download the Internet Explorer Developer Toolbar (Beta 2) The toolbar includes tools to help you quickly create, understand, and troubleshoot Web pages. The toolbar can be pinned to the Internet Explorer browser window or floated separately. Quote Link to comment Share on other sites More sharing options...
benb Posted April 11, 2006 Author Report Share Posted April 11, 2006 When that + IE7 goes final, I will definately give it a shot. Or maybe I wil just give it a shot on a VMWare OS ;) Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted April 12, 2006 Report Share Posted April 12, 2006 Or maybe I wil just give it a shot on a VMWare OS ;)That is definitely a good idea. I've read all over the Internet about people who installed IE7 beta on their production system, then got mad at Microsoft because they were unable to uninstall it. Quote Link to comment Share on other sites More sharing options...
nellie2 Posted April 12, 2006 Report Share Posted April 12, 2006 It is Beta.. so people should take account of that. It runs fine on my lap top but I had a few issues with it on the desktop.. luckily I had created a restore point and backup image before installing it. ;) Quote Link to comment Share on other sites More sharing options...
benb Posted April 12, 2006 Author Report Share Posted April 12, 2006 I might do a review on this Dev. Toolbar. Stay tuned :) 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.