1
tonybrasscoe
Inserting tables into custom blocks

I searched the forums for this and i didnt see anything on this subject. Im not sure if anyone has had this issue but once i try to insert a table into a custom block, for some reason the background color tag wont work. Though im new to XOOPS i consider myself pretty good with html and im pretty certain that im creating the table correctly. Heres an example of the table i want to insert into my right block:

[table border="0" bordercolor="" width="100%" bgcolor="#996600"]
[tr]
[td] row 1, column 1 [/td]
[/tr]
[/table]

2
xuser
Re: Inserting tables into custom blocks
  • 2006/6/3 1:50

  • xuser

  • Just popping in

  • Posts: 73

  • Since: 2002/11/26


clear cache then refresh the page
Xuser's site
http://xuser.org
http://theme.xoops.org.cn

3
Quest
Re: Inserting tables into custom blocks
  • 2006/6/3 13:21

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Also make sure you have the admin/system/preferences/general settings for Update Template Modifications set to YES.

Quest

4
Herko
Re: Inserting tables into custom blocks
  • 2006/6/3 13:29

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Easiest thing to do is set the block type to HTML, and use regular html tags like <this>, not bbcode tags like [this].

Herko

5
tonybrasscoe
Re: Inserting tables into custom blocks

Hmm ive tried that could it be something in the css files? My site background is #000000. When i do type regular text in the blocks the correct background color appears. But when i add the tables the background color reeverts to the site bg color.

6
msdana
Re: Inserting tables into custom blocks
  • 2006/6/3 23:02

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


It probably is your CSS. I use tables in a custom block on one of my sites, and I recall having to add classes to my CSS.

HTH
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

7
Quest
Re: Inserting tables into custom blocks
  • 2006/6/4 1:43

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Check the css and look for your block content styles. Leftcolumn blockcontent, Rightcolumn blockcontent etc. See what it says there. It could be set to #000000, or it could even be set to transparent. Plus, don't forget Herko's suggestion on the tags when you are using html.

Quest

Login

Who's Online

205 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 205


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