Is there any chance, a div call a particular css and its class. when i include two css on my html header both are have some same class.In case i have css1
.h1 text-align:center;color:red;
and css2
.h1 text-align:left;color:blue;.Now i need to call cssl from a div with h1 class in css1.
gurupts
0
Newbie Poster
Recommended Answers
Jump to PostI suspect the best approach is if you are unable to have unique classes and ids, then if you need to ensure that a specific style is applied, use the "!important" rule to ensure that the styles you need to ensure are applied, do get applied. Styles are normally applied …
All 4 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
rotten69
20
Posting Whiz
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
rotten69
20
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.