Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8803435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:20:24+00:00 2026-06-14T01:20:24+00:00

We have a js/html/css widget that we use on our client’s web sites and

  • 0

We have a js/html/css widget that we use on our client’s web sites and have noticed on some sites, it does not display well due to the css from the page cascading through and messing with the layout, like if the designer of the web site has a bunch of css applied to ALL divs on the page, etc..

Is there an easy way to apply styles to the container of my widget so that the invasive css won’t disrupt the layouts?

How do you guys handle this scenario?

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:20:26+00:00Added an answer on June 14, 2026 at 1:20 am

    This is a common problem. What I use is this: https://github.com/premasagar/cleanslate

    A common css reset stylesheet doesn’t suffice. Those reset/normalize the browsers default styles. They don’t clear those created by the author.

    Also, by the same author https://github.com/premasagar/sqwidget – it handles the css resetting plus a few more important things.

    While I’m at it, here’s another one from the team at Olark: https://github.com/olark/lightningjs It’s similar to the last one, but with a few more features, and, therefore, more complex. I haven’t used this one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a 'widget' that comprises an html/css block of code. It is a
I have some html that looks like the following: <div id=main class=ui-tabs ui-widget ui-widget-content
I have HTML + CSS text. I need some lib with simple function like
I have a HTML/CSS File laid out with a bunch of areas that need
I have the following html/css that is causing problems in Firefox 1.5 and 2,
I have a HTML widget/table that is pulling info from a private server that
Given an html/javascript 'widget' which needs to have certain fields customized before use. For
I have a JavaScript widget (a piece of embedded JS and HTML code) that's
I am attempting to do some dynamic loading that includes javascript, css, and html
I have an HTML editor widget that I want to appear within an absolutely

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.