Table Border

Get help developing custom BBCodes or request one.
Max11
Registered User
Posts: 19
Joined: Wed Oct 23, 2024 7:40 pm

Table Border

Post by Max11 »

I had successfully changed the border of my tables. But not without causing another problem. Changing the table border just sets the frame around the table, but not the lines inside.
Screenshot

Code: Select all

<table border="3">{TEXT}</table>

Code: Select all

<td style="padding:0 10px 0 10px">{TEXT}</td>

Code: Select all

<tr>{TEXT}</tr>
You do not have the required permissions to view the files attached to this post.
User avatar
Steve
Registered User
Posts: 1549
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: Table Border

Post by Steve »

You have to add the element border inside the th, tr, td etc... like your table bbcode.

Code: Select all

<td style="padding:0 10px 0 10px; border: solid 2px black;">{TEXT}</td>
And here:

https://www.w3schools.com/css/css_table_style.asp
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺

Return to “Custom BBCode Development and Requests”