Title vertical align

Title vertical align was created by afdrock

Posted 12 years 5 months ago #842
Hello!

First, thanks for MaxiMenuCK!

I'm using 2 menus at my page, and customizing one of them, using the suffix "topox".
So, at file "maximenuH_CK.php" I created a div for this specific menu.

div#<?php echo $id; ?> ul.menutopox.maximenuCK {
padding-top: 5px;
vertical-align: middle;
}

I see that all my first level menu titles are vertical aligned to the top.
I tried to use "vertical-align: middle", but it not works.

The only thing that seems to work is padding. But the problem with padding is that it increases the height of the menu.

Is there a way to vertical align the titles, keeping the original height?

Thanks!
by afdrock

Please Log in or Create an account to join the conversation.

Replied by smoky184 on topic Re: Title vertical align

Posted 12 years 1 month ago #1873
hi,

Try with this :

in :
Code:
div#<?php echo $id; ?> span.titreck { }

change the line-height to 30px

Nicolas

Bidouilleur à temps complet

Please Log in or Create an account to join the conversation.

Time to create page: 0.604 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 960 guests and no members online