Zach Byrd wrote:

> I used pixels to set the height on a web project I am
> working on. The height in IE does not respond(will not
> get any smaller) below a setting of 15px(in CSS), but
> in Firefox the setting reflects what height I put in
> the CSS. I would appreciate any advice on this matter.
> Thanks in advance!

Without any reference code this is a bit of guesswork.

a. Sounds like you have an empty DIV or similar. IE is treating the 
contents of this as a paragraph of text, and it's got the default 
line-height, margin and whatnot.

b. IE doesn't interpret CSS height correctly, and will stretch the 
container to fit this invisible content. Firefox correctly allows the 
content to overflow the container, whether or not it is calculating the 
same height for the invisible contents.

If this container being sized is empty, you may try putting a spacer gif 
or HTML comment in there and see if this allows IE to size it smaller.

e.g.
<div class="foo"><!-- hfdf --></div>

.foo {
   background:#f63;
   height:1px;"
}

HTH

Cheers

Ian

-- 
_________________________________________________
zStudio - Web development and accessibility
http://zStudio.co.uk

Snippetz.net - Online code library
File, manage and re-use your code snippets & links
http://snippetz.net

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to