2 replies [Last post]
lisa_chrissi
lisa_chrissi's picture
Offline
newbie
Germany
Last seen: 4 years 32 weeks ago
Germany
Timezone: GMT+2
Joined: 2015-04-30
Posts: 1
Points: 2

Hi,

how can I center the link in every box vertically on my website http://www.guenstige-kfzversicherungen.de/autoversicherung/kfz-versicherungen-nach-marken/ ?

Thanks.

Best regards,
Chrissi

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 4 days 12 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Here's one

Here's one way.

.glossar_listen li{display:table;}
.glossar_listen a{
    display:table-cell;
    vertical-align:middle;
}

VeeraM
VeeraM's picture
Offline
Enthusiast
bangalore
Last seen: 4 years 7 weeks ago
bangalore
Timezone: GMT+5.5
Joined: 2014-09-22
Posts: 59
Points: 59

vertical center in a box

hi,the vertical and horizontal box in websites
margin: auto;
position: absolute;
top: 0; left: 0;
bottom: 0; right: 0;
width are mentioned in particular class.