1
chefry
<TABLES> a tutorial
  • 2013/4/24 10:41

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Xoops has always had a problem displaying tables. Part of that is due to theme settings

Here is a simple method of displaying tables properly..

1) in /theme/themename/ style.css add

/*
<table class="border" ... >
*/
table.border {
    
border-spacing0;
}

table.border td,th {
    
bordersolid 1px black;
    
padding4px;
}


this will make sure that your theme will allow tables

2) create your table with an html creation program such as htmlbeauty. Do NOT use a WYSIWYG editor

3) VERY IMPORTANT!!! In your <table> definition add class="border"
i.e. <table cellspacing="0" class="border" align="center">

4) make sure there are no blank spaces in your html commands
i.e. </td> NOT </td >

5) make sure all your html commands are LOWER case. No upper case encoding.

6) put all your table html on one line. If you use Notepad++ there is a command at menu EDIT > Blank Operations > Remove Unnecessary Blank and EOL.

7) cut n paste your table into the editor of the module you are using and submit.

Done!

2
pespivufro
Re: <TABLES> a tutorial
  • 2013/4/25 7:56

  • pespivufro

  • Just popping in

  • Posts: 1

  • Since: 2013/4/25


Thank you, its help me a lot. Im try to fix this last 2 weeks ago:)

Login

Who's Online

194 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

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

Latest GitHub Commits