Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Forum Code - Table tags
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Wildland
New Member

USA
74 Posts

Posted - 13 January 2009 :  11:37:58  Show Profile  Visit Wildland's Homepage
I got this mod working and it works great. I can change the background color with no problem, but I cant seem to change the border color.<

Wildland
New Member

USA
74 Posts

Posted - 13 January 2009 :  15:59:24  Show Profile  Visit Wildland's Homepage
if it helps the mod I'm using is here
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=55659<
Go to Top of Page

Wildland
New Member

USA
74 Posts

Posted - 14 January 2009 :  11:36:27  Show Profile  Visit Wildland's Homepage
I really just want to change the borders to solid black. Even if it is permanent. I just don't like the current border it generates it doesn't match my color scheme.<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 14 January 2009 :  12:00:02  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Do you have an example post containing a table ? You could hardcode in the colour you want to use

<table border="1" bordercolor="#006600">
or include something linke this
<table border=""1"" bordercolor="" & strPopupBorderColor & "">"
<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Wildland
New Member

USA
74 Posts

Posted - 14 January 2009 :  12:25:00  Show Profile  Visit Wildland's Homepage
turns out bordercolor= will let me change it in the post. I had tried everything I thought. I even created a table in an HTML editor to see how it set the color of the border and couldn't find it. What would I use to change from solid to doted line and such?

By the way thank you very much<
Go to Top of Page

Wildland
New Member

USA
74 Posts

Posted - 14 January 2009 :  12:37:15  Show Profile  Visit Wildland's Homepage
Also it just changes the outside border not all the ones around each cell in the table

here is an example
http://www.roleplayingmaps.net/forums/topic.asp?TOPIC_ID=59

login is test pass is test<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 14 January 2009 :  13:03:36  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
What you want to do (I think) is use nested tables. Basically you have a container table and set its background to red (for example). Red will be the colour of the borders in the main table that contains your data, text, whatever. In order to set the overall border thickness you change value for the cell padding in the container table and the red background of the container table shows through around the main table. To have cell borders you change the cell spacing of the main table and the red shows through from the container table.

<table border="0" bgcolor="#006600" cellpadding="5" cellspacing="0">
<tr><td>

<table width="100%" border="0" bgcolor="#009900" cellspacing="1">
<tr><td>
table content
</td></tr>
</table> 
</td></tr>
</table>


I think you would have to hard code the container table into the function in inc_func_common.asp in order to achieve what you want. All tables would then have the same border colour.

Edit: Sorry I forgot to say that nested tables don't work for me with the mod as it is. I may be doing something wrong though.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.

Edited by - Podge on 14 January 2009 13:04:31
Go to Top of Page

Wildland
New Member

USA
74 Posts

Posted - 14 January 2009 :  14:43:42  Show Profile  Visit Wildland's Homepage
figured it out you post it like this and can change it to any color you want

[table align=center border=1 bgcolor=#008000 cellspacing=1 cellpadding=5 table]
[tr align=center table]
[td bgcolor=#000000 table]d6[/td]
[td bgcolor=#000000 table]PROBABILITY
DAM
[/td]
[td bgcolor=#000000 table] 1/6
7-12
[/td]
[td bgcolor=#000000 table] 1/36
13-18
[/td]
[td bgcolor=#000000 table] 1/216
19-24
[/td]
[td bgcolor=#000000 table] 1/1293
25-30
[/td]
[td bgcolor=#000000 table] 1/7776
31-36
[/td]
[/tr]
[tr align=center table]
[td bgcolor=#000000 table]d8[/td]
[td bgcolor=#000000 table]PROBABILITY
DAM
[/td]
[td bgcolor=#000000 table] 1/8
9-16
[/td]
[td bgcolor=#000000 table] 1/64
17-24
[/td]
[td bgcolor=#000000 table] 1/512
25-32
[/td]
[td bgcolor=#000000 table] 1/4096
33-40
[/td]
[td bgcolor=#000000 table] 1/32768
41-48
[/td]
[/tr]
[tr align=center table]
[td bgcolor=#000000 table]d10[/td]
[td bgcolor=#000000 table]PROBABILITY
DAM
[/td]
[td bgcolor=#000000 table] 1/10
11-20
[/td]
[td bgcolor=#000000 table] 1/100
21-30
[/td]
[td bgcolor=#000000 table] 1/1000
31-40
[/td]
[td bgcolor=#000000 table] 1/10000
41-50
[/td]
[td bgcolor=#000000 table] 1/100000
51-60
[/td]
[/tr]
[/table]

Thank you very much your post put me on the right track<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 14 January 2009 :  15:30:30  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Its a lot of work including the bgcolor attribute in every [td] tag but at least you can have cells with different colour borders.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07