...

View Full Version : Alligning text within a box...



javanewbie7
09-18-2011, 07:04 PM
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

Mr.
09-18-2011, 07:30 PM
It looks like you accomplished everything your asking.

javanewbie7
09-18-2011, 07:46 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum