Current location: Hot Scripts Forums » General Web Coding » CSS » Secondary menu Problems


Secondary menu Problems

Reply
  #1 (permalink)  
Old 01-24-07, 04:26 PM
Alith7's Avatar
Alith7 Alith7 is offline
Newbie Coder
 
Join Date: Oct 2006
Location: Lost in the black hole of my mind
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Secondary menu Problems

we have a secondary menu for some of the pages in our site.
Here is the link to see it http://digitaledgecc.com/services.php

For some reason, no matter how I set up the positioning, it has that huge gap on the left, it should have only a 1px spacing to allow for the border.

Here is the DIV tag codes:
Code:
<div id="services">
  <h1>We're here for you . . .</h1>
      <img src="images/james.jpg" width="280" height="210" hspace="25" vspace="15" align="right"/>
	  <p>and because of you!  Everyone here are Digital Edge is here to serve you! Without our valuable customers, we wouldn't be where we are today.</p>
      <p>Please use the menu on left to explore just a few of the many services we have to offer all our clients.  </p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  </div>

  <div id="servnav">
	<ul>
	   <li><a href="copy_cap.php">Copying</a></li>
	   <li><a href="wide_cap.php">Wide Format</a></li>
       <li><a href="press_cap.php">Printing</a></li>
       <li><a href="prepress_cap.php">Prepress</a></li>
	   <li><a href="finish_cap.php">Finishing</a></li>
    </ul>
	</div>
and here are the CSS codes that apply
Code:
#maincontent {
  width: 799px;
  background: #FFF url(../images/edge.jpg) top right repeat-y;
  border-left: #E21D24 solid 1px;
  margin: 0;
  padding: 0;
  font-size: 85%;
  }
#servnav {
  float: left;
  width: 110px;
  }
#servnav ul {
  list-style: none;
  }
/* style the links in the nav list */
#servnav a {
  display:block;
  margin: 0;
  width: 103px;
  height: 1em;
  padding: 4px 0 4px 10px;
  text-decoration: none;
  font-variant:small-caps;
  font-weight:bold;
  font-size: 100%;
  }
#servnav a:link, #servnav a:visited {
  background-color:#E21D24;
  border-left: #D4C5DF solid 2px;
  border-top: #D4C5DF solid 2px;
  border-right: #4B1557 solid 2px;
  border-bottom: #4B1557 solid 2px;
  color:#fff;
  }
#servnav a:hover, #servnav a:active {
  background-color: #FFF;
  border-left: #4B1557 solid 2px;
  border-top: #4B1557 solid 2px;
  border-right: #E8DEF0 solid 2px;
  border-bottom: #E8DEF0 solid 2px;
  color: #E21D24;
  }
#services {
  width: 645px;
  margin: 0;
  padding: 0;
  font-size: 85%;
  float: right;
  }
Any ideas??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 01-24-07, 07:28 PM
jfulton's Avatar
jfulton jfulton is offline
Community VIP
 
Join Date: Apr 2006
Location: Los Angeles, CA
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
#servnav ul {
  list-style: none;
  margin:0;
  padding:0;
  }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 01-25-07, 08:25 AM
Alith7's Avatar
Alith7 Alith7 is offline
Newbie Coder
 
Join Date: Oct 2006
Location: Lost in the black hole of my mind
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
that worked, thank you so much!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Menu tobyjoiner CSS 3 12-11-06 02:45 PM
Menu problems needforhelp Visual Basic 2 09-15-06 08:06 AM
Menu problems... dflies CSS 2 10-21-05 02:16 PM
Xml / Dom / Css Mark_SC.SE JavaScript 0 06-29-05 09:05 AM
Simple tree menu w/ html and js? zcorpan JavaScript 2 06-18-04 07:17 PM


All times are GMT -5. The time now is 12:47 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.