Site logo

Archived topic

text wrap

1 reply · Started by Suresh Sudharsanam on March 30, 2019

Viewing posts 1–2 of 2

i am try wrap some text with black background..

how can i change it from gray to black color.

example code i am using :


Your code in here

Hi there,

so are you using <pre> and <code> tags to wrap your content?
If so then you can style the <pre> tag:

pre {
    background-color: #000;
    color: #fff;
}
This archived topic is closed to new replies.