« Web, HTML, Tech Forum

can someone paste in the code for making my interests box a different color??

this would really help cause all of the other tutorials and things i’ve been searching just lead into dead ends or confusing stuff i don’t know 


Report Topic

13 Replies

Sort Replies:

Reply by pawtal!!!

posted

Here, i'd prefer if you would learn how selectors work but whatever.

.col.w-40.left .details-table td {

    background: hsl(0, 0%, 10%);

}


Permalink Report Reply

Reply by offbrand soda [autoplay]

posted

for some reason it didn’t work but thank you anyway ^_^


Permalink Report Reply

Reply by pawtal!!!

posted

You didn't enclose your style tags correctly so it doesn't even render.



Permalink Report Reply

Reply by offbrand soda [autoplay]

posted

oh i thought i did that? i’ll try it out and let you know


Permalink Report Reply

Reply by offbrand soda [autoplay]

posted

can you explain further? i’m kinda confused since i put them on top and bottom and used </style> for the bottom one


Permalink Report Reply

Reply by pawtal!!!

posted

The style tag above doesn't have a </style> which prevents the one you enclosed correctly from rendering.


Permalink Report Reply

Reply by offbrand soda [autoplay]

posted

ok a little problem, when i enter the second </style> the other one just dissapears,, there’s supposed to be 2 of the </style> correct?


Permalink Report Reply

Reply by pawtal!!!

posted

It shouldn't be disappearing, see if the highlighted bit is enclosed by <style></style> on your editor.



Permalink Report Reply

Reply by offbrand soda [autoplay]

posted

it just has the one </style> on top


Permalink Report Reply

Reply by pawtal!!!

posted

Yeah that </style> properly encloses your h1 color and that renders properly. I have no idea if the ones you're putting around the CSS I gave you is disappearing when you update your profile, you'll have to find a way to show me a before and after of your editor when you click save all.


Permalink Report Reply

Reply by offbrand soda [autoplay]

posted

do you have discord? i can show proof there


Permalink Report Reply

Reply by pawtal!!!

posted

Yeah, username is pawtals.


Permalink Report Reply

Reply by offbrand soda [autoplay]

posted

my names kris on there aswell


Permalink Report Reply