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

YOU ARE HERE:
Mysteriously centered text

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Mysteriously centered text »
Welcome, Guest. Please Login or Register.
12/14/17 at 08:15:46
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   Mysteriously centered text
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Mysteriously centered text  (Read 771 times)
ThatPoshGirl
Green Dragon
*

Posts: 9



Go Scots!
   

Mysteriously centered text
« on: 02/20/06 at 11:50:23 »
Reply with quote Modify message

Howdy,

I'm in the process of setting up cpshop and I can't figure out where the code is that is causing my sidebar text to be centered.  It's not in my style sheet or template.  Is it in the script code somewhere?  It's only happening in MIE, afaict.

http://www.thatposhgirl.com/cgi-bin/poshactivism/cpshop.cgi


UPDATE:  Well, I fixed it by throwing a closing center tag above everything, but wish I knew where the opening one was.
« Last Edit: 02/20/06 at 11:59:12 by ThatPoshGirl » Logged
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Mysteriously centered text
« Reply #1 on: 02/20/06 at 15:01:27 »
Reply with quote Modify message

They're just above the java and inline CSS. There's a <center> and it's also in the table tags. Look for <td align=center>.

Wrap your descriptions with div's. It's safer than throwing a closing </center> at it, (which is evil because a> the opener might not always be there and b> you've got a lonely unmatched </center> out there that's been cut off -- but it might not always be there so don't dare give it a <center>) EG:

<div class="definitely_NOT_CENTERED_description">Aren't these t-shirts cool!</div>

Or something like that.
« Last Edit: 02/20/06 at 15:03:38 by Hex Angel - Patrick » Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
ThatPoshGirl
Green Dragon
*

Posts: 9



Go Scots!
   

Re: Mysteriously centered text
« Reply #2 on: 02/20/06 at 23:58:51 »
Reply with quote Modify message

I selected the option to hide the cpshop style sheets and that seemed to fix the problem.
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.