1
kcnmttcnn
html tables aren't showing up right in Sections
  • 2004/6/11 23:12

  • kcnmttcnn

  • Just popping in

  • Posts: 2

  • Since: 2004/6/11


The table and images show up fine but the table is pushed all the way to the bottom of the page. There's a lot of empty space at the beginning of the Article. I entered this in the Sections module. This is the code I entered:

<table border="0" align="center" cellspacing="10">
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0001_jpg.jpg" target="_blank"><img src="thumbnails/0001_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0002_jpg.jpg" target="_blank"><img src="thumbnails/0002_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0003_jpg.jpg" target="_blank"><img src="thumbnails/0003_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0004_jpg.jpg" target="_blank"><img src="thumbnails/0004_jpg.jpg" border="0"></a> </div></td>
  </
tr>
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0005_jpg.jpg" target="_blank"><img src="thumbnails/0005_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0006_jpg.jpg" target="_blank"><img src="thumbnails/0006_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0007_jpg.jpg" target="_blank"><img src="thumbnails/0007_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0008_jpg.jpg" target="_blank"><img src="thumbnails/0008_jpg.jpg" border="0"></a> </div></td>
  </
tr>
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0009_jpg.jpg" target="_blank"><img src="thumbnails/0009_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0010_jpg.jpg" target="_blank"><img src="thumbnails/0010_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0011_jpg.jpg" target="_blank"><img src="thumbnails/0011_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0012_jpg.jpg" target="_blank"><img src="thumbnails/0012_jpg.jpg" border="0"></a> </div></td>
  </
tr>
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0013_jpg.jpg" target="_blank"><img src="thumbnails/0013_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0014_jpg.jpg" target="_blank"><img src="thumbnails/0014_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0015_jpg.jpg" target="_blank"><img src="thumbnails/0015_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0016_jpg.jpg" target="_blank"><img src="thumbnails/0016_jpg.jpg" border="0"></a> </div></td>
  </
tr>
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0017_jpg.jpg" target="_blank"><img src="thumbnails/0017_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0018_jpg.jpg" target="_blank"><img src="thumbnails/0018_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0019_jpg.jpg" target="_blank"><img src="thumbnails/0019_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0020_jpg.jpg" target="_blank"><img src="thumbnails/0020_jpg.jpg" border="0"></a> </div></td>
  </
tr>
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0021_jpg.jpg" target="_blank"><img src="thumbnails/0021_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0022_jpg.jpg" target="_blank"><img src="thumbnails/0022_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0023_jpg.jpg" target="_blank"><img src="thumbnails/0023_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0024_jpg.jpg" target="_blank"><img src="thumbnails/0024_jpg.jpg" border="0"></a> </div></td>
  </
tr>
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0025_jpg.jpg" target="_blank"><img src="thumbnails/0025_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0026_jpg.jpg" target="_blank"><img src="thumbnails/0026_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0027_jpg.jpg" target="_blank"><img src="thumbnails/0027_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0028_jpg.jpg" target="_blank"><img src="thumbnails/0028_jpg.jpg" border="0"></a> </div></td>
  </
tr>
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0029_jpg.jpg" target="_blank"><img src="thumbnails/0029_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0030_jpg.jpg" target="_blank"><img src="thumbnails/0030_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0031_jpg.jpg" target="_blank"><img src="thumbnails/0031_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0032_jpg.jpg" target="_blank"><img src="thumbnails/0032_jpg.jpg" border="0"></a> </div></td>
  </
tr>
  <
tr valign="bottom">
    <
td align="center"><div align="center"><a href="images/0033_jpg.jpg" target="_blank"><img src="thumbnails/0033_jpg.jpg" border="0"></a> </div></td>
    <
td align="center"><div align="center"><a href="images/0034_jpg.jpg" target="_blank"><img src="thumbnails/0034_jpg.jpg" border="0"></a> </div></td>
  </
tr>
</
table>

2
JackJ
Re: html tables aren't showing up right in Sections
  • 2004/6/11 23:26

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


If you are using the section module included with xoops, which is depreciated really, and using html, the XOOPS text sanitizor will transform all linebreaks to <br /> tags.

You can use this free progam called Absolute HTML Compressor to compress your HTML

http://www.alentum.com/?fahc

3
Dave_L
Re: html tables aren't showing up right in Sections
  • 2004/6/12 0:42

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I was just looking over the feature list of Absolute HTML Compressor. They include:

Quote:
remove unnecessary quotation marks. For example,
<table BORDER="0" CELLSPACING="0" CELLPADDING="0" align="center"> will be converted to
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 align=center>;
remove <!DOCTYPE ...> tags;
remove meta tags. You can specify names of the meta tags to be removed.


So much for XHTML-compliancy.

4
JackJ
Re: html tables aren't showing up right in Sections
  • 2004/6/12 0:48

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Hello Dave

Works though..

they forgot to include

transform all linebreaks to <br /> tags

for full non-compliance that is..

5
mariuss
Re: html tables aren't showing up right in Sections
  • 2004/6/12 6:26

  • mariuss

  • Just popping in

  • Posts: 99

  • Since: 2002/9/6 5


I run into the same problem many times. As it was said, you have to manually (or using a tool) remove all line breaks.

Newer modules have an option that allows you to disable auto line breaks.

Marius

6
kcnmttcnn
Re: html tables aren't showing up right in Sections
  • 2004/6/12 23:43

  • kcnmttcnn

  • Just popping in

  • Posts: 2

  • Since: 2004/6/11


It worked. Thanks a lot!

7
nafklt
Re: html tables aren't showing up right in Sections
  • 2004/7/7 3:30

  • nafklt

  • Just popping in

  • Posts: 1

  • Since: 2004/7/7 3


What does your name mean?

Login

Who's Online

241 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 241


more...

Donat-O-Meter

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

Latest GitHub Commits