1
jimbofoxman
Problem with Content 0.5

I created a table in Content 0.5 and it's centered in the design view on the page, but when it is published, it is left justified.

Anyone have any idea why this is?

2
jimbofoxman
Re: Problem with Content 0.5

BUMP

It just doesn't seem to be Content. Anytime I try to do it in a module like Content, SmartSection, etc. it does it. In this particular case it is FCKEditor being used.

I would really like a way to center something, so I am not just stuck with left justified.

3
Lance_
Re: Problem with Content 0.5
  • 2006/2/21 2:09

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


If you set to HTML mode, can you not put in the center tags manually? Not ideal, just a workaround.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

4
jimbofoxman
Re: Problem with Content 0.5

I'm stumped as to why that won't work, cause that's what I got in the table tag, align="center"

5
domecc
Re: Problem with Content 0.5
  • 2006/2/21 5:02

  • domecc

  • Just popping in

  • Posts: 71

  • Since: 2005/10/30


Maybe this would work:

style="align:center;"
XoopsChina Webmaster

6
khuhner
Re: Problem with Content 0.5
  • 2006/2/21 17:37

  • khuhner

  • Quite a regular

  • Posts: 232

  • Since: 2006/1/6 3


Verify your theme or more explicitly your CSS style settings isnt contributing to the problem.

As mentioned, you can override the setting by editing the HTML code for the desired 'content'.

7
jimbofoxman
Re: Problem with Content 0.5

Here is the source of what I enter into FCKEditor. Obviously this is just a snippet of the code, but it shows my table statement.
le="color: #000000"><?php <table width="325" cellspacing="0" cellpadding="0" border="0" align="center"> <tbody> <tr> <td><span style="font-weight: bold;">Juniors</span><br/> 1) Aircraft - ASAT*<br/> 2) Military Vehicles - ASAT*<br/> 3) Civilian Vehicles - ASAT*<br/> 4) Miscellaneous<br/> <br/>


Here is what I see if I view the page source
le="color: #000000"><?php <td id="centercolumn"> <!-- Display center blocks if any --> <!-- End display center blocks --> <div id="content"> <div class="blockContent"> <table width="325" cellspacing="0" cellpadding="0" border="0" align="center"> <tbody> <tr> <td><span style="font-weight: bold;">Juniors</span><br/> 1) Aircraft - ASAT*<br/> 2) Military Vehicles - ASAT*<br/> 3) Civilian Vehicles - ASAT*<br/> 4) Miscellaneous<br/> <br/>


Here is the CSS for the CENTERCOLUMN
le="color: #000000"><?php td#centercolumn { font-size: 12px; color: #464646; padding-left: 2px; width: 100%; padding-right: 2px; background-color: #E7E9EB; border-right: 1px solid #ffffff; border-left: 1px solid #ffffff; } td#centercolumn th { color: #42474F; background-color: #D8DBDE; } td#centerCcolumn div.blockTitle { padding: 3px; color: #FFFFFF; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-left: 0px; font-size: 11px; background-color: #9299A5; margin-bottom: 5px; padding-left: 18px; background-image: url('images/blue_plus.png'); background-repeat: no-repeat; background-position: left; border-bottom: 1px solid #3D5656; } td#centerCcolumn div.blockContent { margin-right: 0px; margin-left: 0px; margin-bottom: 8px; line-height: 120%;

8
jimbofoxman
Re: Problem with Content 0.5

Bump

9
dizzymarkus
Re: Problem with Content 0.5

I was able to acomplish this by using div tags

IE <div align="center"> body </div>


I did it to the whold body tag and worked beautifully hope this helps some.


Markus

10
jimbofoxman
Re: Problem with Content 0.5

Well no luck still, I even went to a simple 1 row, 1 column setup and it still places it on the left no matter what I do.

Here's the code now. Produces fine in Dreamweaver and in the FCKEditor Preview, but not when it's actually produced on the site.

le="color: #000000"><?php <div align="center"> <table width="325" cellspacing="0" cellpadding="0" border="0" align="center"> <tbody> <tr> <td> <strong>JUNIORS</strong><br/> <p> 1) Aircraft - All Scales, All Types <br/> 2) Military Vehicles - ASAT* <br/> 3) Civilian Vehicles - ASAT* <br/> 4) Miscellaneous </p> <p><strong>AIRCRAFT<br/> </strong>5) 1/144 &amp; Smaller All Types <br/> 6) 1/72 Single Engine Prop (1/143 to 1/72)<br/> 7) 1/72 Multi Engine Prop (1/143 to 1/72)<br/> 8) 1/72 Single Engine Jet (1/143 to 1/72)<br/> 9) 1/72 Multi Engine Jet (1/143 to 1/72)<br/> 10) 1/48 Single Engine Prop - Allied (1/71 to 1/48)<br/> 11) 1/48 Single Engine Prop - Axis (1/71 to 1/48)<br/> 12) 1/48 Multi Engine Prop (1/71 to 1/48)<br/> 13) 1/48 Jet (1/71 to 1/48)<br/> 14) 1/32 &amp; Larger Prop (1/47 &amp; Larger)<br/> 15) 1/32 &amp; Larger Jet (1/47 &amp; Larger)<br/> 16) Helicopter - ASAT* <br/> 17) Pre 1930 - ASAT* <br/> 18) Conversions, Vacuform and Scratch</p> <p><strong>MILITARY VEHICLES </strong><br/> 19) 1/72 &amp; Smaller All Types <br/> 20) Wheeled <br/> 21) Fully Tracked Pre 1946 - Allied<br/> 22) Fully Tracked Pre 1946 - Axis<br/> 23) Fully Tracked 1946 - Modern<br/> 24) Artillery Towed &amp; Self-propelled Guns - ASAT *</p> <p><strong>CIVILIAN VEHICLES </strong><br/> 25) 1/32 &amp; Smaller All Types<br/> 26) Factory Stock <br/> 27) Custom &amp; Rods <br/> 28) Competition <br/> 29) Commercial - ASAT* <br/> 30) Motorcycles - ASAT*</p> <p><strong>SHIPS</strong><br/> 31) Sails and/or Oars - ASAT* <br/> 32) Powered Surface - ASAT* <br/> 33) Submarines - ASAT*</p> <p><strong>FIGURES</strong><br/> 34) 54 MM &amp; Smaller - All Types<br/> 35) 55 MM &amp; Larger - All Types, Including Busts</p> <p><strong>SPACE &amp; FICTION </strong><br/> 36) Science Fiction, Fantasy - ASAT<br/> 37) Real Space - ASAT</p> <p><strong>DIORAMAS</strong><br/> 38) Small Composition - All Scales, All Types<br/> 39) Large Composition - All Scales, All Types</p> <p><strong>MISCELLANEOUS<br/> </strong>40) All Others</p> <p><strong>* ASAT = All Scales, All Types </strong></p> </td> </tr> </tbody> </table> </div>

Who's Online

208 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits