CSS Mess help
- Started
- Last post
- 2 Responses
- fusionpixel
So I created a menu about 5 months ago and everything works great, today i got requested to add a submenu to one of the many sections of a big site. so my first idea was to create a list for the new menu.
Well since i had originally declared my css like this:
#menu a.link{
padding: 5px;
}now even my sub links that are included in an independent list inerit that behavior.
is there anyway to avoid that ineritance so i can do the alignment of my li on its own?
the reason why I am asking this is because couple of the sub links wrap and with the 5 padding indetion it looks like this
MAIN LINK
MAIN LINK 2
this is the
extralink 1
this is the
extralink 2
MAIN LINK 3
...so forth
TIA
- fusionpixel0
aha!
I found a work around, I had to modify the padding and margings of the new lists itself, a little of a mess but it works just fine.
- kaiyohtee0
let's see it!