Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Can't get site width and positioning to display right in IE 6 & 7 - Code in post
Old 04-01-2009, 11:52 PM Can't get site width and positioning to display right in IE 6 & 7 - Code in post
Novice Talker

Posts: 8
Name: Kate
Trades: 0
This site displays as intended in Firefox, Safari and some versions of IE. But it is horribly off in IE 6 & 7.

I know it has something to do with margins, padding and width of the divs and floats, but I can't figure out how to fix it.

Posting HTML and CSS below. Thanks in advance!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Kate M. Gilbert</title>
<link href="KMG.css" rel="stylesheet" type="text/css" />


<body id="Welcome">
<div id="container">
<div id="banner">
<div id="flash"></div>
<div id="headerText">
<h1>Aliquam pellentesque</h1>
<h3>Proin nisl erat,</h3>
</div>
</div>

<div id="top_navlist">
<ul id="navlist">
<li><a href="#', 'contentBody')"; id="#">Vestibulum</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Nullam</a></li>
<li><a href="#">malesuada</a></li>
<li><a href="#">Praesent</a></li>
<li><a href="#">dignissim</a></li>
</ul>
</div>

<div id="content">

<div id="contentBody">
<div id="sidebarLT"></div>

<div id="mainContent">
<h2>Cras mi lacus,</h2>
<p> Curabitur lacinia purus quis nisl. Fusce imperdiet interdum augue. Curabitur quis quam eget sem imperdiet faucibus. Nulla vitae erat quis urna bibendum euismod. Nunc velit enim, ornare in, consequat consequat, lobortis a, erat. Curabitur nec nulla.</p>
<p>
<img src="images/spacer.gif" width="30" height="5" />Donec sit amet enim.<br />
<img src="images/spacer.gif" width="30" height="5" />Ut magna turpis, # <br />
<img src="images/spacer.gif" width="30" height="5" /><a href="http://www.wordpress.org" title="WordPress" target="_blank">WordPress</a> training and support<br />
<img src="images/spacer.gif" width="30" height="5" />sodales elementum, vestibulum at, vu
</p>
<p>Cras velit turpis, suscipit sit amet, auctor facilisis, sodales eget, felis. Curabitur in mi. Pellentesque at risus. </p>
</div>
</div>
</div>

<p align="center">
<div id="footerLinks">
<p align="center">
<b>Designed by <a href="#">Kate M. Gilbert </a><br />Copyright 2009</b></p>
</div>
</p>

</div>

</body>
</html>



/*
WP Design template for Department of Medicine site, Jan. 2009
*/
/*/////////////GENERAL////////////////////////////////////////////*/
body{
margin:0px;
text-align:center;
padding:20px;
}
#banner {
height:200px;
}
#container {
margin: 0 auto;
width: 1190px;
height:100%;
height:800px;
background-image:url(images/silverWithBorder.gif);
background-repeat:repeat;
}
#container2 {
width: 180px;
height:450px;
overflow-y: auto;
overflow-x: hidden;
}
#containerBody {
}
#content {
margin-left: 85px;
margin-right: 85px;
width: 1020px;
height: 400px;
float: left;
background:url(images/linenBG.gif);
background-repeat:repeat;
overflow;
border-color:#333333;
border-bottom-width:thick;
}
#flash {
float: left;
width: 350px;
height: 205px;
margin-top:15px;
margin-bottom: 15px;
margin-left: 85px;
background-image:url(images/Hummingbird.gif);
}
#contentBody {
margin: 0 0;
padding:10px;
float: right;
width: 990px;
}

#mainContent {
width:780px;
text-align:left;
padding: 10px;
margin-left:200px;
}
#headerText{
float: left;
margin-top: 10px;
margin-left: 50px;
text-align:left;
padding-top: 50px;
}

div.items p {display: none}
div.items p:target {display: block}



/*////////// SIDEBARS //////////*/
#sidebarLT {
width: 170px;
height: 250px;
float: left;
padding-left: 15px;
}
#sidebarContent {
margin-bottom: 10px;
text-align:left;
}
#sidebarRT {
width: 170px;
height: 250px;
float: left;
padding-left: 15px;
}

