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!
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
Post a Comment