Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
IE 6 gap in between images
Old 03-20-2007, 07:32 PM IE 6 gap in between images
Skilled Talker

Posts: 52
Name: ana
Trades: 0
I have a mysterious gap between 2 images on this page:

http://www.outer-edge.com.au/develop...ite/index.html

It only appears in IE 6
ana_rad is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-20-2007, 07:40 PM Re: IE 6 gap in between images
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
probably not mysterious


You will have white space between the closing tag of the previous element (or image) and the opening tag of the image

didn't look at the source, got bored at 50 seconds waiting for the page to fully load, I'm on 2M broadband heaven help anybody on dialup.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-20-2007, 07:50 PM Re: IE 6 gap in between images
madal's Avatar
Average Talker

Posts: 21
Location: Croatia
Trades: 0
try with styling your images

<img src="your_image.extension" style="display: block;" />
madal is offline
Reply With Quote
View Public Profile Visit madal's homepage!
 
Old 03-20-2007, 08:13 PM Re: IE 6 gap in between images
Skilled Talker

Posts: 52
Name: ana
Trades: 0
That didnt work :-(

My top and middle sections images are part of my css:

#top.home {
background-image: url(images/top_bg.gif);
background-repeat: no-repeat;
width: 800px;
height: 103px;
}
#menu {
width: 400px;
padding-top: 80px;
padding-left: 330px;
}
#content.home {
background: url(images/home_main.jpg);
height: 371px;
width: 800px;
}

Where as the menu images are part of the html body:

<div id="top" class="home">
<div id="menu">
<img src="images/menu_home.gif" height="19" width="75" alt="Outer Edge Home" />
<img src="images/menu_news.gif" height="19" width="72" alt="News" />
<img src="images/menu_mag.gif" height="19" width="66" alt="The Magazine" />
<img src="images/menu_links.gif" height="19" width="70" alt="Outer Edge Links" />
<img src="images/menu_contact.gif" height="19" width="70" alt="Contact" />
</div></div>
ana_rad is offline
Reply With Quote
View Public Profile
 
Old 03-20-2007, 08:40 PM Re: IE 6 gap in between images
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You have other problems in Firefox too. In FF your menu images are stacked vertically rather than horizontally.

You should style your menu as an unordered list rather than a bunch of inaccessible images. It would also solve your image spacing problems. You can always put the image in as a background of the <li> or the <a> tag.
Then you set the <li> to display: inline for a horizontal menu.

Change the padding-top on #menu to 78 or 79 and your space disappears.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-20-2007, 08:51 PM Re: IE 6 gap in between images
Skilled Talker

Posts: 52
Name: ana
Trades: 0
Thanks LadynRed! That #menu pixel change fixed it.

I would like to use a ul for the menu images in my css, however I want to be able to use rollover images for the menu images...how would this work?
ana_rad is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to IE 6 gap in between images
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30776 seconds with 12 queries