/    Sign up×
Community /Pin to ProfileBookmark

Please please can anyone figure this out

If you open the following [URL=”http://tinyurl.com/32z86z”]page[/URL] and go to the bottom of the main grey rectangle. In IE6, there is a much bigger gap at the bottom of the rectangle compared to FF. Please, please is there anyone that can figure this out, thanks in advance

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@CentauriMar 05.2008 — This is due to IE not allowing an element to have less height than what is required for the current text size, even when no text is present. Fix is to specify a small font size :[CODE]#content_main_bottom
{
height:9px;
width:770px;
margin:0px auto 0px auto;
background: url(../images/content_main_bottom.jpg) no-repeat;
clear:left;
[COLOR="Red"]font-size: 1px;[/COLOR]
}[/CODE]
Copy linkTweet thisAlerts:
@oo7mlauthorMar 06.2008 — Wow cool, thanks... altough i don't really understand

"IE not allowing an element to have less height than what is required for the current text size"

What is the current text size? Where is it getting the current text size from? (as i didn't declare any text size for this div)

thanks again for your help
Copy linkTweet thisAlerts:
@CentauriMar 06.2008 — Text size cascades down from parent elements (the "cascade" in css), so it is whatever the parent element size is - if no parents have text size defined, it is the size of the body text - if this has not been defined, it is the default browser size (usually around 16px).
Copy linkTweet thisAlerts:
@oo7mlauthorMar 06.2008 — Ok, cool, you seem to know your stuff... thanks, it worked perfect anyway, thanks again
×

Success!

Help @oo7ml spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...