Page 1 of 1

/* The content of the posts (body of text) */

PostPosted: Mon Feb 09, 2009 11:30 pm
Author: Blue-Blood
[code]/* The content of the posts (body of text) */body{background]

On most themes there is a margin of 10px around the whole theme!
I want to setup a left margin and right margin..

On the body and text line,
I removed "margin:10px;"
Added "leftmargin:50px; rightmargin:50px;"

This still adds 50px around the whole theme??
My ultimate goal is to add a image to both sides of the theme!
leftmargin: url(images/leftbg.gif) repeat-x;
rightmargin: url(images/righbg.gif) repeat-x;

What am I doing wrong?
Is this possable via .css??
Thanks!! <img>

Re: /* The content of the posts (body of text) */

PostPosted: Tue Feb 10, 2009 12:26 am
Author: Helter
Code: Select all
    body {    background]

you will have problems with this though because everything should be inside the body.
You should create a new table in overal_header.tpl
After
[code]<End>[/code]
Add
[code=html]  <table>     <tr>         <td> add your left stuff here</td>         <td>[/code]

in overall_footer.tpl
Before
[code]<Start>[/code]
Add
[code=html]           </td>         <td> add your right stuff here</td>     </tr></table>


in your template .css add

[code=css]#left {     width ]

Im sure youll have to add some fine tuning because I have not tried it and it may need a few tweeks

Re: /* The content of the posts (body of text) */

PostPosted: Tue Feb 10, 2009 1:23 pm
Author: Blue-Blood
Thank you very much!! :D