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.

CSS Forum


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



Reply
Old 08-05-2009, 09:23 PM CSS Space Problem
Novice Talker

Posts: 11
Trades: 0
Hi,

In IE6 there's some space between h1 and the image on my website, and yet in firefox there's none. How can I remove the space in IE6?

Regards,

Nicholas

Last edited by g123s; 08-06-2009 at 01:29 AM..
g123s is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-05-2009, 09:26 PM Re: CSS Space Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Why use an image for a line under the <h1> when you can do the exact same thing with a border on the h1 ??

To answer your question, add some bottom padding on the h1.
__________________
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 08-05-2009, 09:47 PM Re: CSS Space Problem
Novice Talker

Posts: 11
Trades: 0
I added some bottom padding but, unfortunately, there's still some space showing in IE6.
g123s is offline
Reply With Quote
View Public Profile
 
Old 08-05-2009, 11:24 PM Re: CSS Space Problem
Novice Talker

Posts: 11
Trades: 0
Any advice?
g123s is offline
Reply With Quote
View Public Profile
 
Old 08-06-2009, 09:59 AM Re: CSS Space Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Umm.. what happened to the link so I can see it ?

Why not use a border instead ?
__________________
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 08-06-2009, 10:51 AM Re: CSS Space Problem
Novice Talker

Posts: 11
Trades: 0
Here's the link
g123s is offline
Reply With Quote
View Public Profile
 
Old 08-06-2009, 03:10 PM Re: CSS Space Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Put proper height and width dimensions on your image.
__________________
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 08-06-2009, 04:14 PM Re: CSS Space Problem
Novice Talker

Posts: 11
Trades: 0
Why...The image is only 3 pixels tall.
g123s is offline
Reply With Quote
View Public Profile
 
Old 08-07-2009, 01:17 AM Re: CSS Space Problem
Novice Talker

Posts: 11
Trades: 0
Why do I have to add dimensions to the image?
g123s is offline
Reply With Quote
View Public Profile
 
Old 08-07-2009, 12:05 PM Re: CSS Space Problem
Novice Talker

Posts: 11
Trades: 0
anybody?
g123s is offline
Reply With Quote
View Public Profile
 
Old 08-07-2009, 02:56 PM Re: CSS Space Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
For one thing, it's the proper way to code, it doesn't matter what the dimensions are. You NEVER want to force the browser, and particularly IE, to guess.
__________________
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 08-07-2009, 03:38 PM Re: CSS Space Problem
Novice Talker

Posts: 11
Trades: 0
I added dimensions to the image but there's still some space in IE6. How can I get rid of it?

Last edited by g123s; 08-07-2009 at 03:39 PM..
g123s is offline
Reply With Quote
View Public Profile
 
Old 08-07-2009, 07:52 PM Re: CSS Space Problem
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
remove any "white space" from before and after the <img > element.
__________________
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 offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to CSS Space Problem
 

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.97053 seconds with 12 queries