Discussion Forum

Main >> HTML/CSS Technical Articles and Discussions>> Div does not get smaller than 19px in IE7

All Threads Register Login New Discussion
AuthorPostings
bthompson
Developer
Div does not get smaler that 19px in IE7

Wednesday, January 24 2007 02:51 AM

I am using a class to set a div height in IE but it does not get smaller than 19px Any ideas

Post a Replyreply

AlexT
Developer
Re:Div does not get smaler that 19px in IE7

Wednesday, January 24 2007 02:53 AM

Make sure you start with
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Post a Replyreply

Navrang Prayag
web designer
Div does not get smaler that 19px in IE7

Tuesday, June 02 2015 01:14 AM

Try this code:

div.front_page {
font-size:0px;
line-height:0px;
width:560px;
}

div.front_page img {
margin:0px;
border:0px;
vertical-align:bottom;
}

Hopefully this helps

Post a Replyreply

AT Integrated Inc. | 913 Ridgebrook Rd Suite 109, Sparks, MD 21152 | T: 410-472-2490
Copyright © 2024 AT Integrated Inc. All rights reserved.