Table in topics problem

Go down

Solved Table in topics problem

Post by Dark Neos on July 21st 2014, 1:44 am

hi there !
um havin' a problem in tables showin' in my forum's topic 
they are showin' like this 


is there any css code an make all the cols take same space ?

Dark Neos
New Member

Male Posts : 14
Reputation : 1
Language : Arabic

Back to top Go down

Solved Re: Table in topics problem

Post by Luffy on July 21st 2014, 12:16 pm

Hello,

Please provide us the link of your forum or a link where guests can view the above problem.



avatar
Luffy
Manager
Manager

Male Posts : 5340
Reputation : 574
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Table in topics problem

Post by Dark Neos on July 23rd 2014, 1:16 am


Dark Neos
New Member

Male Posts : 14
Reputation : 1
Language : Arabic

Back to top Go down

Solved Re: Table in topics problem

Post by SLGray on July 23rd 2014, 3:28 am

Please post the code that was used to add the table to the post.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43072
Reputation : 3047
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Table in topics problem

Post by Dark Neos on July 23rd 2014, 4:08 am

her's the code i used 
Code:
[table class="table4" style="border-color: rgb(129, 97, 100); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 5px; width: 508px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" align="center"][tr]
[td class="table8" style="border-style: groove !important; border-color: rgb(196, 173, 44) !important;"][/td]
[td class="table8" style="border-style: groove !important; border-color: rgb(196, 173, 44) !important;"][/td]
[td class="table8" style="border-style: groove !important; border-color: rgb(196, 173, 44) !important;"][/td]


[/tr]
[/table]


Css code :
Code:

.table4{align:left;background:#373737;border:1px solid #816164;border-radius:3px;font-color:#F1F1F1;font-weight:400;padding:5px;width:98%}

Code:
.table8{border:1px solid #816164;border-radius:3px;width:98%}

Dark Neos
New Member

Male Posts : 14
Reputation : 1
Language : Arabic

Back to top Go down

Solved Re: Table in topics problem

Post by Luffy on July 23rd 2014, 9:43 am

I have spotted an issue. You added a width 75%.
GO to your CSS and check if you find this code:
Code:
.post td:nth-of-type(2) table tbody tr td:nth-of-type(1)
if you do then replace it with the below. If not simply add it:
Code:
.post td:nth-of-type(2) table tbody tr td:nth-of-type(1) {
width: 25%;
}
That should fix it and show the columns as the image below:
avatar
Luffy
Manager
Manager

Male Posts : 5340
Reputation : 574
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Table in topics problem

Post by Dark Neos on July 23rd 2014, 4:00 pm

thnnnx 
it's solved now

Dark Neos
New Member

Male Posts : 14
Reputation : 1
Language : Arabic

Back to top Go down

Solved Re: Table in topics problem

Post by Derri on July 23rd 2014, 4:01 pm

Topic Solved and Locked
avatar
Derri
Helper
Helper

Male Posts : 8712
Reputation : 628
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Back to top


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