javascript code and css inheritance
-
Hello ! i have a javascript widget included on my page , inside a div . But i have a problem : all the object inside widget are inheriting properties from CSS container div.The widget have same scrolling photos.When i preview the page all the photos have borders ..etc.But if i put this widget on a blank page , everythink is normal and photos have no border ( this is original widget design). Is possible to block css inheritance for the javascript widget only ? Thank you in advance.</x-turndown>
-
Hello ! i have a javascript widget included on my page , inside a div . But i have a problem : all the object inside widget are inheriting properties from CSS container div.The widget have same scrolling photos.When i preview the page all the photos have borders ..etc.But if i put this widget on a blank page , everythink is normal and photos have no border ( this is original widget design). Is possible to block css inheritance for the javascript widget only ? Thank you in advance.</x-turndown>
i think you should user the opposite css. span { text-align: left; } #Div1 span { text-align: none; } Good Luck; ;)
Help people,so poeple can help you.