1 reply [Last post]
synergytheory
Offline
newbie
Last seen: 12 years 40 weeks ago
Joined: 2004-07-23
Posts: 6
Points: 0

In FF3 my class container .franchise_container is not stretching when data is enter and it stretches to a height of more than whatever the min-height is set to (in this case 200px) IE7 it works fine.

View the page and code in question here: http://www.southwestgreens.com/alaska-test.html

See code below.

CSS

.franchise_container {
	background-color: #F8FAF5;
	border: 1px dashed #CFDCC0;
	padding-left: 20px;
	margin-bottom: 20px;
	margin-top: 0px;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 20px;
	min-height: 200px;
}
.franchise_container li {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
.franchise_container ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
.franchise_container h3 {
	text-transform: none;
	color: #60AD05;
}
.franchise_describe {
	width: 120px;
	margin: 0px;
	padding: 5px;
	text-align: right;
	float: left;
	font-weight: bold;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCCCCC;
	position: relative;
}
.franchise_info {
	margin: 0px;
	padding: 5px;
	width: 350px;
	float: left;
	position: relative;
}
#contenttext h1 {
	color: #333333;
}
.nicklausimgage {
	float: right;
	margin-top: 7px;
}

HTML Code

<div class="franchise_container">
        <h3>Southwest Greens of Thailand</h3>
        <div class="franchise_describe">
          <ul>
            <li>Contact</li>
            <li>Phone</li>
            <li>Address</li>
            <li>Country</li>
            <li>Email</li>
            <li>Website</li>
            <li>Free Quote / Contact</li>
            <li>Head</li>
            <li>Another</li>
            <li>One</li>
            <li>More</li>
            <li>rrr</li>
            <li>ttt</li>
            <li>yyy</li>
            <li>ggg</li>
            <li>ddd</li>
          </ul>
        </div>
        <div class="franchise_info">
          <ul>
            <li>John Widget</li>
            <li>661.813.3518</li>
            <li>842 Soi Thonglor, Sukhumvit Rd, North Klongton, </li>
            <li>Wattana</li>
            <li>email@swgthialland.com</li>
            <li>Southwest Putting Greens of Thiland</li>
            <li>Click here to email us.</li>
            <li>Test</li>
            <li>Test Rest</li>
            <li>Mest</li>
            <li>eee</li>
            <li>rrrr</li>
            <li>ttt</li>
            <li>yyy</li>
            <li>eee</li>
            <li>www</li>
          </ul>
        </div>
        <a href="http://www.southwestgreens.com/contact_us.php"><img src="images/contact-franchise.jpg" alt="Nicklaus Design" width="136" height="88" class="nicklausimgage" /></a> </div>

synergytheory
Offline
newbie
Last seen: 12 years 40 weeks ago
Joined: 2004-07-23
Posts: 6
Points: 0

Fixed the prob by adding

Fixed the prob by adding overflow: hidden; to the .franchise_container

All working now.