-
import css class
i have imported a css file to my project.
Now I want to change a specific css class
how do I do it
for ex.:
. HtmlSubHeaderDDL
{
width:108px;
border-top: 1px solid #D6D6D6;
}
I just want to change the border-top color
do I have to add a@ to import?
if yes where?
of course the . HtmlSubHeaderDDL will be in my css file
-
-
I don't understand the situation.
@ will import a DIFFERENT .css file into the CURRENT .css file-- inside 1.css you can use @ to import 2.css.
But here can you not just type the value directly?
When do you want to "change" the css? Now? While the page is loading? In the future? That's the important question before we can help.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
i have a website, the header is taken from another website so i imported their css file.
I just need to change one class who is creating me problems.
how do i do it?
-
-
Change/delete the text in the .css file that you do not want.
(And be careful about copyright.)
You could also create a new definition that is processed after the first and then will overwrite the first, but that's more complex and unpredictable. If you can just change the text, there's no reason not to.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks