# Setting dimensions of an anchor

**URL:** <https://forum.kirupa.com/t/setting-dimensions-of-an-anchor/299701>\
**Category:** web dev\
**Created:** [November 9, 2009, 8:37pm UTC](https://forum.kirupa.com/t/setting-dimensions-of-an-anchor/299701 "2009-11-09T20:37:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [November 9, 2009, 8:37pm UTC](https://forum.kirupa.com/t/setting-dimensions-of-an-anchor/299701/1 "2009-11-09T20:37:11Z")

</div>

Specifying the dimensions of an anchor in its default display has no effect. How do I specify the width and height of an anchor \<a\> without having to make it “display: block”? I want uniform sized anchors to line up side by side, but don’t want “display: block; float: left”, because I really hate floats.
