May 8, 201016 yr Please disregard the entire mess this site is in (I just started designing it a few hours ago)... there is ONE thing that I cannot fix for the life of me, and it is this one-pixel gap between my header links and the rest of stuff. Please check it out: See how when you roll over the links in the header, there's a teensy space in between? I want it to eventually imitate a tabbed look so that when you roll over it, it has a tab effect (and coloring will be adjusted) but can someone please please please help me get rid of that gap? here's my CSS so you don't even have to open another source file up: /* Global - affects entire page incl. header */ body { background-image: url(images/background2.gif); margin-top: 5px; } div.header {width: 950px; margin-left:auto; margin-right:auto;} table.allcontent {width:950px; border:none; border-spacing:0px; margin-left:auto; margin-right:auto; padding:0px; margin-top: 0px;} table.header {border:none; width: 950px; border:none; border-spacing:0px; padding:0px; margin-bottom: 0px; } tr.header {background-color:#ffffff; margin: 0px; border-spacing:0px padding:0px;;} tr.headerlinks {background-color:black;} td.header {padding: 0px; margin: 0px; border-spacing:0px; padding:0px;} td.leftcol {width: 200px; background-color: black; border-spacing:0px; margin: 0px; padding:0px; border-right: 2px #6CF solid;} td.maincontent {background-color: #FFFFFF; width:750px;} tr.footer {background-color: #cccccc;} div.leftcolcontainer {font-family:Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold; } /* Links - Link styles only */ a {font-family: Tahoma, Verdana, Geneva, sans-serif;} div.helpsidelink {background-color: none; padding: 5px;} div.helpsidelink:hover {background-color: #AA0000; padding: 5px;} div.sidelink {background-color: none; padding: 5px;} div.sidelink:hover {background-color: #000044; padding: 5px;} a.helpsidelink {color: white; text-decoration: none; } a.sidelink {color: white; text-decoration: none; font-size: 13px; } /* Header Links */ div.headerlinks {text-align:right; padding:4px; font-family: Arial, Verdana, Geneva, sans-serif; font-size: 13px; font-weight: bold; margin-right: 10px;} a.headerlink {color: white; background-color: none; padding: 4px; text-decoration: none; margin-left: 5px;} a.headerlink:visited {color: white; background-color: none; text-decoration: none; margin-left: 5px;} a.headerlink:active {color: white; background-color: none; text-decoration: none; margin-left: 5px;} a.headerlink:hover {color: black; background-color: #ffffff; text-decoration: none; margin-left: 5px;} a.headerlinkcurrent {color: black; background-color: white; padding: 4px; text-decoration: none; margin-left: 5px;} a.headerlinkcurrent:visited {color: black; background-color: white; padding: 4px; text-decoration: none; margin-left: 5px;} a.headerlinkcurrent:active {color: black; background-color: white; padding: 4px; text-decoration: none; margin-left: 5px;} a.headerlinkcurrent:hover {color: black; background-color: white; padding: 4px; text-decoration: underline; margin-left: 5px;} /* Content - Affects content only */ div.disclaimer {font-family:Verdana, Geneva, sans-serif; font-size:10px; padding-top: 3px; padding-bottom: 3px;} thanks x 10000000! this has been stressing me out for over an hour!
May 8, 201016 yr Author That was... way simple. Almost... too simple! Could that possibly affect any other code in the future? Let me know. You're a lifesaver!
May 8, 201016 yr That was... way simple. Almost... too simple! Could that possibly affect any other code in the future? Let me know. You're a lifesaver! If you're in doubt, just include a reset stylesheet. This is the core reset.css that I use. Hope this helps. reset.css
May 8, 201016 yr Author If you're in doubt, just include a reset stylesheet. This is the core reset.css that I use. Hope this helps. How awesome. Thank you!
Create an account or sign in to comment