Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 11th, 2007, 01:03 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default x browser issue and IE7 on a PC

CAn anyone suss out a x browser issue for me? the url is http://www.adclweb.com/dev/st-oseaisland - the main menu needs to stretch to 100% and there needs to be only 1px between each navigation button.

Here's the coding:

#maintab{
padding: 0px 0px 0px 5px;
margin-left: 5px;
margin-right:0px;
margin-top:3px;
margin-bottom: 4px;
font: bold 12px Verdana;
list-style-type: none;
}

#maintab li{
display: inline;
margin: 0px;
padding:0px 2px;
}

#maintab li a{
text-decoration: none;
padding: 3px 7px;
margin-right: 0px;
margin-left:0px;
border: 1px solid #FFFFFF;
color: #FFFFFF;
background: #126260;
}

#maintab li a:hover{
color: #FFFFFF;
background: #00A0AF;
}

#maintab li.selected a{ /*selected main tab style */
background-color: #DD7D26;
border-color: #FFFFFF;
}

and here's the html:

  <ul id="maintab">
   <li><a href="home.asp" title="Home"><span class="widthspan">Home</span></a></li>
   <li><a href="addiction.asp" title="Addiction"><span class="widthspan">Addiction</span></a></li>
    <li><a href="grouptherapy.asp" title="Therapy"><span class="widthspan">Therapy</span></a></li>
    <li><a href="facilities.asp" title="Facilities"><span class="widthspan">Facilities</span></a></li>
    <li><a href="expertise.asp" title="Expertise"><span class="widthspan">Expertise</span></a></li>
    <li><a href="press.asp" title="Press"><span class="widthspan">Press</span></a></li>
    <li><a href="testimonials.asp" title="Press"><span class="widthspan">Testimonials</span></a></li>
    <li class="selected"><a href="nextstep.asp" title="Next Step"><span class="widthspan">Next Step</span></a></li>
  </ul>


In IE7 on a pc I can't get it to stretch to 100% with a 1px gap between each and on Safari and Mozilla on a Mac, you get a gap either end (more on the right than the left)

thanks

Adam






Similar Threads
Thread Thread Starter Forum Replies Last Post
VC++ 2005 PC ERROR @ PC STARTUP -JUST IN TIME DBUG CPPGUY Visual C++ 2005 0 October 3rd, 2008 12:52 PM
CSS overflow:hidden issue in IE6 and IE7 kwilliams CSS Cascading Style Sheets 1 May 27th, 2008 05:44 AM
IE7 Padding issue. socoolbrewster CSS Cascading Style Sheets 6 January 9th, 2007 04:56 AM
Detecting Pocket PC device on Browser johnnycorpse Classic ASP Basics 2 May 25th, 2005 07:57 AM
PHP/Apache install issue.."blank" browser page dgr72371 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 6 June 15th, 2004 11:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.