IE6 bully: pushing my divs around

This is a discussion on "IE6 bully: pushing my divs around" within the Web Page Design section. This forum, and the thread "IE6 bully: pushing my divs around are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 2nd, 2007, 22:44
Junior Member
Join Date: Mar 2007
Location: indiana
Age: 25
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to kidreapertronV
IE6 bully: pushing my divs around

Hi all,

so here's a site on a testing server.

http://www.sugarmapleresort.net/photos/

In IE7 and firefox, it looks great, but in IE6, my elements get pushed down and slightly to the left.

Do I use negative margins in an external style sheet for IE6 to correct this? Or is there a way to correct for it without a hack?

Thanks!
Reply With Quote

  #2 (permalink)  
Old Mar 3rd, 2007, 13:29
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE6 bully: pushing my divs around

If it were my site, I would seriously consider just leaving it as is. I know you want your design to be pixel-perfect -- it's very attractive and shows a lot of hard work on the design end -- but to tell you the truth, it looked good in IE6. I couldn't really tell much difference. It works fine.

Also time is on your side: The number of IE6 users declines every day.

There are ways to solve it, but to tell you the truth, I don't bother with cross-browser CSS anymore and I'm so rusty I don't remember it. If you want a cut-and-paste bit of PHP code that will switch to an alternate stylesheet for IE6, I posted one on this very forum in the past week or two.
Reply With Quote
  #3 (permalink)  
Old Mar 3rd, 2007, 18:32
Junior Member
Join Date: Mar 2007
Location: indiana
Age: 25
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to kidreapertronV
Re: IE6 bully: pushing my divs around

unfortunately, people still using windows 2000 aren't allowed to upgrade to IE7, and a lot of those people are my audience for the camp yale site. it's a pain in my rear.

thanks for the suggestion though, mason!

i figured out one of the problems though. IE6 doesn't like:

div { float: left;}


you've gotta give the float attribute to each individual div for everything to work properly, but also keep the div {float: left; } for good browsers, then, on the more specific div tags, that you don't want the float attribute associated with, include {float: none; }.

i hate hate HATE extra markup, but til the IE's before 7 are abolished, i guess i'm stuck with it. lest there are cleaner tricks to use that smarter people might know about... : )
Reply With Quote
  #4 (permalink)  
Old Mar 5th, 2007, 18:33
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to daygon Send a message via MSN to daygon Send a message via Yahoo to daygon
Re: IE6 bully: pushing my divs around

when i desing the div{float:left} seems to work fine for me.
Reply With Quote
Reply

Tags
ie6 problem, positioning problem

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE pushing table down the page PeterBailey2 Web Page Design 14 May 3rd, 2007 13:57
Divs in a row hessodreamy Web Page Design 5 Feb 17th, 2006 18:40
'Pushing' a font to the user Paul.Yeoman Web Page Design 7 Jan 27th, 2006 15:46
Divs in a row hessodreamy Web Page Design 1 Nov 15th, 2005 15:58


All times are GMT. The time now is 08:00.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43