homepage Welcome to WebmasterWorld Guest from 54.167.173.250
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Site Looks fine on FF but not on IE
renet




msg:3771308
 6:12 pm on Oct 22, 2008 (gmt 0)

I have a post regarding this problem at the following link.

[webmasterworld.com...]

I have 1 site giving me problems getting it centered on IE6 and 7. It looks fine on FF. It's a Wordpress Theme.

Why would most themes work fine on both browsers IE and FF but I have this one that goes to the right of the screen. In fact it appears the text is also very slightly larger so if we narrowed the page somehow than it would look even more narrow on FF. We would simply like it to appear the same on all browsers like any other well built site.

 

essiw




msg:3771348
 7:18 pm on Oct 22, 2008 (gmt 0)

don't know what you want to get centered but if you want to add some html for only IE and lower then add this tag in the html <!--[if lt IE 8]>tekst here<![endif]--> (lt means lower then, since IE8 works correctly now it has to be lower then 8)
if you want to add some css only for IE and you have a <div class="browsers"> open for the other browsers do this: <div class="browsers"><!--[if lt IE 8]></div><div class="internet explorer"><![endif]--></div>
i've tried myself and it works ;)

renet




msg:3771383
 7:51 pm on Oct 22, 2008 (gmt 0)

Well.. I am actually a bit confused. The programmer asks me if I want the site readable in 1024 resolution and if so it will require a bunch of changes. I want the site readable in all standard resolutions and screen sizes and browsers.

It works fine in FF but on IE6 and IE7 the site is to the right and less on the left side. Thus, the horizontal nav bar is cut off and one link falls beneath it as well as some header elements like the tagline which as you know on wordpress blogs tend to be placed on the right side of screen top of header.

The Contractor




msg:3772717
 1:17 pm on Oct 24, 2008 (gmt 0)

Did you try something so simple as:

<body>
<div align="center">

then at the closing body

</div>
</body>

The problem is probably in the theme CSS file for the "body".

alt131




msg:3773228
 2:23 am on Oct 25, 2008 (gmt 0)

The "content" has already been wrapped in a container div and centred via css rather than the deprecated "align".

The failure to centre and the menu issue is produced by a combination of invalid code, multiple declarations of the same dimensions, and collisions between various hacks and "fixs".

Validation and a code clean-up is suggested in the other thread, and having performed that exercise myself, the document displays without issue in Op9, winSafari, ff2&3, ie6&7 - no hacks, no seperate css for ie, and no "fixes" required.

Less code - not more ;)

renet




msg:3774302
 3:50 pm on Oct 27, 2008 (gmt 0)

alt131 and others,

thank you for these reponses. I will forward to the fellow helping on my site.

with much Regards

renet




msg:3774331
 4:23 pm on Oct 27, 2008 (gmt 0)

alt131 - I have sent you a stickymail but not sure if it is being sent out. I look in
the sent folder and nothing there. It seems I receive mail, however. Adjusted the
sent mails to hold for 21 days and than tested sending myself a note and it did not
show up in the sent folder.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved