Minor IE 6 Problem

This is a discussion on "Minor IE 6 Problem" within the Web Page Design section. This forum, and the thread "Minor IE 6 Problem 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 Jun 18th, 2007, 15:30
New Member
Join Date: Jun 2007
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Minor IE 6 Problem

I am baffled by this minor problem!

On all browsers the site looks fine except IE, on the portfolio section the bottom menu is dropped down slightly further.

I have removed the whole menu from that box and it still drops down, so its not the menu coding.

Website link

HTML code
Code: Select all
				<div id="portfoliomain">
					<div id="portfoliotext"></div>
					<div id="portfolio">
						<img src="Main.jpg" alt="Image"></img>
					</div>
					<div id="portfoliomenu">
						<ul id="menu">
							<li>
								<span class="box">
									Use these links to view my work
								</span>
							</li>.................
CSS Code
Code: Select all
#portfoliomain	{width:599px;
				float: left;
				background: #D7CAC1;
				height: 350px;
				border-right: solid #FFFFFF 1px;}

#portfolio		{width:414px;
				float: left;
				height: 314px;}

#portfoliotext	{width:180px;
				float: left;
				height: 314px;
				padding-left: 5px;
				font-size:11px;}

#portfoliomenu	{width:599px;
				float: left;
				background: #BFAC9B;
				height: 36px;}
Reply With Quote

  #2 (permalink)  
Old Jun 18th, 2007, 16:29
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Minor IE 6 Problem

Sorry I don't see any difference from FF2 and IE7. Can you be more specific?
Reply With Quote
  #3 (permalink)  
Old Jun 18th, 2007, 16:33
New Member
Join Date: Jun 2007
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Minor IE 6 Problem

At the bottom of the portfolio page is the menu, the menu is in a dark brown box, in IE 6 this box will drop down about 5px I think out of the main frame design.

I haven't viewed my site in IE7 so can't say if it working properly or not in that browser.

I will try and post an image up if you still can't see any problems.

Thanks.
Reply With Quote
  #4 (permalink)  
Old Jun 18th, 2007, 18:23
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Minor IE 6 Problem

Geesh... if I had read the subject line of your post I would have noticed you said "problem in IE"! There's my moron moment for the day!

Your problem lies here:
Code: Select all
#menu {
    margin: 0;
    padding-left: 0px;
    padding-top: 6px;
    width:599px;
    overflow: hidden;
}
Change the padding-top to something lower. Probably 2px or 3px.
Reply With Quote
  #5 (permalink)  
Old Jun 18th, 2007, 18:27
New Member
Join Date: Jun 2007
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Minor IE 6 Problem

Haha, I have tried that, but then in all the browsers it looks fine in it makes a gap at the bottom because it has been moved up as theres less padding.

I'm baffled by it.
Reply With Quote
  #6 (permalink)  
Old Jun 18th, 2007, 19:30
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Minor IE 6 Problem

If that piece of code fixes IE 6, you can always insert into the head of your html:

Code: Select all
        <!--[if IE 6]>
            <style type="text/css">
                 #menu {
                   margin: 0;
                   padding-left: 0;
                   padding-top: 2px;
                   width: 599px;
                   overflow: hidden;
               }
            </style>
        <![endif]-->
Also, you can eliminate all default padding by inserting

Code: Select all
* {
margin: 0;
padding: 0;
}
But this may make your page display weird and you would have to go back and manually fix all padding. I always put this code in first thing so it's never a problem.
Reply With Quote
  #7 (permalink)  
Old Jun 19th, 2007, 10:59
New Member
Join Date: Jun 2007
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Minor IE 6 Problem

After a bit more playing I have worked out its the images in the portfolio section that are somehow the problem.

The height of the image is 314px, the same as the div it is in, however IE6 seems to add 4px padding to the image at the bottom, this then causing the menu to drop down.

I have changed the image height to 310px this making the site look fine, however I now get a 4px padding section underneath the image which I don't want.

I have search through my CSS trying to find something thats effecting the image but can't find anything, and it only happens in IE6!?
Reply With Quote
  #8 (permalink)  
Old Jun 20th, 2007, 07:45
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Minor IE 6 Problem

Quote:
Originally Posted by mikey View Post
it only happens in IE6!?
Then, as BGarner suggested, use conditional comments to serve IE6 an extra stylesheet that other browsers don't get.
Reply With Quote
Reply

Tags
css problem, ie 6

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
First image problem and inline list problem konnor5092 Web Page Design 8 Dec 1st, 2007 09:08
2 minor problems need sorting AdRock Web Page Design 2 Mar 26th, 2007 21:12
CSS (minor help) john555 Web Page Design 4 Sep 6th, 2006 17:24
Minor design Flash needed Anonymous User Flash & Multimedia Forum 0 Dec 7th, 2004 19:43


All times are GMT. The time now is 23:12.


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