Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Dec 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE 5 and 6 problems

    For this site, does anyone know the fix to make the images side by side in IE 5 and 6 and the red top bar side by side in IE 5? Or, what to call the problem to know what fix to search for? Debugging IE not one of my fortes!

    Which leads me to the question....why hasn't W3C put their foot down and demanded that all browsers follow certain standards? Sure would make our job a lot easier.

    Thanks much in advance!
    Last edited by Sculley; 12-10-2009 at 11:32 PM.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,749
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Hello Sculley,
    50% widths don't always work the way you expect. Some browsers end up with 50 and 51 %'s which makes the float drop you're probably seeing (I don't have IE6).
    Try floating the left div and then margining over the right with no width. It will just use the remaining space. Should work.

    Like this -
    Code:
    .homeAnimalCommunication {
    	float:left;
    	width:50%;
    	text-align:center;
    	margin-top:3.5em;
    }
    .animalcommunication {
    	margin-left:44em;
    }
    .events {
    	margin-left:26em;
    }
    animalcommunication a, animalcommunication a:link {
    	color:#FFF;
    	text-decoration:none;
    	font-size:1.2em;
    }
    .reiki {
    	margin-right:28em;   
    }
    .lcol {
        width:46%;
        float:left;
    	padding:0px 10px 0 0px;
    }
    .rcol {
        float:left;
        width:44%;
        padding:0px 0 0 30px;
    }
    .lcol2 {
        width:52%;
        float:left;
    	padding:0px 10px 0 0px;
    }
    .rcol2 {
        float:left;
        width:42%;
        padding:0px 0 0 30px;
    }
    .quote {
        text-align:right;
    }
    .quotebottom {
        font-size:1.2em;
    }
    .quotebottomt {
    	 font-size:1.2em;
    	 text-align:right;
    }
    .small {
    	font-size:12px;
    	font-style:italic;
    }
    .homeSoulJourney {
    	margin: 0 0 0 50%;
    	background: #A9C8DC;
    }
    Some more help with IE6 bugs.


    ...
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    New Coder
    Join Date
    Dec 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Excavator. That didn't work. The blue image slid over to the right but in IE 5 and 6, there was blue on the top, then huge space with bg color, then blue image on bottom. In IE 7, it added tons of blue space between top and bottom of image. And, it didn't fix the top red bar break.

    You mentioned you didn't have IE 6. Check this out: http://www.my-debugbar.com/wiki/IETester/HomePage. Someone sent me the link. You can look at all versions of IE 5-8 in one place. It just takes a couple minutes to install and so far it works great! Just for Windows though, I would guess.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Seriously IE5 though? I can understand maybe IE6 but IE5? Why bother coding for IE5? Computers still running IE5 likely can't handle the bells and whistles of today.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,749
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Quote Originally Posted by Sculley View Post
    Thanks Excavator. That didn't work. The blue image slid over to the right but in IE 5 and 6, there was blue on the top, then huge space with bg color, then blue image on bottom. In IE 7, it added tons of blue space between top and bottom of image. And, it didn't fix the top red bar break.
    So it fixed the float drop. Your gaps are a seperate issue. Look at margins you have coded in there, like the 1em bottom margin on .homeSoulJourneText.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •