MyBB Community Forums

Full Version: how can i add shadows as my borders?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
how can i add a shadowed border like mybbs?


thanks in advanced
this is called a background image. You can use this css code to achieve it, all you need to do is put it within the body tag or a class or id you create:
background: url(images/backgroundimagename.png) repeat-y;
width: imagewidthinpixelspx;
margin: auto auto;
http://blindmansgfx.net/forums2/index.php
Quote:background-image:url(images/shadows.png);
background-attachment: fixed;
background-repeat: repeat-y;
background-position: top center;
background-width:975px;
What I used
using this code:
Quote:#shadow-left {
background-image: url(images/mytheme/myshadow.png);
background-repeat: repeat-y;
background-position: left;
}
i've this result:
[Image: th_32403_ombra_122_697lo.JPG]
how i can put the shadow out of the board(where is the red line) without shrink the forum dimensions?

i try to use padding: 10px;
but it shrink my board.......
Does the background image have two ends? As in: to act as a border on both ends. If so change this:

background-position: left;
to: center
or to: margin: auto auto;
or to: margin: 0 auto;
uhm no;the forum layout is ''liquid'' it hasn't a fixed width.
microcip Wrote:uhm no;the forum layout is ''liquid'' it hasn't a fixed width.

If it's liquid your going to have some problems. Making it fixed is best. Making liquid themes is a lot harder.
[Image: cry2.gif]
a looong night expect me......
microcip Wrote:[Image: cry2.gif]
a looong night expect me......

Give me a link to your forum. I'll do it for you via firebug.
http://www.coolingtechnique.com/forum/
the background color will be white.
thank you very much.
Pages: 1 2