The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I change the borders for my tables?

4 posters

Go down

Solved How do I change the borders for my tables?

Post by Kamui March 24th 2016, 12:53 am

Hello, I don't like the transparent borders on my forum's table. I'd like for it to look something like the picture below. I use PunBB, and here's a link to my forum if needed. But if you look at the picture below, you can see the gray border. I want to be able to manipulate the borders for my tables to something else.



How do I change the borders for my tables? 9cb8c8bffea3d8d7289b7608eb47f33b


Last edited by Kamui on March 24th 2016, 3:08 pm; edited 1 time in total
Kamui
Kamui
Forumember

Male Posts : 291
Reputation : 3
Language : English
Location : Greed Island

http://narutogaiden.forumotion.com/

Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Guest March 24th 2016, 1:00 am

What type of style would you like for your table borders?
avatar
Guest
Guest


Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by SLGray March 24th 2016, 2:18 am

Are you referring to the table button in the editor?


How do I change the borders for my tables? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51581
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Kamui March 24th 2016, 2:31 am

I just want to change the color of the borders on the tables. As you see below they're transparent looking, and I would like for them to have color to them.
How do I change the borders for my tables? 9a46fe403a137b58859173e74ae7ac2e
Kamui
Kamui
Forumember

Male Posts : 291
Reputation : 3
Language : English
Location : Greed Island

http://narutogaiden.forumotion.com/

Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Draxion March 24th 2016, 6:29 am

Can you paste the code you are using to make the table?
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Guest March 24th 2016, 9:15 am

That would probably be something like:

Code:
[table style="border: @px solid #HEX;"][/td]

Where @ = number of pixels border width
And HEX = the 6-digit color code of your choice

Hello Samantha
avatar
Guest
Guest


Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Kamui March 24th 2016, 12:34 pm

The code isn't working for me

@Draxion I'm using the the regular code  
Code:
[table][tr][td][/td][/tr][/table]
Kamui
Kamui
Forumember

Male Posts : 291
Reputation : 3
Language : English
Location : Greed Island

http://narutogaiden.forumotion.com/

Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Guest March 24th 2016, 1:40 pm

Would this example be of any help?

Code:
[table][tr][td style="border: 3px solid blue"]hey! 1[/td]
[td style="border: 3px solid blue"]hey! 2[/td]
[/tr]
[tr][td style="border: 3px solid blue"]hey! 3[/td]
[td style="border: 3px solid blue"]hey! 4[/td]
[/tr]
[/table]

or perhaps this one?

Code:
[table style="border: 3px solid blue"][tr][td]hey! 1[/td]
[td]hey! 2[/td]
[/tr]
[tr][td]hey! 3[/td]
[td]hey! 4[/td]
[/tr]
[/table]

Hello Samantha
avatar
Guest
Guest


Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Kamui March 24th 2016, 1:53 pm

Thank you! But wouldn't there be a way to make this the default style for making tables on my forum? Like adding this in CSS so everyone's tables automatically come out like this.
Kamui
Kamui
Forumember

Male Posts : 291
Reputation : 3
Language : English
Location : Greed Island

http://narutogaiden.forumotion.com/

Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Guest March 24th 2016, 2:17 pm

I guess there would be a way using CSS, not sure though, never tried it before. What's the default style you came up with? Please, post your BBCode the way I showed you the example.
avatar
Guest
Guest


Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Kamui March 24th 2016, 2:38 pm

The default style is the same table code every forum on forumotions comes with

Code:
[table border="1"][tr][td]hello[/td]
[td]hello[/td]
[/tr]
[tr][td]hello[/td]
[td]hello[/td]
[/tr]
[/table]
Kamui
Kamui
Forumember

Male Posts : 291
Reputation : 3
Language : English
Location : Greed Island

http://narutogaiden.forumotion.com/

Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Guest March 24th 2016, 2:42 pm

Alright, well here it is: if you use the Quick Reply button you'll not be able to see the table icon. Better use the (Add) Reply button instead to use the full capabilities of the editor. It's already there: http://prntscr.com/ajdfi2

Hello  Samantha
avatar
Guest
Guest


Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Kamui March 24th 2016, 3:08 pm

thanks
Kamui
Kamui
Forumember

Male Posts : 291
Reputation : 3
Language : English
Location : Greed Island

http://narutogaiden.forumotion.com/

Back to top Go down

Solved Re: How do I change the borders for my tables?

Post by Ape March 24th 2016, 5:16 pm

Topic solved and archived


How do I change the borders for my tables? Left1212How do I change the borders for my tables? Center11How do I change the borders for my tables? Right112
How do I change the borders for my tables? Ape_b110
How do I change the borders for my tables? Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum