1
showcase17
Problem with table in news
  • 2005/11/19 22:41

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0


When I use the HTML script below in a newsarticle I get a huge whitespace on top.
Am I doing something wrong???

I am using a default Xoopstheme: phpkaox
Something like this happens:
-------------------------------------------------































title

text

 
text
text
text
text
text
text
text
text
 
text

-------------------------------------------------
- To Explore and Discover -

2
dickinsd
Re: Problem with table in news
  • 2005/11/19 23:24

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


Unfortunately there are several XOOPS modules that do not deal with the HTML 'blank' lines very well.

Your problem is caused by the news module reading each of you html lines as a new line, even if all they contain is a html tag, try doing this:

<table width="85%" border="0" align="center"><tr><td width="15%" rowspan="2" align="left" valign="top"><p><br>ptd><td colspan="2" align="left" valign="top" bgcolor="#CCCCCC"><strong>titlestrong>td>tr><tr><td colspan="2" align="left" valign="top"><p>textptd>tr><tr><td width="15%" rowspan="4" align="left" valign="top">&nbsp;td><td align="left" valign="top"><div align="right"><strong>textstrong>div>td><td align="left" valign="top">texttd>tr><tr><td align="left" valign="top"><div align="right"><strong>textstrong>div>td><td align="left" valign="top"text td>tr><tr><td align="left" valign="top"><div align="right"><strong>textstrongdiv>td><td align="left" valign="top">texttd>tr><tr><td width="11%" align="left" valign="top"><div align="right"><strong>textstrong>div>td><td width="74%" align="left" valign="top"text td>tr><tr><td width="15%" align="left" valign="top">&nbsp;td><td colspan="2"><div align="right"><strong>textstrong>div>td>tr>
table>


Dave

3
showcase17
Re: Problem with table in news
  • 2005/11/19 23:38

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0


Thanks!
This cuts away a lot of whitespace.

Still have about 4 white lines above though... anyone an idea to make this perfect?
- To Explore and Discover -

Login

Who's Online

440 user(s) are online (362 user(s) are browsing Support Forums)


Members: 0


Guests: 440


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