#widgets {
width: 200px;
height: 450px;
float: left;
padding-top: 15px;
background-color:#E0E0E0;
}
/*////////////TYPOGRAPHY///////////////////////////////////////*/

h1 {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:36px;
color:#212121;
font-weight:bold;
line-height:40px;
}
h2 {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 30px;
color:#212121;
line-height:40px;
font-weight:bold;
}
h3 {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 24px;
line-height: 28px;
}
h4 {
font-size: 16px;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
p {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 16px;
}
i {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 16px;
}
a {
color: #12284e;
text-decoration: none;
font-weight: bold;
}
a:link {
color: #12284e;
}
a:visited {
color: #754d0d;
}
a:hover {
color: #754d0d;
text-decoration:underline;
}
a:active {
color: #12284e;
}

/*////////// HEADERS //////////*/

#header p, #header h1, #header h2/**/ {
display: none;
}

/*//////////////////////TEXT HEADERS/////////////////////////////*/

#contentHeader {
margin: 0 0;
float: right;
background-image: url(New%20site/images/big-headers.gif);
background-repeat:repeat-x;
width: 600px;
}
#sidebarHeader {
margin: 0 0px;
background-image: url(New%20site/images/big-headers.gif);
background-repeat:repeat-x;
width: 260px;
}
#sidebarBody {
padding:10px;
background-color:#FFF;
width: 180px;
float:right;
}

/*////////////////////// NAV ///////////////////////////////////*/
body#patient a#patientLink,
body#education a#educationLink,
body#research a#researchLink {
background: url(New%20site/images/singleTabs.gif) no-repeat;
background-color:#212121;
background-position: 0 -45px;
}

#top_navlist {
top: 280px;
width: 1020px;
float:left;
text-align:right;
margin-left:85px;
}

#top_navlist h2{
display: none;
}
#navlist{
font-weight:bold;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 18px;
line-height: 40px;
}
#navlist li{
float: right;
text-align: center;
width:160px;
height: 45px;
list-style-type:none;
}
#navlist a {
display: block;
}
#navlist ul {
margin: 0;
}
#navlist li a{
background:url(images/singleTabs.gif);
color: #E0E0E0;
}

#navlist li a:link { color: #E0E0E0; }

#navlist li a:visited { color: #E0E0E0; }

#navlist li a:hover{
background-position: 0 -45px;
color: #212121;
text-decoration: none;
}
#navlist li.current_page_item a{
background-color:#E0E0E0;
background-position: 0 -45px;
}
#navlist li a#current{
color: #E0E0E0;
background: url(New%20site/images/singleTabs.gif) no-repeat;
background-position: 0 -45px;
}


#silver_navlist {
width: 180px;
float: right;
margin-left: 15px;
margin-right: 15px;
}

#pushbottom{
clear: both;
}
/*////////////////////// FOOTER ///////////////////////////////////*/
#footer {
margin: 0 auto;
height: 80px;
width: 1190px;
background-image:url(images/Silverbg.gif);
background-repeat:repeat;
}

#footerRight {
margin: 0 auto;
width: 200px;
float: right;
padding-top: 5px;
}
#footerLinks {
width: 400px;
float:left;
margin-left: 385px;
margin-right:385px;
font-size:16px;
}

#footerLeft {
margin: 0 auto;
width: 200px;
float:left;
padding-top: 5px;
}


/*TOC Nav*/
.tocNav{
padding-left: 0;
margin-left: 0;
width: 200px;
}

tocNav li{
list-style: none;
margin: 0;
padding: 0.25 em;
}

tocNav li a { text-decoration: none; }
ScratchK is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-02-2009, 03:13 AM Re: Can't get site width and positioning to display right in IE 6 & 7 - Code in post
NewBreed's Avatar
Extreme Talker

Posts: 223
Name: Johnny
Location: Washington
Trades: 0
I'd love to help but I don't have access to IE at the moment.
Don't worry about posting code on the forum. Just post your website and help will come... This will be the most helpful for people to troubleshoot your code. I'll help in the morning when I can get to a M$ computer if this problem isn't solved.
NewBreed is offline
Reply With Quote
View Public Profile
 
