November 23, 200719 yr Anyone know how I can achieve this? The red bit around the 'Blog' link at the top right... http://psdtuts.com/about
November 23, 200719 yr I think it's the Sliding Doors approach. Basically making the hover state for a link have a small background image or two.
November 23, 200719 yr I think it's the Sliding Doors approach. Basically making the hover state for a link have a small background image or two. My first thoughts as well - go and dig into the CSS and see what they are doing!
November 23, 200719 yr Looks to me like it's just a background image for that menu item Maybe it uses a different class for the tab of the page you're on that has that background image.
November 23, 200719 yr basically how it is done is the same way as any hoverover menu is done with images, but they have also added a class in as well so when you are on that section the class is added into the link. So basically the css would be like this #menu li a:hover, #menu li a.active{***information about hover status** } so then in the menu you would go: <div id="menu"> <ul> <li><a href="#">normal hover</a></li> <li><a href="#" class="active">always on hovered</a></li> </ul> This however only works if the image you are using is the same for hover and active You could separate them off if you wanted the active one to be a different image. Hope this makes some sense....if you still need help PM me and I will code you a quick sample
November 23, 200719 yr you are just talking about the red square with rounded corners that is behind the word blog on the menu...right?
November 23, 200719 yr Would it be easy to create those bg images? Sure, it's just a rounded rectangle. Assuming you have some kind of graphics program?
Create an account or sign in to comment