PDA

View Full Version : Help with CSS.?


badboi10492
03-26-2008, 08:36 AM
Hey...I am trying to code this template:http://colinsmiley.net/getest/I basically want the background to be this:http://colinsmiley.net/getest/images/bg.gifand for the text to just go on it and use padding to make it in the right place (For sidebar and main text...The problem is when I do it with padding it will work but the sidebar makes the main content go under its, So I made them float to left and right and that worked but the bg messed up, Now I have the bg showing up but not how it needs to, I used background: inherit; and each of them have a strange version of the image, Can anyone help me achieve the effect I want?...I have tried everything I can think of,html:http://pastebin.com/faf78827css:http://pastebin.com/f5b8c8b7ePlease help :D Thanks.

Bunty8324
03-26-2008, 09:05 AM
The padding method is perfectly OK. Now minus the padding values from the main div width.For example if you have given a padding of 10px ( both left & right ) and your container div is 610px then reset to 600px or little less than 600px to be on the safer side with regards to other browsers..for more css tutorials log on to http://gateway2internet.com