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 and
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
- whether inside a HTML element or not, so

<table>
<
tr>
<
td>somethingtd>
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>somethingtd><td>something elsetd>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

166 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

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

Latest GitHub Commits