You are here: Re: CSS Safari Problem (Mac) « HTML « IT news, forums, messages
Re: CSS Safari Problem (Mac)

Posted by 0dev on 07/16/07 16:29

On Jul 14, 6:36 am, Ben C <spams...@spam.eggs> wrote:
> On 2007-07-13, 0dev <ch1.w...@yahoo.com> wrote:
> > Why isn't it displaying correctly in Safari/Mac?
>
> The footer is a table, whose width is set to 760px.
>
> Inside its second row are three cells, with widths 316px, 225px, and one
> with a div whose outer margin width is 215px. You've also got 15px of
> padding on the first cell.
>
> That lot adds up to 771px. So the browser asks itself, well which do you
> want? 760px or 771px? Firefox picks 760px, Safari 771px. As it happens,
> you wanted 760px so Safari guessed wrong on this occasion.
>
> Easier to let the computer do what it's good at and add the numbers up
> for you, so just delete "width=225" from the middle cell in that row. The
> browser will give it whatever it can get away with to try to make the
> whole thing 760px wide.

Thank you for your help. I've made the change and just need to find a
Mac to test it on.

Much appreciated...

 

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

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