Old 04-02-2009, 11:57 AM Re: Can't get site width and positioning to display right in IE 6 & 7 - Code in post
Novice Talker

Posts: 8
Name: Kate
Trades: 0
Thanks. Here's the website: http://www.katemgilbert.com (it is still under construction... I'm a newbie... have mercy on the design!)
ScratchK is offline
Reply With Quote
View Public Profile
 
Old 04-02-2009, 01:48 PM Re: Can't get site width and positioning to display right in IE 6 & 7 - Code in post
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
For one thing, you are triggering IE6's doubled-float margin bug here:

Quote:
#content {
margin-left: 85px;
margin-right: 85px;
width: 1020px;
height: 400px;
float: left;
background:url(images/linenBG.gif);
background-repeat:repeat;
overflow:auto;
border-color:#333333;
border-bottom-width:thick;
}
When you float an element and give it a margin that goes in the same direction as the float, as you did above, IE6 will incorrectly DOUBLE that margin. So, here's where you need conditional comments to call a separate CSS file that contains the 'fixes' necessary to make IE behave. The fix for this bug is to feed IE a display:inline for #content - and any other element you've done this with.

As for the rest, it is generally NOT a good practice to apply margins AND padding to a div like that - not unless you fully understand the box model and completely calculate your widths.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-02-2009, 01:52 PM Re: Can't get site width and positioning to display right in IE 6 & 7 - Code in post
TripleMoons's Avatar
Webmaster Talker

Posts: 614
Name: Stephanie Kunder
Location: Hanover, PA
Trades: 0
How is it supposed to look? I'm looking at in FF for Mac and it doesn't look like I would think it should look.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

TripleMoons is offline
Reply With Quote
View Public Profile Visit TripleMoons's homepage!
 
Old 04-02-2009, 02:04 PM Re: Can't get site width and positioning to display right in IE 6 & 7 - Code in post
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I just looked at the site -- WHY are you using spacer gifs ??? Put that LIST of your 'services' in a proper LIST and use margins and padding to achieve the spacing.

Validate your code - you have <script> tags OUTSIDE of the <head> - not valid.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-02-2009, 10:39 PM Re: Can't get site width and positioning to display right in IE 6 & 7 - Code in post
Novice Talker

Posts: 8
Name: Kate
Trades: 0
Thank you all for your comments and patience. I am a newbie trying to do this for a class assignment.

The conditional commenting for IE helped with the float positioning but not the site width issue. The silver background still stretches past the right side of the page in low-res versions of IE, forcing a horizontal scroll for the whole page.

Any tips on how I can fix that? Current codes are below:

Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Kate M. Gilbert</title>
<link href="KMG.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">

