You are here: Re: CSS problem - ok in IE, not in Firefox « HTML « IT news, forums, messages
Re: CSS problem - ok in IE, not in Firefox

Posted by dalyea@gmail.com on 08/24/07 06:11

On Aug 23, 12:15 am, John Hosking <J...@DELETE.Hosking.name.INVALID>
wrote:
> dal...@gmail.com wrote:
> > On Aug 22, 8:54 pm, "Beauregard T. Shagnasty" wrote:
>
> >> <http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.skicandy...>
> >> "Failed validation, 158 Errors"
>
> >> <http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&u...>
> >> "Sorry! We found the following errors"
>
> > Thanks for the reply. I fixed all 158 errors and now the page passes
> > on W3C. That was the right place to start, you're right.
>
> Beauregard also pointed you tohttp://jigsaw.w3.org/css-validator/where
> you will see that you still have 36 errors in your CSS. You're not done
> starting. ;-)
>
>
>
> > So now - what? The top of the page is still off.
>
> If I add 300px to each of your left: values in #logo1t and #logo1w, the
> header looks better, though not perfect, and possibly not what you
> wanted, and as BTS mentioned, it breaks badly when I upsize the text.
>
> --
> John
> Pondering the value of the UIP:http://blinkynet.net/comp/uip5.html

Oh crud. Yeah, I'll have to fix those problems, too. Thanks for
pointing it out.

Well, I got up first thing today and dug in on the problem. And it
took
a mere 10 minutes to solve.

In a nutshell, it was 2 things. I am centering the page, but
apparently
(and you all probably know this already) centering in IE and FF is
different. So I added the body text-align center and the margin 0
auto
"trick" as a starting point. Then, I noticed I wasn't declaring a
float
property! As soon as I added "float: left;" it all worked. So that's
that.

Thanks for the responses, I'm in business now.

David

 

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

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