MyBB Community Forums

Full Version: how to make a gradient
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hi again

i need to know ho to make a gradient like in the screenshot attached please

thanks in advance men!!!

[Image: img3_1221363746s.png]



salutes!!!
photoshop or gimp. its very easy with the gradient tool.
yeah but in need to make in html Sad
(2008-09-14, 03:52 AM)Azagthoth Wrote: [ -> ]yeah but in need to make in html Sad

You can't make a gradient in HTML. He is using a background image.
ah ok so i need to create a background image to to that?


with what width and height i need to create that image?
you make a small pic thats tall and very thin. Then repeat it horizontally using css. you dont have to make it too tall just make background color the same as what color the gradient changes to.
in what part of the code i have to add it?
??? Im not going to baby feed it to you. Its very simple if you know css. heres a great tutorial : http://www.w3schools.com/css/

i cant explain it through text. All i can do is make an example:

background: #000000 url(images/gradient.png) top left repeat-x;
ok thanks men!!!
Ok go to your templates

find: Postbit template

then find:
<td class="trow1 {$unapproved_shade}">

change trow1 to something else like trow3

then go to: Themes

click on your theme. then go to global.css

and go to: edit stylesheet: advanced mode

then add this somewhere:

.trow3 {
background: #000000 url(images/gradient.png) top left repeat-x;
}

thats all i can do. Unless you want me to do it.
Pages: 1 2