Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-03-2009, 12:50 PM   PM User | #1
teamleaf
New Coder

 
Join Date: Mar 2009
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
teamleaf is an unknown quantity at this point
IE 6 Problems With 3 column Layout & Transparency Issues

Okay... so I got rid of some odd alignment problems in IE 6 & 7 by rewriting my index page with the 3 column layout. IE 7 is perfect now! Thanks.

My current problems now only reside in IE 6. For some reason, the middle column of my page displays half a page below the left and right columns.

The only other problem is that IE appears to have absolutely no concept of displaying my png images with their native transparency. Are there any solutions for this, it makes my site look like crap and 50% of the visitors are still using IE 6 for whatever reason.

The site can be found @ www.teamleaf.org

Thanks in advance for all your help!
teamleaf is offline   Reply With Quote
Old 04-03-2009, 01:46 PM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
Okay... so I got rid of some odd alignment problems in IE 6 & 7 by rewriting my index page with the 3 column layout. IE 7 is perfect now! Thanks.

My current problems now only reside in IE 6. For some reason, the middle column of my page displays half a page below the left and right columns.
It might be due to the unnecessary modifications made to your layout (from the original http://www.bonrouge.com/3c-hf-fluid.php)

You are dragging the box model bug of IE into your layout by setting a width to your middle column(#main and #content), which is not required.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 04-03-2009, 02:24 PM   PM User | #3
teamleaf
New Coder

 
Join Date: Mar 2009
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
teamleaf is an unknown quantity at this point
Quote:
Originally Posted by abduraooft View Post
It might be due to the unnecessary modifications made to your layout (from the original http://www.bonrouge.com/3c-hf-fluid.php)

You are dragging the box model bug of IE into your layout by setting a width to your middle column(#main and #content), which is not required.
So... I put the width on those as a centering hack. The left 50% hack... How could I rewrite that to achieve that same effect without bringing in the box model bug?
teamleaf is offline   Reply With Quote
Old 04-03-2009, 02:32 PM   PM User | #4
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Setting a style of width:500px;margin:0 auto; on your inner most div having background-image:url(images/Leaf.png); would center it. No need to apply specific widths on your #content and #main.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 04-03-2009, 02:35 PM   PM User | #5
teamleaf
New Coder

 
Join Date: Mar 2009
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
teamleaf is an unknown quantity at this point
Quote:
Originally Posted by abduraooft View Post
Setting a style of width:500px;margin:0 auto; on your inner most div having background-image:url(images/Leaf.png); would center it. No need to apply specific widths on your #content and #main.
Yeah... okay I fixed that in the meantime. What about the transparency issue?

Any suggestions for that?

Should I just make that leaf and all the links in one image and then just link the areas?
teamleaf is offline   Reply With Quote
Old 04-03-2009, 02:37 PM   PM User | #6
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
Should I just make that leaf and all the links in one image and then just link the areas?
Yeah, that would speed up the page load by reducing the number of http requests (and decrease the effective page size too)

I'd also recommend you to remove all inline styles from all your tags.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 04-03-2009, 02:47 PM   PM User | #7
teamleaf
New Coder

 
Join Date: Mar 2009
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
teamleaf is an unknown quantity at this point
Quote:
Originally Posted by abduraooft View Post
Yeah, that would speed up the page load by reducing the number of http requests (and decrease the effective page size too)

I'd also recommend you to remove all inline styles from all your tags.
All the inline styles have different attributes though... how would I go about removing them?

I fixed the other things right after my other posts, before I even check back here for your responses... but I can't do the same for this one. Its outside my knowledge at this point.

Thanks again!
teamleaf is offline   Reply With Quote
Old 04-03-2009, 03:39 PM   PM User | #8
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
All the inline styles have different attributes though... how would I go about removing them?
I'd do it like
Code:
#nav{
background:url(leaf.png) no-repeat top left;
}
#nav li{
line-height:30px;
}
#nav li a{
display:block;
text-indent:-999px;
}
li.goals{
background:url(Goal.png) no-repeat top left;
}
.............
Code:
<ul id="nav">
 <li class="goals"><a href="aqua/goal.html">Our Goal</a> </li>
 <li class="downloads"><a href="aqua/downloads.html">Downloads</a> </li>
..........
</ul>
( ie make your markup semantic )
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 04-04-2009, 11:41 PM   PM User | #9
teamleaf
New Coder

 
Join Date: Mar 2009
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
teamleaf is an unknown quantity at this point
Ok... I started on that... and it doesn't seem to work quite the way I want...

http://www.teamleaf.org/indextest.html
teamleaf is offline   Reply With Quote
Old 04-07-2009, 12:38 PM   PM User | #10
teamleaf
New Coder

 
Join Date: Mar 2009
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
teamleaf is an unknown quantity at this point
Bumpity Bump... I guess no one is here on the weekends?
teamleaf is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 07:50 AM.


Advertisement
Log in to turn off these ads.