marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
All text is centered.

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « All text is centered. »
Welcome, Guest. Please Login or Register.
12/13/17 at 17:04:06
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   All text is centered.
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: All text is centered.  (Read 608 times)
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

All text is centered.
« on: 10/01/08 at 09:33:17 »
Reply with quote Modify message

I have been working on my site in FireFox and the alignment of the CP Shop content is fine. In IE, however, all of the text is center aligned. The heading that I added to the sortorder file appears in the center. The text on the product description page is center aligned too.

It basically looks horrible. I completely removed my stylesheet to make sure that is wasn't my doing and all of the CP Shop content still appears centered. Please help.
Logged
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: All text is centered.
« Reply #1 on: 10/01/08 at 11:57:46 »
Reply with quote Modify message

Okay, so I have found that the text appears left aligned if I remove the <!DOCTYPE> tag from my template. The problem with that, however, is it basically breaks everything else on my site.
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: All text is centered.
« Reply #2 on: 10/01/08 at 11:59:48 »
Reply with quote Modify message

Can you put the DOCTYPE tag back in so I can take a look at it in IE?
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: All text is centered.
« Reply #3 on: 10/01/08 at 12:01:08 »
Reply with quote Modify message

Sure. I'll PM you the URL for a product page.
Logged
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: All text is centered.
« Reply #4 on: 10/01/08 at 17:10:22 »
Reply with quote Modify message

I found the solution and I thought that I would post it for anyone else experiencing this problem.

Add the following to your style sheet and the product information text should be left aligned in IE.

.container { text-align: left; }

That should do the trick.
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.