1
calvinhobbes
Table in News module

..I am trying to put a table in the news article...but it doesnt start from the top like text does

it goes right to the center of the page and leaves a blank space in the middle...how to avoid this ?

thanks
ch

2
WarDick
Re: Table in News module
  • 2006/12/16 6:56

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


You need to look at the table attributes in your css file for your theme.
Urging XOOPS to be the Best It Can Be.
Richard......

3
calvinhobbes
Re: Table in News module

oh cool..thanks ..just help me out here please

i just have a simple table with <table> <tr>and <td> tags

and i think only the following css rules will apply

table {width: 100%; margin: 5; padding: 5; font-size: 11px}
table td {padding: 0; border-width: 0; vertical-align: top; font-family: Verdana, Arial, Helvetica, sans-serif;}


do i make different classes like

table.some1 {width: 100%; font-size: 11px}
table td.some2 {font-family: Verdana, Arial, Helvetica, sans-serif;}

and apply them to my table ???

sorry i am not good at css..

4
Mithrandir
Re: Table in News module

note that usually newlines are turned into <br /> - whether inside a HTML element or not, so

<table>
<
tr>
<
td>something</td>
</
tr>
</
table>

will have several linebreaks above "something"

It is cumbersome to manage, but the way it could be done is by having it all on one line:
<table><tr><td>something</td><td>something else</td></tr></table>
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

Login

Who's Online

242 user(s) are online (174 user(s) are browsing Support Forums)


Members: 0


Guests: 242


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