Voodoo Jai Posted April 24, 2008 Share Posted April 24, 2008 I have figured that my problem is style inheritence from nested div tags, how do I stop them from inheriting from parent div tags. I still want to have the divs nested. Thanks a lot Quote Link to comment https://forums.phpfreaks.com/topic/102786-style-inheritance/ Share on other sites More sharing options...
rhodesa Posted April 24, 2008 Share Posted April 24, 2008 Use classes or IDs on them <style type="text/css"> div.level1 { } div.level2 { } div.level3 { } </style> <div class="level1"> <div class="level2"> <div class="level3"> </div> </div> <div> Quote Link to comment https://forums.phpfreaks.com/topic/102786-style-inheritance/#findComment-526482 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.