Forum Moderators: not2easy
[edited by: alt131 at 7:48 pm (utc) on Jun 30, 2011]
[edit reason] Side Scroll [/edit]
The top left - have an image about 250 px wide.
<div id="header">
<p><a href="/">Home</a></p>
<nav id="menu">
<ul>
<li id="menu_work"><a href="portfolio.html" title="Work"
target="_parent">Portfolio</a></li>
<li id="menu_services"><a href="#" title="Disciplines"
target="_parent">FAQ's</a></li>
<li id="menu_insidefa"><a href="contactus.html" title="Profile"
target="_parent">Contact Us</a></li>
<li id="menu_exposure"></li>
<li id="menu_collaborate"></li>
</ul>
</nav>
<div class="clear-div></div>
#header {
width: 700px;
margin: 12px auto;
}
/* Its' the text-indent propery combined with outline:none that
allows us to use plain text in the link itself */
#header p, #header p a {
width: 250px;
height: 96px;
display: block;
padding:0;
border:none;
outline: none;
text-decoration:none;
text-indent: -50000px;
}
#header p {
float: left;
margin 12px 0;
} /* or just 0 */
#header p a {
background: url(/images/logo/florence-advertising-logo-with-
bevel.gif) top left no-repeat;
}
#menu {
width: 450px;
float: right;
}
#menu ul {
margin: 12px 0 9px 0;
padding:0;
}
#menu ul li {
display: inline;
list-style:none;
margin:0;
padding-left: 8px;
}
/* using the same concept for image-based navs . . .
#menu li a {
height: 15px;
background-position: top left;
background-repeat: no-repeat;
text-decoration:none;
display: block;
outline: none;
border: none;
text-indent:-50000px;
}
#menu li a:hover{
background-position:
bottom-left;
}
/* widths for example */
#menu_work { width: 60px; background-image:url(/images/menu-
work.gif); }
#menu_services { width: 100px; background-image:url(/images/menu-
services.gif); }
#menuinsidefa { width:90px; background-image:url(/images/menu-
contact.gif); }
[edited by: alt131 at 7:50 pm (utc) on Jun 30, 2011]
[edit reason] Side Scroll [/edit]