hi
Im fairly new to dreamweaver and still finding my way etc..
i have started building a new site. - http://www.amberroom-salon.co.uk/
When i upload the first page to the internet, safari 5 does not display the navigation bar correctly.
yet in firefox its fine.
it is also fine in safari when i preview in browser.
can any one suggest anything please?
I have tried checking the site on the web code check site thing, but there are a few errors which dont seem correct to me, ??
not sure why theyare there.
thanks
On Line 4 of your code change this:
<!-- Meta http equivalent was here -->
To this:
<!-- Meta http equivalent was here-->
On line 15, change this:
<nav class="navigation">
to this: (nav is not valid XHTML code, use div instead)
<div class="navigation">
On Line 16, change this:
<h1><a href="/index.html"><br /><span class="amberroom">Amber Room</span></a>
<p class="hairsalon">Hair Salon</p></a><h1>
to this:
<h1 class="amberroom"><a href="/index.html">Amber Room</a></h1>
<p class="hairsalon"><a href="/index.html">Hair Salon</a></p>
On line 25, change this:
</nav>
to this:
</div>
Next time things go wrong, check your code for errors.
Code Validation Tools
------------------------------------
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
Nancy O.
The markup for the menu is not correct. Have a look at the markup that is correct as per
<ul>
<li><a href="/services" id="menu-services">Services</a> </li>
<li><a href="/location" id="menu-location">Location</a> </li>
<li><a href="/about" id="menu-about">About us</a></li>
<li class="lastNavBox"><a href="/contact" id="menu-contact">Contact</a></li>
</ul>
After you have done that, you will have to add a few style rules for the font size.
You ignored my code changes above. 98% of page display problems are caused by code errors. You need to reconcile the errors below to get good cross browser results. <nav> is not a valid HTML tag.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.amberroom -salon.co.uk%2F
Nancy O.
<nav> is a new tag that is only valid in HTML5 documents. In X/HTML docs it is not recognized.
Change: <nav class="navigation">
</nav>
To: <div class="navigation">
</div>
A List of HTML Tags and the Doc Types that Support them:
http://www.w3schools.com/tags/ref_html_dtd.asp
Nancy O.
North America
Europe, Middle East and Africa
Asia Pacific