Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2010
    Posts
    128
    Thanks
    26
    Thanked 0 Times in 0 Posts

    Alligning text within a box...

    I have a couple of questions. I'm working on a site that has quotes on every page. The quotes are set withing a box, in order to set them apart from other content. I'm trying to do two things:

    1. I want the quotes to be lined up in the middle of the "box", Currently, I'm having to add line breaks in order it keep the text from running outside the box and even then, it's not centered in the middle of the box. If there an adjusment I can make to my css to do this?

    2. I'd also like to move the "quote" area to the right side of the content area, that way there's more room for the other content.

    Here's a link: Thanks for your help.


    http://tinyurl.com/6btoms3

  • #2
    Mr.
    Mr. is offline
    Regular Coder
    Join Date
    Feb 2011
    Posts
    112
    Thanks
    8
    Thanked 4 Times in 4 Posts
    It looks like you accomplished everything your asking.

  • #3
    Regular Coder
    Join Date
    Oct 2010
    Posts
    128
    Thanks
    26
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Mr. View Post
    It looks like you accomplished everything your asking.

    Actually, no. The quote is not centered at all. Plus I has to add line breaks to keep the text from running past the box. Is there a way using CSS to set it up where it stays centered in the box and doesn't run past the edges? I won't be updating the site, so I'd like to make it as easy as possible for the person.


  •  

    Posting Permissions

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