Results 1 to 2 of 2

Thread: Aligning Text

  1. #1
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Aligning Text

    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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,497
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Try (additions red):

    Code:
    #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:

    Code:
    	<div id="words"><div>ggggggggggggggggggggggggggggggggggggggg<br>gdfjffffffffffffffff<br>fggfggggggggggggggggggggggggggggggggg
    	</div></div>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •