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
What's wrong with my CSS? Min-height and height issue.
Old 08-09-2009, 05:00 PM What's wrong with my CSS? Min-height and height issue.
k3exige's Avatar
Average Talker

Posts: 17
Trades: 0
Alright so here, you'll see my problem:
http://exige.atbhost.net/extempus

And here's the respective code:

Code:
#container {
    background: url(images/bg2_05.gif) no-repeat top center;
    margin: 0;
    padding: 0px;
    width: 100%;
    height: 672px;
    overflow: hidden;}
    
    #layout {
        width: 689px;
        text-align: left;
        position: absolute;
        top: 134px;
        left: 50%;
        margin-left: -344px;
        margin-right: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        }
    
    #contentarea {
        background: #FFF url(images/bgcontent.gif) repeat-y;
        width: 689px;
        min-height: 465px;
        height: auto;
        margin: 0px;
        padding: 0px;
        overflow: visible;
        }
Code:
<div id="layout"><img src="images/bartop2.gif" width="689" height="41" alt="Top"/><div id="contentarea">
          <div id="contentleft">
              <?php includes here
                        ?> 
          </div>
          <div id="contentright">
            <?php includes here
            ?>
          </div>
        </div>
So what am I doing wrong and is it fixable?

If you need all the code, download here:

http://exige.atbhost.net/extempus/index.txt
http://exige.atbhost.net/extempus/style.css
k3exige is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-09-2009, 05:04 PM Re: What's wrong with my CSS? Min-height and height issue.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I don't see any height issues in Firefox, so is the problem in IE ??
FYI, IE6 does NOT support min/max width/height. You will need conditional comments and separate CSS file for the rules needed to make IE6 work, and in this case, that means feeding it a fixed height.
__________________
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 08-09-2009, 05:20 PM Re: What's wrong with my CSS? Min-height and height issue.
k3exige's Avatar
Average Talker

Posts: 17
Trades: 0
Oh, what Firefox are you on? When I view the homepage in Firefox 3 (latest update) it shows a background break. Here's the CSS for IE, but I just want to get the background to stretch from the top to the bottom without that break. Are you sure it's not there?

Code:
    /* for Internet Explorer */
    /*\*/
    * html #contentarea {
    height: 465px;
    }
    /**/
k3exige is offline
Reply With Quote
View Public Profile
 
Old 08-09-2009, 05:26 PM Re: What's wrong with my CSS? Min-height and height issue.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Use conditional comments NOT ridiculous "hacks"
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-09-2009, 05:42 PM Re: What's wrong with my CSS? Min-height and height issue.
k3exige's Avatar
Average Talker

Posts: 17
Trades: 0
Alright, well either way, if I delete this, it still doesn't work in Firefox. What would the solution be?
k3exige is offline
Reply With Quote
View Public Profile
 
Old 08-09-2009, 05:53 PM Re: What's wrong with my CSS? Min-height and height issue.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
What background break?

Google Chrome,
IE8,
FF3,
Opera 9.6,
SeaMonkey 1.17.
at 1280x800 on Windows 7.

Don't see any "breaks" anywhere
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-09-2009, 07:35 PM Re: What's wrong with my CSS? Min-height and height issue.
k3exige's Avatar
Average Talker

Posts: 17
Trades: 0
****. I'm on windows 7 as well. Here's an image on FF3:

http://exige.atbhost.net/extempus/screen1.jpg
k3exige is offline
Reply With Quote
View Public Profile
 
Old 08-09-2009, 08:35 PM Re: What's wrong with my CSS? Min-height and height issue.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Change the overflow:hidden on #contentarea to overflow: auto; and the background will extend as you need it to.
__________________
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 08-09-2009, 10:11 PM Re: What's wrong with my CSS? Min-height and height issue.
k3exige's Avatar
Average Talker

Posts: 17
Trades: 0
Oh, yeah that was it. I changed the overflow: visible to auto under #contentarea and #container. Thanks.
k3exige is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What's wrong with my CSS? Min-height and height issue.
 

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.30329 seconds with 12 queries