Current location: Hot Scripts Forums » General Web Coding » CSS » [SOLVED] CSS Newb - Overlap issue IE6, 2 links issue

[SOLVED] CSS Newb - Overlap issue IE6, 2 links issue

Reply
  #1  
Old 06-11-08, 10:12 AM
Shadowfax Shadowfax is offline
New Member
 
Join Date: Jun 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] CSS Newb - Overlap issue IE6, 2 links issue

I want to start off by saying I've never tried any kind of coding before, so jumping right in to try the website is probably not smart. I validated my code on WC3 and it seemed to do great in Firefox, then I opened it in IE 6 and well, yeh.

The more I stare at it, the more issues I find. I got it down to 4, two I'm sure I can fix, so here are the two I know I cannot.

On the footer nav, the first two links don't work! I have NO idea why because the whole set is contained within the span. The third link doesn't even want to work until you hover over the last couple letters.

And the even bigger issue, opened in IE6, the main nav is pushed over to the right and overlaps the body content. I've read some stuff that says that's a padding issue, but I am unsure how to go about the fix. Even the "detailed" explanations are confusing to me.

The website is atlantatalentum.com - View source will allow you to see my html. I've commented out some things I will want to use for other pages in the future. I wanted to keep it simple for now.

Here's the CSS.

Thanks in advance for all your help! Feel free to email me with suggestions!

css Code:
  1. @charset "utf-8";
  2. /* CSS Document for Atlanta Talentum by Shadowfax*/
  3.  
  4. /* Page Styling */
  5.  
  6. * {
  7.     margin: 0px;
  8.     padding: 0px;
  9. }
  10.  
  11. html {
  12.     scrollbar-face-color: #99b;
  13.     scrollbar-arrow-color: #fff;
  14.     scrollbar-highlight-color: #fff;
  15.     scrollbar-shadow-color: #99c;
  16.     scrollbar-3dlight-color: #000;
  17. }
  18.  
  19.  
  20. body {
  21.     background: #7a3233 url(images/Left-Side-Border.jpg) left top repeat-x;
  22.     z-index: 1;
  23.     margin: 0px auto;
  24.     font-family: Georgia, Calisto MT, Garamond, serif;
  25.     float: inherit;
  26. }
  27.  
  28.  
  29. div.layoutbox {
  30.     width: 760px;
  31.     margin: 0px auto;
  32.    
  33. }
  34.  
  35.  
  36.    
  37. /* Styling */
  38.  
  39. div#header {
  40.     width:645px;
  41.     height:213px;
  42.     font-size: 10px;
  43.     text-align: left;
  44.     clear: both;
  45.     margin: 0px;
  46.     color: #000000;
  47.     background-image: url(images/Header.jpg);
  48.     background-repeat: no-repeat;
  49. }
  50.  
  51. div#nav {
  52.     position: absolute;
  53.     top: 213px;
  54.     width: 159px;
  55.     height: 462px;
  56.     font-size: 10px;
  57.     text-align: left;
  58.     padding: 0px 40px 40px 5px;
  59.     clear: both;
  60.     margin: 0px;
  61.     color: #000000;
  62.     background-image: url(images/Navigation.jpg);
  63.     background-repeat: no-repeat;
  64.     z-index: auto;
  65.        
  66. }
  67.  
  68. div#body {
  69.     top: 213px;
  70.     width: 451px;
  71.     height: 462px;
  72.     font-family: Georgia, "Calisto MT", Garamond;
  73.     font-size: 15px;
  74.     font-weight: normal;
  75.     text-align: justify;
  76.     text-indent: 20px;
  77.     clear: both;
  78.     margin: 0px 0px 0px 159px;
  79.     color: #000000;
  80.     background-image: url(images/body.jpg);
  81.     background-repeat: no-repeat;      
  82. }
  83.    
  84.    
  85. div#footer {
  86.     top: 676px;
  87.     text-align: left;
  88.     clear: both;
  89.     margin: 0px 0px 0px 26px;
  90.     width: 584px;
  91.     background-color: #7A3233;
  92. }
  93.  
  94. #footer a:visited {
  95.     color: #e8d8ca;
  96. }
  97.  
  98. .style2 a:visited {
  99.     font-family: HANA, "Copperplate Gothic Light", Garamond, sans-serif;
  100.     font-size: 12px;
  101.     font-weight: bold;
  102.     text-transform: uppercase;
  103.     text-decoration: none;
  104.     color: #e8d8ca;
  105.     }
  106.  
  107. .style2 a:link {
  108.     font-family: HANA, "Copperplate Gothic Light", Garamond, sans-serif;
  109.     font-size: 12px;
  110.     font-weight: bold;
  111.     text-transform: uppercase;
  112.     text-decoration: none;
  113.     color: #000000;
  114.     }
  115.    
  116. .style2 a:hover, a:active {
  117.     font-family: Georgia, "Calisto MT", Garamond, serif;
  118.     font-size: 12px;
  119.     font-weight: bold;
  120.     text-transform: uppercase;
  121.     text-decoration: underline;
  122.     color: #000000;
  123.     }
  124.        
  125. .Heading
  126. {
  127.     padding: 0px 0px 0px 0px;
  128.     margin: 0px;
  129.     font-family: HANA, "Copperplate Gothic Light", Garamond, sans-serif;
  130.     font-size: 20px;
  131.     font-weight: bold;
  132.     text-transform: uppercase;
  133.     color: #000000;
  134.     text-align: left;
  135.     text-decoration: underline;
  136. }
  137.  
  138. .body_text
  139. {
  140.     padding: 0px 15px 0px 0px;
  141.     margin: 0px;
  142.     font-family: Georgia, "Calisto MT", Garamond, serif;
  143.     font-size: 15px;
  144.     font-weight: normal;
  145.     text-transform: none;
  146.     color: #000000;
  147.     text-align: justify;
  148.     text-decoration: none;
  149. }
  150.  
  151.  
  152. .mailto a:link, a:visited, a:hover, a:active{
  153.     text-transform: none;
  154.     }
  155.  
  156.  
  157. a:link {
  158.     font-family: HANA, "Copperplate Gothic Light", Garamond, sans-serif;
  159.     font-size: 12px;
  160.     font-weight: bold;
  161.     text-transform: uppercase;
  162.     text-decoration: none;
  163.     color: #000000;
  164.     }
  165.    
  166. a:visited {
  167.     font-family: HANA, "Copperplate Gothic Light", Garamond, sans-serif;
  168.     font-size: 12px;
  169.     font-weight: bold;
  170.     text-transform: uppercase;
  171.     text-decoration: none;
  172.     color: #4b1515;
  173.     }
  174.    
  175. a:hover, a:active {
  176.     font-family: Georgia, "Calisto MT", Garamond, serif;
  177.     font-size: 12px;
  178.     font-weight: bold;
  179.     text-transform: uppercase;
  180.     text-decoration: underline;
  181.     color: #000000;
  182.     }

