1
deka87
tables alignment in smartsection
  • 2009/4/1 10:23

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


how do I fix the table alignment in the article? whenever I create a table with any editor and watch the created aritlce this table goes down like i've inserted bout 20
tho can't find one in teh source code. how can that be fixed?
Mind anchors

2
Anonymous
Re: tables alignment in smartsection
  • 2009/4/1 11:31

  • Anonymous

  • Posts: 0

  • Since:


I use SmartSection 2.13 and this page on my site has a table in it.

The HTML code for the table on that page is:

<table class="outer" style="width: 400px" cellspacing="1" align="center" nowrap="nowrap"><tr><th class="head" nowrap="true"><p align="center">Llandaff Branchp>
th>
<
th class="head" nowrap="true"><p align="center">Monmouth Branchp>
th>
tr>
<
tr><td><p align="center">Name removed<br />
Name removed<br />
Name removed<br />
Name removed<br />
Name removed<br />
Name removedp>
td>
<
td><p align="center">Name removed<br />
Name removed<br />
Name removed<br />
Name removed<br />
Name removed<br />
Name removedp>
td>
tr>
table>


I use the Koivi editor but (IIRC) I had to do a little bit of manual code editing to get the table exactly as I wanted.

The paragraphs above and below the table are enclosed in

and

tags.

The classes "outer" and "head" are in my theme's .css stylesheet. Remove that part of the code if your theme doesn't have these defined.

HTH

3
deka87
Re: tables alignment in smartsection
  • 2009/4/1 11:55

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


i have inserted the code you provided in teh source code window in the koivi editor, saved the article, but still have the same problem. the distance between the title and the table itself is very big.
Mind anchors

4
Anonymous
Re: tables alignment in smartsection
  • 2009/4/1 12:14

  • Anonymous

  • Posts: 0

  • Since:


Underneath the text editing box there should be two check-boxes, one called "CSS" and on called "HTML".

What code do you see when when you check the "HTML" box? Can you post the code on here for us to look at?

Also, I find it best not to apply any formatting to text entered in the top one of the two text-boxes, i.e. no

and

tags, otherwise there is a larger than expected gap between text entered in the top box and text entered in the lower box.

I always use

and

tags to separate paragraphs inn the lower text box.

I do not use

and

tags before and after and
tags.

Does this help?

5
deka87
Re: tables alignment in smartsection
  • 2009/4/1 12:38

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


oh right, JAV. I left only the HTML box checked and now it looks alright. thanks!
Mind anchors

6
Anonymous
Re: tables alignment in smartsection
  • 2009/4/1 18:10

  • Anonymous

  • Posts: 0

  • Since:


Quote:
deka87 wrote:

oh right, JAV. I left only the HTML box checked and now it looks alright. thanks!


Excellent

Login

Who's Online

309 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 309


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits