Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Problem with floats in IE6

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Download tracking  
Author Message
sebzzz

External


Since: Jun 14, 2007
Posts: 6



(Msg. 1) Posted: Wed Sep 26, 2007 8:00 pm
Post subject: Problem with floats in IE6
Archived from groups: alt>www>webmaster (more info?)

Hi,

I'm working on a site, villagefantome.ca, but I just discovered that
IE6 doesn't render it correctly.

There is a main div (main) in the center of the page containing all
the content, then there is some header content and then a news div
floated to the left and a content div floated to the left.

Here is the CSS for those DIVs:

..main{
width: 1000px;
margin-left: auto;
margin-right: auto;
background-color: black;
font-size: 1.2em;
text-align: center;
overflow: auto;
background: black url('../images/bg-principal.jpg') repeat-y scroll;
}

..content {
width: 780px;
float: left;
background-color: black;
background: black url('../images/bg-content.jpg') repeat-y scroll;
}


..news {
width: 220px;
float: right;
background-color: black;
text-align: left;
font-size: larger;
background: black url('../images/bg-news.jpg') repeat-y scroll;
}

My problem, only visible in IE6 or older (works in IE7, Firefox, Opera
and Safari), is that the content div gets shifted under the news div,
it doesn't sit by it's side.

If anyone can tell me if I did something wrong or if it's a IE6 bug,
or to work around it, it would be really appreciated.

Thanks

 >> Stay informed about: Problem with floats in IE6 
Back to top
Login to vote
sebzzz

External


Since: Jun 14, 2007
Posts: 6



(Msg. 2) Posted: Wed Sep 26, 2007 8:00 pm
Post subject: Re: Problem with floats in IE6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 26, 6:01 pm, seb....RemoveThis@gmail.com wrote:
> Hi,
>
> I'm working on a site, villagefantome.ca, but I just discovered that
> IE6 doesn't render it correctly.
>
> There is a main div (main) in the center of the page containing all
> the content, then there is some header content and then a news div
> floated to the left and a content div floated to the left.
>
> Here is the CSS for those DIVs:
>
> .main{
> width: 1000px;
> margin-left: auto;
> margin-right: auto;
> background-color: black;
> font-size: 1.2em;
> text-align: center;
> overflow: auto;
> background: black url('../images/bg-principal.jpg') repeat-y scroll;
>
> }
>
> .content {
> width: 780px;
> float: left;
> background-color: black;
> background: black url('../images/bg-content.jpg') repeat-y scroll;
>
> }
>
> .news {
> width: 220px;
> float: right;
> background-color: black;
> text-align: left;
> font-size: larger;
> background: black url('../images/bg-news.jpg') repeat-y scroll;
>
> }
>
> My problem, only visible in IE6 or older (works in IE7, Firefox, Opera
> and Safari), is that the content div gets shifted under the news div,
> it doesn't sit by it's side.
>
> If anyone can tell me if I did something wrong or if it's a IE6 bug,
> or to work around it, it would be really appreciated.
>
> Thanks

Sorry, made a mistake, here is the code:

..main{
width: 1000px;
margin-left: auto;
margin-right: auto;
background-color: black;
font-size: 1.2em;
text-align: center;
overflow: auto;
background: black url('../images/bg-principal.jpg') repeat-y
scroll;

}

..content {
width: 780px;
float: right;
background-color: black;
background: black url('../images/bg-content.jpg') repeat-y
scroll;
}

..news {
width: 220px;
float: left;
background-color: black;
text-align: left;
font-size: larger;
background: black url('../images/bg-news.jpg') repeat-y
scroll;
}

The news section is on the left, not the right.

 >> Stay informed about: Problem with floats in IE6 
Back to top
Login to vote
jstucklex

External


Since: Jul 14, 2003
Posts: 1188



(Msg. 3) Posted: Wed Sep 26, 2007 11:19 pm
Post subject: Re: Problem with floats in IE6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

sebzzz.RemoveThis@gmail.com wrote:
> Hi,
>
> I'm working on a site, villagefantome.ca, but I just discovered that
> IE6 doesn't render it correctly.
>
> There is a main div (main) in the center of the page containing all
> the content, then there is some header content and then a news div
> floated to the left and a content div floated to the left.
>
> Here is the CSS for those DIVs:
>
> .main{
> width: 1000px;
> margin-left: auto;
> margin-right: auto;
> background-color: black;
> font-size: 1.2em;
> text-align: center;
> overflow: auto;
> background: black url('../images/bg-principal.jpg') repeat-y scroll;
> }
>
> .content {
> width: 780px;
> float: left;
> background-color: black;
> background: black url('../images/bg-content.jpg') repeat-y scroll;
> }
>
>
> .news {
> width: 220px;
> float: right;
> background-color: black;
> text-align: left;
> font-size: larger;
> background: black url('../images/bg-news.jpg') repeat-y scroll;
> }
>
> My problem, only visible in IE6 or older (works in IE7, Firefox, Opera
> and Safari), is that the content div gets shifted under the news div,
> it doesn't sit by it's side.
>
> If anyone can tell me if I did something wrong or if it's a IE6 bug,
> or to work around it, it would be really appreciated.
>
> Thanks
>

What's the url? Did you validate it?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.RemoveThis@attglobal.net
==================
 >> Stay informed about: Problem with floats in IE6 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
web cam problem - ok for x-ms i got a logitech quickcam zoom in it there is a place to live feed your video images (no longer in buisness) and no options to change where to upload (as far as i can see) Q: since i have my own website running from my hd how can i get the....

Please help with my CSS problem - Under IE 6 my test page looks fine. Under Netscape, the products area has not background or border and the text color is wrong. Under Mozilla you cannot see the content area at all. I validated the hmtl code with the online validator and it passed. How...

Is there any way around this problem? - I've inherited the webmaster job among others for my company. I'm also webmaster for my sf club and am looking to develop a personal site. I'm looking for a new hosting service for all of the above. My problem is that the service we recently moved the...

FTP Problem - I administer a website and have been using CuteFTP to upload files via the admin account and WinSCP to work in the root account via SFTP. I recently got a new Mac Book Pro and have a Mac partition and an XP partition. I can access the root and admin..

Pop-up problem. - Those who have a new Internet Explorer 7, please help me with a pop-up window. It was not a problem with older version, but a new one shows a grey bar with a pop-up's url address. Please tell me how to remove it? My website : www.mundomodels.com Please...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]