Multiple CSS Conflict

Asked

Viewed 170 times

-1

Hello,

I’m making an HTML table and I’m using my.CSS style sheet, but recently I made a datepicker with their bootstrap and their style link:

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

But she’s modifying my table, as I would for this bootstrap css link "Work" only on datepicker ?

Hug.

  • 1

    You are new to the site so I’ll give you a hint, whenever you ask a question on the site, always try to insert the relevant codes the question, in your case html and Css. Getting back to the point, Bootstrap styles only interfere with your table if you put some bootstrap class in it.

1 answer

1

How your application is using your custom style and Bootstrap. You are probably using classes with the same name, so bootstrap will have a higher priority level because of the attributes ! Bootstrap classes import. Soon it will have higher priority when building the layout.

I advise you to change the name of your class, which is in your custom style sheet and triggering ! Import, right in front of the CSS formatting of your table.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.