Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
{embed header=true}
<!-- Type the title of your site here -->
<title>PhotoJoy Designs</title>
{stylesheet}
</head>
</__body>
<div id="page">
<div id="header" class="clearfix">
</div><!-- end header -->
<div id="menu_horiz" align="center">
<div id="wrapper" align="center">
{cms_module module='EllNav' horizontal=1 toponly=1 cssid='topmenu'}
</div>
<hr />
</div>
<div id="menu_vert">
<h3>Menu</h3>
{cms_module module='EllNav' cssid='leftmenu' showtoplevel=0}
</div><!-- end nav -->
<div id="content" class="clearfix">
<div id="main">
{content}
</div>
<!--div id="content2">
<h3>2nd content block</h3>
{content block='block1'}
</div-->
</div><!-- end content -->
<div id="footer" class="clearfix">
<p>© Copyright 2005 PhotoJoy Designs<br>Hosting By: PJD Hosting & Design</p>
</div><!-- end footer -->
</div><!-- end page -->
<div id="extra1"> </div>
<div id="extra2"> </div>
<__body>
</__html>
Code: Select all
/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */
/* NAV */
div#menu_horiz {
font-size: 0.8em;
text-align: center;
}
* html div#menu_horiz {
/* hide ie/mac \*/
height: 1%;
/* end hide */
}
div#menu_horiz {
background: #ddd;
}
div#menu_horiz ul {
width: auto;
width: 100%;
margin: 0;
padding: 0;
line-height: 1em;
list-style: none;
}
div#menu_horiz li {
float: left;
list-style: none;
margin: 0;
padding: 0;
line-height: 1em;
border-right: 1px solid #aaa;
text-align: center;
}
div#menu_horiz li.last {
border-right: none;
}
div#menu_horiz a,
div#menu_horiz a:link,
div#menu_horiz a:active,
div#menu_horiz a:visited {
display: inline-block;
/* hide from ie/mac \*/
display: block;
/* end hide */
font-weight: bold;
text-decoration: none;
margin: 0;
padding: 10px 20px;
color: black;
background: #ddd;
}
div#menu_horiz a:hover {
text-decoration: underline;
}
div#menu_horiz .active {
display: inline-block;
/* hide from ie/mac \*/
display: block;
/* end hide */
color: white;
background: black;
}
div#menu_horiz .current a,
div#menu_horiz .current a:link,
div#menu_horiz .current a:active,
div#menu_horiz .current a:visited,
div#menu_horiz .current a:hover,
div#menu_horiz .active a,
div#menu_horiz .active a:link,
div#menu_horiz .active a:active,
div#menu_horiz .active a:visited,
div#menu_horiz .active a:hover
{
color: white;
background-color: black;
}
/* END NAV */
As you can see, I need the menu in the middle with a grey space on both the left and right, not just the right.
If anyone can help, it would be greatly appreciated.
