Title vertical align
13 years 3 weeks ago #842
by afdrock
Title vertical align was created by afdrock
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!
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!
Please Log in or Create an account to join the conversation.
12 years 8 months ago #1873
by smoky184
Nicolas
Bidouilleur à temps complet
Replied by smoky184 on topic Re: Title vertical align
hi,
Try with this :
in :
change the line-height to 30px
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.192 seconds