# V-align trouble. Please help!

**URL:** https://forum.kirupa.com/t/v-align-trouble-please-help/183942
**Category:** web dev
**Created:** [March 31, 2006, 12:06pm UTC](https://forum.kirupa.com/t/v-align-trouble-please-help/183942 "2006-03-31T12:06:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![spindrift](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@spindrift](https://forum.kirupa.com/u/spindrift)
#### Post date: [March 31, 2006, 12:06pm UTC](https://forum.kirupa.com/t/v-align-trouble-please-help/183942/1 "2006-03-31T12:06:08Z")

</div>

Hello!

I’m having some trouble on my site. If you check it out at [http://www.spindriftmedia.com/2006](http://www.spindriftmedia.com/2006) you should see a CSS table at the bottom with the copyright statement, site map, top and contact links.

I want the text/links to appear vertically in the middle of this box with space at the top and bottom instead of just below the text. I’ve put the following code in my style sheet:

```auto
#footer {
    left: 0;
    bottom: 0;
    position: absolute;
     margin: 0px;
     padding: 0px;
     width: 770px;
    height: 20px;
    vertical-align: middle;
    text-align: right; 
     background-color: #D1D1D1;
}/* used by Netscape6+/Mozilla, Opera 5+, Konqueror, Safari, OmniWeb 4.5+, ICEbrowser */
body > div#footer {
    position: fixed;
}

```

I would have thought the “vertical-align: middle;” would have sorted it but something is evidently blocking it from happening.

Any thoughts on this would be greatly appreciated - thank you very much and I hope to hear from you,

All the best,

Mark

---

<div class="post-metadata">

### Author: ![hkl](https://avatars.discourse-cdn.com/v4/letter/h/a8b319/32.png) [@hkl](https://forum.kirupa.com/u/hkl)
#### Post date: [March 31, 2006, 12:31pm UTC](https://forum.kirupa.com/t/v-align-trouble-please-help/183942/2 "2006-03-31T12:31:32Z")

</div>

why dont u just add margin or padding to the top and bottom? if ur valign doesnt work? nokrev or richter will sort u out tho.

---

<div class="post-metadata">

### Author: ![spindrift](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@spindrift](https://forum.kirupa.com/u/spindrift)
#### Post date: [March 31, 2006, 1:22pm UTC](https://forum.kirupa.com/t/v-align-trouble-please-help/183942/3 "2006-03-31T13:22:44Z")

</div>

hey hkl,

good thinking, that’s worked a treat!

thank you very much.

all the best,

mark
