You are here: Re: Page centered in IE7 but not in FF2.0 « HTML « IT news, forums, messages
Re: Page centered in IE7 but not in FF2.0

Posted by Beauregard T. Shagnasty on 11/13/07 22:55

a-ok-site wrote:

> I am in the process of trying to build a template for my web site
> using only CSS, but when it is viewed with IE7 it is centered, but
> with Firefox 2.0 it is floated left.

Unless you changed it since posting, it is the same for me in several
browsrers.

> I really don't mind which way it is but I would like it to be the same
> across browsers. Does anybody have a suggestion or cure? Any help
> will be appreciated! The url is:

http://a-ok-site.com/ <-- please post URLs in this format

You will want to correct a bug .. the IE resizing bug.

body { ...
font-family: arial,comic sans ms,technical;
font-size: 1.0em;

Change the size from 1.0em to 100%

You should also assign a fallback font (and Comic Sans MS needs quotes
around it, and both it and Technical are poor choices). I would
recommend:

font-family: Tahoma, "Trebuchet MS", Helvetica, Arial, sans-serif;

--
-bts
-Motorcycles defy gravity; cars just suck

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация