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.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 04-02-2007, 06:31 PM Help IE6 Problem
Skilled Talker

Posts: 52
Name: ana
Trades: 0
Im trying to create a news page which I need in 2 colums.

I've finially managed to get this page right in IE 7, Firefox, Opera & Netscape, however in IE 6 the right colum overflows over the page width...

Can anyone help please?

Here is a view of how it looks in IE6: http://www.outer-edge.com.au/develop...images/IE6.gif

Live page: http://www.outer-edge.com.au/development_site/news.html

HTML

<div id="news">
<div id="news_content">

<div id="news_COL1">

<img src="http://www.webmaster-talk.com/images/news_images/news1 - big blue.gif" height="90" width="115" alt="News Image" align="left" />
<h5>Big Blue Adventure Fest</h5>
<p>This Easter (7-8 April), in the breathtaking surrounds of NSW's Blue Mountains, the southern hemisphere's biggest adventure carnival - The Australian Climbing Festival - will be held for the first time.</p>

</div>

<div id="news_COL2">
<img src="http://www.webmaster-talk.com/images/news_images/news1 - kayakers.gif" height="90" width="115" alt="News Image" align="left" />
<h5>Kayakers Still Ready and Able for Tasman</h5>
<p>The disappearance, and presumed death, of trans-Tasman kayaker Andrew McAuley has not dissuaded two young Sydney men from making their own attempt at taking on the 2,200km of wild waves that lie between Australia and New Zealand.</p>

</div>

</div>
</div>


CSS

#news {
background: url(images/white_bg_top.jpg);
background-repeat: no-repeat;
background-color: #FFFFFF;
height: auto;
width: 800px;
padding-top: 100px;
}

#news_content {
padding-left: 40px;
padding-right: 40px;
font-size: 12px;
overflow: hidden;
}
#news_COL1 img, #news_COL2 img {
padding-right: 10px;
padding-bottom: 10px;
}
#news_COL1 {
float: left;
width: 340px;
display: block;
}
#news_COL2 {
margin-left: 380px;
width: 340px;
}
#news_content h5 {
color: #FF6600;
width: 320px;
margin: 0px;
padding: 0px;
}
#news_COL1 p, news_COL2 p {
margin: 0px;
padding: 0px;
}

Last edited by ana_rad; 04-02-2007 at 08:10 PM..
ana_rad is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-02-2007, 08:28 PM Re: Help IE6 Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You have to be mindful of IE's busted box model.

Take the width off your #news_content h5, then add "display: inline"

#news_COL1 {
float: left;
width: 340px;
}

#news_COL2 {
width: 340px;
margin-left: 370px;

}

#news_content h5 {
color: #FF6600;
/*width: 320px;*/
font-size: 12px;
margin: 0px;
padding: 0px;
display: inline;

You do NOT need 'display: block' on #new_COL1, a div IS a block-level element.
__________________
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 04-02-2007, 08:35 PM Re: Help IE6 Problem
Skilled Talker

Posts: 52
Name: ana
Trades: 0
You're a life saver!!

Thanks so much, you've been so helpful on many occasions.
ana_rad is offline
Reply With Quote
View Public Profile
 
Old 04-02-2007, 08:44 PM Re: Help IE6 Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You're welcome
__________________
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 04-03-2007, 12:25 PM Re: Help IE6 Problem
Novice Talker

Posts: 8
Name: John
Trades: 0
Excellent
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
johnvixen is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help IE6 Problem
 

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