/***********************************************
* Dynamic Ajax Content- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no)
var loadedobjects=""
var rootdomain="http://"+window.location.hostname
var bustcacheparameter=""

function ajaxpage(url, containerid){
var page_request = false
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
}
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}
}
else
return false
page_request.onreadystatechange=function(){
loadpage(page_request, containerid)
}
if (bustcachevar) //if bust caching of external page
bustcacheparameter=(url.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
page_request.open('GET', url+bustcacheparameter, true)
page_request.send(null)
}

function loadpage(page_request, containerid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=pag e_request.responseText
}

function loadobjs(){
if (!document.getElementById)
return
for (i=0; i<arguments.length; i++){
var file=arguments[i]
var fileref=""
if (loadedobjects.indexOf(file)==-1){ //Check to see if this object has not already been added to page before proceeding
if (file.indexOf(".js")!=-1){ //If object is a js file
fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", file);
}
else if (file.indexOf(".css")!=-1){ //If object is a css file
fileref=document.createElement("link")
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", file);
}
}
if (fileref!=""){
document.getElementsByTagName("head").item(0).appe ndChild(fileref)
loadedobjects+=file+" " //Remember this object as being already added to page
}
}
}

</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

</head>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6778179-3");
pageTracker._trackPageview();
} catch(err) {}</script>

</head>

<body id="Welcome">

<div id="container">

<div id="banner">

<div id="flash"></div>

<div id="headerText">
<h1>Kate M. Gilbert</h1>
<h3>Web Services Specialist</h3>
</div>
</div>

<div id="top_navlist">
<ul id="navlist">
<li id="navlist"><a href="javascript:ajaxpage('http://www.katemgilbert.com/recommendations.html', 'contentBody')"; id="recommendations">Reviews</a></li>
<li id="navlist"><a href="javascript:ajaxpage('http://www.katemgilbert.com/contactMe.html', 'contentBody')"; id="contactMe">Contact</a></li>
<li id="navlist"><a href="javascript:ajaxpage('http://www.katemgilbert.com/findme.html', 'contentBody')"; id="findMe">Find Me</a></li>
<li id="navlist"><a href="javascript:ajaxpage('http://www.katemgilbert.com/socialMedia.html', 'contentBody')"; id="socialMedia">Your "Webume"</a></li>
<li id="navlist"><a href="javascript:ajaxpage('http://www.katemgilbert.com/webDesign.html', 'contentBody')"; id="webDesign">Web Work</a></li>
<li id="navlist"><a href="javascript:ajaxpage('http://www.katemgilbert.com/welcome.html', 'contentBody')"; id="Welcome">Welcome</a></li>
</ul>
</div>

<div id="content">

<div id="contentBody">
<!--<div id="sidebarLT">
<img src="images/Me_081808.gif" /> </div>-->

<div id="mainContent">
<img src="images/Me_081808.gif" align="right" hspace="2"/>
<h2>Offering Complete Web Services</h2>
<p> In today's world, your website is your first impression on the public. Kate M. Gilbert is a skilled web professional who has worked with businesses large and small, for profit and non-profit, to build, maintain and enhance the information they convey to the public via the web. Whether you're a yoga studio, a dentist's office or an individual looking to promote yourself online, Kate can build solutions to fit your needs, including: </p>
<ul><li>Custom web design<br />
<li>Custom <a href="http://www.wordpress.org" title="WordPress.org" target="_blank">WordPress</a> theme design<br />
<li><a href="http://www.wordpress.org" title="WordPress" target="_blank">WordPress</a> training and support<br />
<li>Online social media management for individuals and small business<br />
<li>Interactive media presentations using <a href="http://www.adobe.com/products/captivate/" title="Adobe Captivate" target="_blank">Adobe Captivate</a><br />
<li>Print-based promotions<br />
<li>Logo and branding design<br /></ul>
<p>Kate M. Gilbert comes from a health communication background and has a Master Degree in Health Communication from <a href="http://www.emerson.edu/admission/graduate/academics/hc.cfm" title="Emerson/Tufts Health Comm Program" target="_blank">Emerson College in collaboration with Tufts University</a>.
She graduated from the <a href="http://www.holycross.edu" title="College of the Holy Cross" target="_blank">College of the Holy Cross</a> in Worcester, MA with a Bachelor's degree in English and Philosophy. Kate lives in Belmont, MA with her husband, Evan, and two dogs, Nietzsche and Camus.</p>
</div>

</div>
</div>
</div>

<p align="center">
<div id="footerLinks">
<p align="center">
<b>Designed by <a href="mailto:kate@katemgilbert.com">Kate M. Gilbert </a><br />Copyright 2009</b></p>
</div>
</p>

</div>

</body>
</html>
Quote:
/*
WP Design template for Department of Medicine site, Jan. 2009
*/
/*/////////////GENERAL////////////////////////////////////////////*/
body{
margin:0px;
text-align:center;
padding:20px;
/*[if eq IE7 ]>
display:inline
width: 80%;
margin: 0 auto;
}
<![endif]*/
}
#banner {
height:200px;
}
#container {
margin: 0 auto;
width: 1190px;
height:100%;
height:800px;
background-image:url(images/silverWithBorder.gif);
background-repeat:repeat;
}
#container2 {
width: 180px;
height:450px;
overflow-y: auto;
overflow-x: hidden;
}
#containerBody {
}
#content {
margin-left: 85px;
margin-right: 85px;
width: 1020px;
height: 400px;
float: left;
background:url(images/linenBG.gif);
background-repeat:repeat;
overflow;
border-color:#333333;
border-bottom-width:thick;
/*[if eq IE7 ]>
display:inline }
<![endif]*/
}
#flash {
float: left;
width: 350px;
height: 205px;
margin-top:15px;
margin-bottom: 15px;
margin-left: 85px;
background-image:url(images/Hummingbird.gif);
}
#contentBody {
margin: 0 0;
padding:10px;
float: right;
width: 990px;
}