Last edited by Nico; 06-11-08 at 10:13 AM. Reason: [highlight=css] wrappers.
Reply With Quote
  #2  
Old 06-11-08, 10:30 AM
Shadowfax Shadowfax is offline
New Member
 
Join Date: Jun 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Playing with it some more I think that the footer nav issue might just be a z-score??

I dunno why it would be transparent but everything under the "main nav" image doesn't want to click, the rest does just fine.
Reply With Quote
  #3  
Old 06-11-08, 10:50 AM
Shadowfax Shadowfax is offline
New Member
 
Join Date: Jun 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Just a padding issue, even with a proper z-score, links will not work if they are covered by any kind of padding. I got around the padding by specifying different widths.

As for the navigation overlap, the footer div was covering some of the padding and it didn't let them align properly. Overlapping divs in that case just didn't want to play nicely.
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transparency in IE6 with working links :) jamiemcconnell CSS 3 02-09-07 12:01 AM
CSS Issue in Firefox TheScreenSaver24 CSS 3 01-14-07 06:04 AM
css autoheight issue Rollo Tamasi CSS 2 07-05-06 12:11 AM
PHP/MySQL Script sszukala Job Offers & Assistance 0 01-28-06 03:53 PM
css issue darkcarnival CSS 4 10-11-05 09:35 PM


All times are GMT -5. The time now is 10:54 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 (Unregistered)