# Width of Div altered when height is specified in IE

**URL:** <https://forum.kirupa.com/t/width-of-div-altered-when-height-is-specified-in-ie/173693>\
**Category:** web dev\
**Created:** [December 28, 2005, 6:31pm UTC](https://forum.kirupa.com/t/width-of-div-altered-when-height-is-specified-in-ie/173693 "2005-12-28T18:31:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snailface](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@snailface](https://forum.kirupa.com/u/snailface)\
**Post date:** [December 28, 2005, 6:31pm UTC](https://forum.kirupa.com/t/width-of-div-altered-when-height-is-specified-in-ie/173693/1 "2005-12-28T18:31:15Z")

</div>

I’m working on CSS-ifying a table layout, and have come across an odd “bug” in IE.

I’ve attached some sample code and CSS to demonstrate, but the basic issue is this.

I have a three column liquid layout. In the center/main column, I need to have a module with its height specified to be 175px, and its width 100% of its available space.

Simple right… Well for some reason in IE6 on my machine, when I specify the height of the div in the CSS, the div’s width is shortened by 3 pixels on both the left and right sides.

I’ve attached some code. #brandDiv is the div in question. It should be as wide as the blue bar below it, but it isn’t.

Anyone have any suggestions?
