Does anyone know how to turn this horizontal? CSS Vertical JQuery Menu
Asked
Active
Viewed 957 times
1 Answers
0
There are quite a few things that needed done. You should probably read up on CSS.
Here's horizontal. http://jsfiddle.net/eUSNd/51/
basically I used float:left
on the newly created style #nav li
then added a min-width (so they would spread properly).
Then I had to resize the container divs. Absolute positioning everything is a very risky practice. Please look up positioning and floats.

Casey Dwayne
- 2,142
- 1
- 17
- 32
-
Hey thank you. Yeah I know absolute positioning can kinda be risky with IE. So in order to have the jquery slide over each link you would have to edit the query? – jope Mar 03 '13 at 22:09
-
http://jsfiddle.net/eUSNd/53/ I cleaned up your CSS a little more and tweaked the javascript. For some reason it isn't staying with the parent element. It would probably be better to re-ask using this fiddle and code. – Casey Dwayne Mar 03 '13 at 22:52