Hey Web Design Dev,
I am Luke Marohn, i am 13 and i also design and develop websites. i’m pretty pro with designing, HTML and CSS, but this is something i cant figure out.
I see this on almost all sites, it has to do with the navigation, it seems as though (for your main navigation) when you roll over “home” or “contact” the width of the green bar is changed to fit the link. i am pretty sure you have a tutorial on that but i cant find it. if you didn’t make a tut on this can you? or send me to another site that has a tutorial on how to do this?
Hopefully this made sense…
Thanks man! i love your blog as well. keep it up!
Luke.
What Are We Making?
We are making a navigation menu with a background image that will expand depending on how long each text link is in the menu. Here is WebDesignDev’s one, but of course you can modify your colours, height, and more a less everything about the menu. Its the base code that matters.
Step 1:
First you need to put these div tags where you would like the menu to go. It doesn’t matter if its a WordPress theme, HTML file, whatever, it will still work.1.<div id="navigation">2.<ul id="menu">3.4.ul>5.div>Step 2:
Now we need to create the HTML menu. You need to replace the with the following code…To List WordPress Pages, put…
1.'title_li&link_after='); ?>1.'title_li&link_after='); ?>1.<li><a href="url">Nav 1<span>span>a>li>2.<li><a href="url">Nav 2<span>span>a>li>3.<li><a href="url">Nav 3<span>span>a>li>
No comments:
Post a Comment