I was thinking for 10mins on how to title this post !!??!!
Here's my issue - for a reason i had to give a base style for div
this applies to all the div element in the page. Now i need to have one single div inside an ID with padding, margin and border. I triedCode:div {padding:0; margin:0; border:0;}
This does not seem to work. How do i make this div inside the id alone to have a different style than the rest - please let me know how to make this to work?Code:#idname div{margin:10px; padding-left:5px; border:1px solid #ccc;}
Thanks a million.



Reply With Quote


Bookmarks