#mainContent {
width:90%;
text-align:left;
padding: 10px;
overflow:hidden;
}
#headerText{
float: left;
margin-top: 10px;
margin-left: 50px;
text-align:left;
padding-top: 50px;
}

div.items p {display: none}
div.items p:target {display: block}



/*////////// SIDEBARS //////////*/
#sidebarLT {
width: 170px;
height: 250px;
float: left;
padding-left: 15px;
/*[if eq IE7 ]>
display:inline }
<![endif]*/
}
#sidebarContent {
margin-bottom: 10px;
text-align:left;
}
#sidebarRT {
width: 170px;
height: 250px;
float: left;
padding-left: 15px;
/*[if eq IE7 ]>
display:inline }
<![endif]*/
}

#widgets {
width: 200px;
height: 450px;
float: left;
padding-top: 15px;
background-color:#E0E0E0;
}
/*////////////TYPOGRAPHY///////////////////////////////////////*/

h1 {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:36px;
color:#212121;
font-weight:bold;
line-height:40px;
}
h2 {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 30px;
color:#212121;
line-height:40px;
font-weight:bold;
}
h3 {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 24px;
line-height: 28px;
}
h4 {
font-size: 16px;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
p {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 16px;
}
i {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 16px;
}
a {
color: #12284e;
text-decoration: none;
font-weight: bold;
}
a:link {
color: #12284e;
}
a:visited {
color: #754d0d;
}
a:hover {
color: #754d0d;
text-decoration:underline;
}
a:active {
color: #12284e;
}
ul {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 16px;
}

li {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 16px;
}

/*////////// HEADERS //////////*/

#header p, #header h1, #header h2/**/ {
display: none;
}

/*//////////////////////TEXT HEADERS/////////////////////////////*/

#contentHeader {
margin: 0 0;
float: right;
background-image: url(New%20site/images/big-headers.gif);
background-repeat:repeat-x;
width: 600px;
/*[if eq IE7 ]>
display:inline }
<![endif]*/
}
#sidebarHeader {
margin: 0 0px;
background-image: url(New%20site/images/big-headers.gif);
background-repeat:repeat-x;
width: 260px;
}
#sidebarBody {
padding:10px;
background-color:#FFF;
width: 180px;
float:right;
/*[if eq IE7 ]>
display:inline }
<![endif]*/
}

/*////////////////////// NAV ///////////////////////////////////*/
body#patient a#patientLink,
body#education a#educationLink,
body#research a#researchLink {
background: url(New%20site/images/singleTabs.gif) no-repeat;
background-color:#212121;
background-position: 0 -45px;
}

#top_navlist {
top: 280px;
width: 1020px;
float:left;
text-align:right;
margin-left:85px;
/*[if eq IE7 ]>
display:inline }
<![endif]*/
}

#top_navlist h2{
display: none;
}
#navlist{
font-weight:bold;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 18px;
line-height: 40px;
}
#navlist li{
float: right;
text-align: center;
width:160px;
height: 45px;
list-style-type:none;
/*[if eq IE7 ]>
display:inline }
<![endif]*/
}
#navlist a {
display: block;
}
#navlist ul {
margin: 0;
}
#navlist li a{
background:url(images/singleTabs.gif);
color: #E0E0E0;
}

#navlist li a:link { color: #E0E0E0; }

#navlist li a:visited { color: #E0E0E0; }

