css code help please?
Hello.
I wrote some CSS code, which is this:
#profile_path_to {
background-color: #000000
}
This one works really well, does exactly what I wanted. I wanted the thing on top (see picture) on my forum to be black.
Unfortunately, as you can see, where it says "confirm friend," the font is also black, and you can't see it. I'd prefer it to be gray or white. Can someone add the missing part to my code so that the font is white or gray? So the text can be read.
LG
A solution has already been specified for the DIV container.
You can also style other elements (such as the body tag). These properties are then acquired first for all elements subordinate to the hierarchy (but can be changed again individually).
Example:
Not surprising, the properties can be implemented differently. For example, with some valid trivial names (colors in English, hexadecimal, …).
you should simply be able to set “color” to “white” or a hexcode in the same block:
need a css code no html code
Between the
so with color it’s not already tried. Got the code jz so : #profile_path_to {
background-color: #000000
}
#profile_path_to {
font size: 16px;
font-weight: 900;
font-family: cursive;
font-color: #FFFFFF!
}
could change font size and font with the code but not the color…
then check which ID or class of the text you have in the HTML source text and add the attribute to the CSS property belonging to this ID/Class color: xxxxx; added.
Without seeing the HTML source text, no one will be able to tell you if this is also regulated by “#profile_path_to” or another name is considered here.
#profile_path_to {
background-color: #000000
color: #aaaaaaa
}