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:20

On Jul 13, 8:19 pm, "Jonathan N. Little" <lws4...@centralva.net>
wrote:
> 0dev wrote:
> > I didn't write the code except the footer links. I'm just trying to
> > get a footer that will display on Safari/Mac as well as FF and IE.
>
> Think about this for one moment, even though you did not write the other
> code, if it is so malformed what are the chances that something you
> *add* would display properly without repairing what precedes it?

I ran the page through two validators and most of the errors would not
affect layout, or they were errors with the validators. For example,
the W3C Validator says "end tag for element "HEAD" which is not
open." But if you look at the HEAD element it opens and closes
normally. Missing alt attributes and using "language" instead of
"type" for scripts shouldn't affect the layout. The ampersands in the
URLs shouldn't affect the layout.

Can Safari/Mac handle proprietary attributes like "TOPMARGIN"?

These are the main CSS rules for the footer:

/* For footer navigation */
..footer-box {
font-family: Arial, Helvetica, sans-serif;
color: #fff;
background-color: #830d12;
}
..listhostels a:link, .listhostels a:visited {
text-decoration: none;
color: #fff;
}
..listhostels a:hover {
text-decoration: underline;
color: #fff;
}
..footer-box h1, .footer-box h2 {
margin-top: 0;
padding-top: 0;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
margin-bottom: 0;
padding-bottom: 0;
color: #fff;
}
..listhostels {
font-size: 9px;
margin-top: 0;
padding-top: 0;
}

Is there anything in there that Mac Safari handles differently than IE/
FF that would cause the problem shown in the images linked to in the
original post?

 

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

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