#navlist li a:hover{
background-position: 0 -45px;
color: #212121;
text-decoration: none;
}
#navlist li.current_page_item a{
background-color:#E0E0E0;
background-position: 0 -45px;
}
#navlist li a#current{
color: #E0E0E0;
background: url(New%20site/images/singleTabs.gif) no-repeat;
background-position: 0 -45px;
}
#sideNav {
width:200px;
float: right;
text-align:center;
margin-bottom: auto;
margin-top:15px;
margin-right: 15px;
}
#sideNavlist{
font-weight:bold;
font-family: Arial, Helvetica, sans-serif;
font-size: 22px;
line-height:45px;
margin-botton: 15px;
margin-left:-10px;
margin-top: -5px;
}
#sideNavlist li{
float:left;
text-align:center;
width:200px;
list-style-type:none;
margin-left: 0px;
list-style-positionutside;
margin-left: -20px;
}
#sideNavlist a {
display: block;
}
#sideNavlist li a{
background: url(New%20site/images/sidenavButtons.gif) no-repeat;
color:#212121;
}

#sideNavlist li a:link { color: #212121; }

#sideNavlist li a:visited { color: #000000; }

#sideNavlist li a:hover{
color: #000000;
background-position: 0 -45px;
}

#sideNavlist li a#current{
background: white;
}
#links_navlist {
width: 150px;
padding-left:0px;
padding-bottom:10px;
}
#links{
font-weight:bold;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 35px;
text-align:left;
}
#links li{
width:150px;
list-style-type:none;
list-style-position: inside;
padding: 0px;
margin-left: -40px;
}
#links a {
display: block;
text-decoration:none;
}
#links ul {
float:left;
padding:0px;
margin:0px;
list-style-position:inside;
}
#links li a{
background:url(images/pageLinks.gif);
color: #212121;
}

#links li a:link { color: #212121; }

#links li a:visited { color: #212121; }

#links li a:hover{
background-position: 0 -35px;
}
#links li.current_page_item a{
background-color:#616161;
background-position: 0 -35px;
}
#links li a#current{
color: #212121;
}
#silver_navlist {
width: 180px;
float: right;
margin-left: 15px;
margin-right: 15px;
}
#menu {
width: 180px;
text-align:left;
margin-right: 0px;
}
#menu ul {
list-style: none;
margin: 0;
padding: 0;
}
#menu a, #menu h2 {
font: bold 14px/18px Arial, Helvetica, sans-serif;
line-height: 26px;
display: block;
border-width: 1px;
border-style: solid;
border-color: #ccc #888 #555 #bbb;
margin: 0;
padding: 2px 3px;
}

#menu h2 {
color: #212121;
background-image:url(New%20site/images/banner.gif);
text-transform: uppercase;
text-align:left;
}

#menu a {
color: #212121;
background: #E0E0E0;
text-decoration: none;
}

#menu a:hover {
color: #a00;
background: #fff;
}

#menu li {
position: relative;
}

#menu ul ul ul {
position: absolute;
top: 0;
left: -100%;
width: 100%;
}

#menu ul ul ul li a{
font: bold 12px Arial, Helvetica, sans-serif;
line-height: 16px;
}

div#menu ul ul ul
{display: none;}

div#menu ul ul li:hover ul
{display: block;}

div#menu ul ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul ul li:hover ul
{display: block;}

div#menu ul ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}

#pushbottom{
clear: both;
}
/*////////////////////// FOOTER ///////////////////////////////////*/
#footer {
margin: 0 auto;
height: 80px;
width: 1190px;
background-image:url(images/Silverbg.gif);
background-repeat:repeat;
}

#footerRight {
margin: 0 auto;
width: 200px;
float: right;
padding-top: 5px;
}
#footerLinks {
width: 400px;
float:left;
margin-left: 385px;
margin-right:385px;
font-size:16px;
}

#footerLeft {
margin: 0 auto;
width: 200px;
float:left;
padding-top: 5px;
}


/*TOC Nav*/
.tocNav{
padding-left: 0;
margin-left: 0;
width: 200px;
}

tocNav li{
list-style: none;
margin: 0;
padding: 0.25 em;
}

tocNav li a { text-decoration: none; }


#b {
font-style: italic;
}
b {
font-weight: bold;
}
#b {
font-weight: bold;
font-style: normal;
font-family: Arial, Helvetica, sans-serif;
}
#b {
font-family: "Arial Black", Gadget, sans-serif;
}
ScratchK is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can't get site width and positioning to display right in IE 6 & 7 - Code in post
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.33912 seconds with 12 queries