Generic Template

lepracaun

Quote from: hrioo on May 27, 2008, 11:10:04 PM
Another easy way is to put your text in another div for example #content_inner and specify width by percent and specify margins for it.

This worked great, thank you  :-D

hrioo

Try adjusting the width of your #content. For example you have your width set as 735px, so if you want 15px padding in each side make its width 705px.

Another easy way is to put your text in another div for example #content_inner and specify width by percent and specify margins for it.

Bramus

you could make a different content for the background and 1 for the real content, or check the widths in the css guess theres something wrong, not that good in css, but it is something wrong in your css.
BRAMUS Internet Services

lepracaun

I tried that, but if i increase the width, it also moves the background image the same amount out, and doesn't fit in with the rest of the website layout

Bramus

what if you change the width?

BRAMUS Internet Services

lepracaun

I am busy customising a design based on the generic template, all is going well it is just the 'content' section that I need to get help with.



I need my text to stay within the green border i drew, the css for that section is
#content{
float:left;
width:735px;
background-image:url(body.jpg);
padding:10px 0 0 65px;
}


if is make my padding on the right more, it pull the whole design out of portion.

Can anybody help with this please, just need to get the text on the right side to stop where the green border is.