Xenonsoft
Active Member
Oh dear, here I am again, already.
I'm still struggling with the min-height malarky, it's not the code that's the problem but it wont work within what I've got already, I'm doing something wrong but I can't see it.
It worked with the first bit that needed it, a simple box. That worked fine. But with the footer, it just isn't having it.
I celebrated early a second ago (Usain Bolt style), it changed to the size I wanted it, thought it was done, changed the text inside and the box didn't change to accomodate that, so it's not done
Anyway, I can't upload it as I'm running on dial-up speeds so all I can do is provide the code.
Just give you the relevent footer code:
I think the problem is to do with the -20px on the borders, something along those lines.
If anyone can make any sense of the above code I'll be in debt to you.
Any helps appreciated, I'll keep trying at my end.
I'm still struggling with the min-height malarky, it's not the code that's the problem but it wont work within what I've got already, I'm doing something wrong but I can't see it.
It worked with the first bit that needed it, a simple box. That worked fine. But with the footer, it just isn't having it.
I celebrated early a second ago (Usain Bolt style), it changed to the size I wanted it, thought it was done, changed the text inside and the box didn't change to accomodate that, so it's not done
Anyway, I can't upload it as I'm running on dial-up speeds so all I can do is provide the code.
Just give you the relevent footer code:
Code:
@charset "utf-8";/* CSS Document *//* Cross browser reset */body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }body { color:#e5e5e5; font-size:12px; font-family:Arial, Helvetica, sans-serif; }a img { border-style:none;}body { background-color:#262626;}#outer_container { width:880px; height:600px; background-image:url('images/body_background.png'); background-repeat:no-repeat; margin:0 auto;}#container { width:700px; height:100%; margin:0 auto;}ul,ol,li { list-style-type:upper-roman; }p { line-height:20px; }ul { line-height:20px; padding-left:21px; }a { color:#e5e5e5; text-decoration:none; font-weight:400; font-size:12px; font-family:Arial, Helvetica, sans-serif; }a h2 { color:#80a1e3; text-decoration:none; font-weight:400; font-size:18px; font-family:Cambria, Georgia, "Times New Roman", Times, serif; }a h2:hover { color:#8FB6FF; }#buttons { width:700px; height:80px; margin:0 auto;}#home, #services, #portfolio, #testimonials, #contact, #blog { float:left; }a.rollover#home { display:block; width:106px; height:80px; text-decoration:none; background:url(images/btns/btn_home.png); }a.rollover:hover#home { background-position:0 -80px; }#home .displace { position: absolute; left:-5000px; }a.rollover#services { display:block; width:115px; height:80px; text-decoration:none; background:url(images/btns/btn_services.png); }a.rollover:hover#services { background-position:0 -80px; }#services .displace { position: absolute; left:-5000px; }a.rollover#portfolio { display:block; width:119px; height:80px; text-decoration:none; background:url(images/btns/btn_portfolio.png); }a.rollover:hover#portfolio { background-position:0 -80px; }#portfolio .displace { position: absolute; left:-5000px; }a.rollover#testimonials { display:block; width:155px; height:80px; text-decoration:none; background:url(images/btns/btn_testimonials.png); }a.rollover:hover#testimonials { background-position:0 -80px; }#testimonials .displace { position: absolute; left:-5000px; }a.rollover#contact { display:block; width:114px; height:80px; text-decoration:none; background:url(images/btns/btn_contact.png); }a.rollover:hover#contact { background-position:0 -80px; }#contact .displace { position: absolute; left:-5000px; }a.rollover#blog { display:block; width:91px; height:80px; text-decoration:none; background:url(images/btns/btn_blog.png); }a.rollover:hover#blog { background-position:0 -80px; }#blog .displace { position: absolute; left:-5000px; }#content { width:640px; height:200px; margin:90px auto 0;}#quotes { width:300px; height:35px; background-color:#36F; float:right; margin:13px 30px;}#content h1 { font:400 24px Cambria, Georgia, "Times New Roman", Times, serif; color:#FFF; }#content .threecol { width:640px; height:100%; margin-top:43px; /* 23 px + 20px for the margin:-20px 0; case below */ float:left;}#content .c1 { border-left:1px solid #484848; border-right:1px solid #484848; padding:0 14px; width:184px; float:left;}#content .c2, #content .c3 { border-right:1px solid #484848; padding:0 14px; width:184px; float:left;}#content .c1 div, #content .c2 div, #content .c3 div { margin:-20px 0; position:relative; }#content .twocol { width:640px; height:100%; display:block; float:left;}#content .twocol #two-c1 { width:401px; /* 429px - 14px(x2) padding */ min-height:100px; /* Box will go no smaller than 100px regardless of content */ height:auto !important; height:500px; /* Maximum height the box will stretch to */ background-color:#2e2e2e; border:1px solid #4c4c4c; padding:13px 14px 14px 14px; float:left;}#two-c1 .rightalign#jargon { text-align:right; font-weight:900; line-height:22px;}.rightalign#technicaldetails { text-align:right; }#content .twocol #two-c2 { width:185px; float:left; padding:11px 10px 14px 14px;}#slide-port { background-image:url(images/slide_port/stocks-studio.png); width:184px; height:174px; margin-top:4px;}#slide-port p { padding-top:120px; } /* Drops the text below the image */#footer { width:100%; min-height:50px; /* Used by FF, IE7+ etc */ height:auto !important; /* Used by all, ignored by IE6 */ height:500px; /* Used only by IE6 as IE6 ignores !important on duplicate declerations */ background-color:#1F1F1F; margin-top:80px; border-top:1px solid #000; float:left;}#footer_content { width:100%; min-height:50px; /* Used by FF, IE7+ etc */ height:auto !important; /* Used by all, ignored by IE6 */ height:500px; /* Used only by IE6 as IE6 ignores !important on duplicate declerations */}#footer_content .threecol { width:640px; min-height:50px; height:auto !important; height:500px; margin:0 auto; margin-top:20px; padding:30px 0;}#footer_content .c1 { border-left:1px solid #3e3e3e; border-right:1px solid #3e3e3e; padding:0 14px; width:184px; min-height:50px; /* Used by FF, IE7+ etc */ height:auto !important; /* Used by all, ignored by IE6 */ height:500px; /* Used only by IE6 as IE6 ignores !important on duplicate declerations */ float:left;}#footer_content .c2, #footer_content .c3 { border-right:1px solid #3e3e3e; padding:0 14px; width:184px; min-height:50px; /* Used by FF, IE7+ etc */ height:auto !important; /* Used by all, ignored by IE6 */ height:500px; /* Used only by IE6 as IE6 ignores !important on duplicate declerations */ float:left;}#footer_content .c1 div, #footer_content .c2 div, #footer_content .c3 div { margin:-20px 0; position:relative; }#footer h2 { font-weight:400; font-size:18px; font-family:Cambria, Georgia, "Times New Roman", Times, serif; color:#FFF; }#footer ul, #footer ol, #footer li { list-style-type:none; }#footer ul { padding:0; }
If anyone can make any sense of the above code I'll be in debt to you.
Any helps appreciated, I'll keep trying at my end.