Hi all,
I have developed a JavaScript Widget for a client, and I tested it on all my sites and it works and looks perfect.
My client dropped it into his blog, and the styles don’t show quite as they should.
Although I’m not sure which of his styles are conflicting yet, I know its some of his styles interfering because I removed his styles from the blog page momentarily and the widget displayed correctly.
Is there anyway I can override the other styles? I don’t know who might use the widget in the future so I need to make sure this wont happen on another website.
Here is my style sheet:
Code CSS:#widget_sm{ width:180px; height:150px; border: 1px solid #000000; } #search_area_sm{ width:176px; border:1px solid #909ea6; margin-left:1px; } #language_banner_sm{ font-size:1.2em; color:#ffffff; background-color:#2d7fb5; cursor:pointer; } #search_cont_sm{ width:176px; height:88px; background-color:#d4eef6; } #radio_area_sm{ width:176px; height:25px; padding-top:2px; font-size:0.8em; color:#a0a0a0; } #search_sm{ width:168px; margin-left:1px; margin-top:5px; color:#a0a0a0; } #search_button_sm{ float:right; padding:3px; margin:5px 2px 0px 0px; color:#ffffff; border: 1px solid #ffffff; background: #df2131; } #search_button_sm:hover{ background: #ea5864; }
Many thanks!



Reply With Quote



)

Bookmarks