safari - CSS changes on refresh -


the contacts page of website functional, when refresh page css property display:inline; navigation list becomes void. problem exists in safari.

the same css stylesheet used 2 other pages , fine, i'm confused!

http://www.katieburchett.co.uk/contacts.html

for starters, html markup invalid. long that's case, i'd expect behavior undefined , browser-specific. have this:

<ul>     <a href="index.html">         <li>home</li>     </a>     <!-- , on --> </ul> 

according spec, li elements permitted immediate children of ul elements. markup should this:

<ul>     <li>         <a href="index.html">home</a>     </li>     <!-- , on --> </ul> 

after making change, of course, may need adjust css selectors/rules account new markup.

any time you're seeing strange markup/style behavior, especially when it's browser-specific, first thing should validate code.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -