Log in

View Full Version : Newbie Horizontal hover menu



Saulius
08-05-2007, 05:27 PM
I'm a newbie at this so please be patient if my question is very basic.
I am trying to use the CSS Based Horizontal Hover Menu. My question is what's the easiest way to get it to be centered? It always shows starting on the far left going accross. Thanks in advance.

Saulius
08-05-2007, 10:01 PM
Well I figured it out.:D

I changed this part of the coding:

.hovermenu ul li a{
padding: 2px 0.5em;
text-decoration: none;
float: left;

I changed it to

float: center;

Eva Kupstaityte
08-13-2007, 07:58 AM
I'm a newbie at this so please be patient if my question is very basic.
I am trying to use the CSS Based Horizontal Hover Menu. My question is what's the easiest way to get it to be centered? It always shows starting on the far left going accross. Thanks in advance.

Saulius, I just want to know if you are my brother, who I havn,t seen for more than 15 years? :)

jc_gmk
08-13-2007, 08:17 AM
There is no such thing as "float: center;"

when a browser looks at it, it is probebly replacing it with "float: inherit;"

as a test - try deleting the line all together and it will display exactly the same as your "float: center;"