Hoping somebody might be able to give me a quick answer. I've specified a style for .graphic_nav ul, as you can see in the image below, it's on line 757 of style.css The problem is margin:0; being overridden by #content ul which is on line 22 of style.css I can't see it being a specificity issue since .graphic_nav ul is just as specific as #content ul, and even if I use an id instead of class on the .graphic_nav parent element, it behaves in exactly the same way. It doesn't seem to be a browser specific issue either. Anyone have any ideas?Thanks,--
You received this message because you are subscribed to the Google Groups "NZ Web Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nz-web-dev/-/-Q2mZQak4asJ.
To post to this group, send email to nz-we...@googlegroups.com.
To unsubscribe from this group, send email to nz-web-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nz-web-dev?hl=en.
Hoping somebody might be able to give me a quick answer. I've specified a style for .graphic_nav ul, as you can see in the image below, it's on line 757 of style.css The problem is margin:0; being overridden by #content ul which is on line 22 of style.css I can't see it being a specificity issue since .graphic_nav ul is just as specific as #content ul, and even if I use an id instead of class on the .graphic_nav parent element, it behaves in exactly the same way. It doesn't seem to be a browser specific issue either. Anyone have any ideas?Thanks,--
You received this message because you are subscribed to the Google Groups "NZ Web Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nz-web-dev/-/-Q2mZQak4asJ.
To post to this group, send email to nz-we...@googlegroups.com.
To unsubscribe from this group, send email to nz-web-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nz-web-dev?hl=en.
Thanks guys!Steve, I hadn't thought of that, was looking out for it in the original declaration in case that was causing the override, but didn't think to use it in the later one. #content .graphic_nav ul did it in the end. But it still leaves me wondering why line 22 was overriding line 757. I've not seen that before. Paul, I was wondering if it was to do with the order of stylesheets loading, but both declarations are in the same file. Oh well, at least it works now.Andrew
--
You received this message because you are subscribed to the Google Groups "NZ Web Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nz-web-dev/-/CEZMZ63z2TYJ.
Have you tried to turn javascript off - maybe there is something that touches existing css?HTH, Jochen
--
Have you tried to turn javascript off - maybe there is something that touches existing css?HTH, Jochen
--