# IE rendering of block element \<a\>

**URL:** <https://forum.kirupa.com/t/ie-rendering-of-block-element-a/260349>\
**Category:** web dev\
**Created:** [May 14, 2008, 4:51pm UTC](https://forum.kirupa.com/t/ie-rendering-of-block-element-a/260349 "2008-05-14T16:51:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![knives\_out](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@knives\_out](https://forum.kirupa.com/u/knives_out)\
**Post date:** [May 14, 2008, 4:51pm UTC](https://forum.kirupa.com/t/ie-rendering-of-block-element-a/260349/1 "2008-05-14T16:51:32Z")

</div>

I hope someone can answer my quick question …

IE isn’t rendering my \<a\> tag like a normal block element when I set the css for it as display: block.

Is there any reason why is wouldn’t stretch to the full width of my container element like a H1 tag?

Thanks!

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [May 14, 2008, 4:55pm UTC](https://forum.kirupa.com/t/ie-rendering-of-block-element-a/260349/2 "2008-05-14T16:55:13Z")

</div>

post your code or a link to your page, it could be any number of things

---

<div class="post-metadata">

**Author:** ![actionAction](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/actionaction/32/3987_2.png) [@actionAction](https://forum.kirupa.com/u/actionAction)\
**Post date:** [May 14, 2008, 5:26pm UTC](https://forum.kirupa.com/t/ie-rendering-of-block-element-a/260349/3 "2008-05-14T17:26:16Z")

</div>

Is the anchor tag nested within another block element?

---

<div class="post-metadata">

**Author:** ![redelite](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@redelite](https://forum.kirupa.com/u/redelite)\
**Post date:** [May 14, 2008, 5:31pm UTC](https://forum.kirupa.com/t/ie-rendering-of-block-element-a/260349/4 "2008-05-14T17:31:44Z")

</div>

I could be mistaken but I think by default if you don’t specify a _width_ on an \<a\> tag with _display: block;_, it automatically acts like a header tag
