You are here: Re: Firefox and IE7 - different displays of course. Explain please? « HTML « IT news, forums, messages
Re: Firefox and IE7 - different displays of course. Explain please?

Posted by Toby A Inkster on 03/04/07 17:15

Mike Barnard wrote:

> http://www.thunderin.co.uk/shaun/index.html

Firstly, please remove this from them top of your CSS file:

<style type="text/css">

and this from the end:

</style>

They should not be there. It is not an HTML file so should not contain
HTML.

Try removing the margins on your paragraphs:

P { margin: 0; }

Does that fix things?

If it does, then your problem seems to be an IE bug to do with incorrectly
collapsing margins. It can be fixed by setting a 1px top border on your
footer and/or a 1px bottom border on your main content column. Of course,
the borders can be the same colour as the background colour, so your
visitors don't have to see them!

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!

 

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

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