PDA

View Full Version : Aligning Text



snakeyes37
11-25-2005, 07:47 AM
Hi,


I'm having a problem aligning the main text content on my page, its too far off to the left, when I try and attempt to align the text the bottom of the content box winds up with wherever the text goes.

http://webwizardz.50webs.com/css_website.html




Thanks.

jscheuer1
11-25-2005, 11:36 PM
Try (additions red):


#words {
background: url('http://webwizardz.50webs.com/content_06.gif');
repeat: repeat-y;
width: 515px;
padding: 0 25px;
}

#words div {
padding-left:50px;
}

And then in your markup:


<div id="words"><div>ggggggggggggggggggggggggggggggggggggggg<br>gdfjffffffffffffffff<br>fggfggggggggggggggggggggggggggggggggg
</div></div>