Log in  \/ 
Register  \/ 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: <a> with 100% width

<a> with 100% width 02 Apr 2015 03:17 #7544

  • kweb
  • kweb's Avatar
  • User
  • Posts: 4
  • Karma: 0
Hi There,
I want to usw the cinch menu on my site as a subnavigation vertical. I have some problems to style it in the right way.

Here is my demo site:
To Page

I found out that generally <a>-links dont have 100% width. The result is that when someone is hovering over the menu item, the space beside the link is not clickable. Thats not really user-friendly. So I wanted that the whole width will be used for <a>, so I started adding css
ul#accordion_menu_108 li a{
width: 100%;

and added some color and background style for a current element.

On the first look its looking good but when I press "+" to let a subitem show up its displaying a horizontal scrollbar.

Can you tell me how I can style it the right way to let <a> appear always in 100 %?

Thanks for your help,
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: dig814


Your cart is empty.