• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

Question about multiple css pages referenced in an html file

I have a web page that is referencing 3 css pages and the formatting is conflicting with each other. 2 of the css pages are external and so I don't really have the option of modifying the internal contents of those pages (these are google gadgets - theoretically I could download the css code, modify it and store it locally, but that would be a maintenance headache).

So I was wondering if there is some way within html to say

"only css file X applies to this div tag".

Or maybe there's some other way of getting around this problem that I'm not considering.
0
opike
Asked:
opike
  • 2
1 Solution
 
Roman GhermanSenior Software EngineerCommented:
put your css file at the end:

1 google css
2 google css
3 Your CSS

this way your css file will have priority above google's one.

See this page: http://forums.asp.net/t/1413525.aspx/1
0
 
opikeAuthor Commented:
Yeah, I realized that would solve one of my problems. The other problem is the 2 google css files are also stepping on each other.
0
 
Roman GhermanSenior Software EngineerCommented:
you will have to rewrite needed css in your file.

I don't know any other way of doing that.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now