The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Need help with creating a table in a post.

View previous topic View next topic Go down

Solved Need help with creating a table in a post.

Post by roCrox on June 13th 2013, 8:49 pm

Code:
[table style="background: url('http://cdn1.iconfinder.com/data/icons/musthave/24/Information.png') no-repeat 6px #d1e4f3; border: 1px solid #4d8fcb; color: #00529B; padding: 6px 6px 6px 40px; width: 99%; text-shadow: 0 1px 0 #FFFAF1; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset; font-weight: bold; border-radius: 3px 3px 3px 3px;"][tr][td]Content goes here...Content goes here...Content goes here...Content goes here...Content goes here...Content goes here... [/td][/tr][/table]








(thanks to provider of these tables they are great, can't find his post)

What I was trying to do is to create a "box" (approx. 130x130px)
and add content to it like an image and text below it, i quickly ran into a problem
when using example above the tables cant be next to each other (total noob speaking), so i had to create a table simmilar to above managed to get the colors right but not the table i don't know how to create a table arround 5 rows 5 colums and design it like

this photoshoped example



Any help, im sorry i should be able to do this on my own, but i just "modyfy & apply"
what i find, never practise and truly learn how to do these things.


Last edited by roCrox on June 14th 2013, 12:29 am; edited 1 time in total

roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Need help with creating a table in a post.

Post by Ultron's Vision on June 13th 2013, 8:57 pm

Code:
[table][tr][td]1st row, 1st cell[/td][td]1st row 2nd cell[/td][td]1st row, 3rd cell[/td][td]1st row, 4th cell[/td][td]1st row, 5th cell[/td][/tr][tr][td]2nd row, 1st cell[/td][td]2nd row, 2nd cell[/td][td]and...[/td][td]so...[/td][td]on...[/td][/tr][tr][td]3rd row[/td][/tr][tr][td]4th row[/td][/tr][tr][td]5th row[/td][/tr][/table]

Output would be following.

1st row, 1st cell1st row 2nd cell1st row, 3rd cell1st row, 4th cell1st row, 5th cell
2nd row, 1st cell2nd row, 2nd celland...so...on...
3rd row
4th row
5th row

tr is for table row, td is for table data.

Hope this helped. You can still add the table style="..." and then continue with what I gave you.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Need help with creating a table in a post.

Post by roCrox on June 14th 2013, 12:28 am

Thank you!

roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Need help with creating a table in a post.

Post by Jophy on June 14th 2013, 4:02 am

Topic Solved & Locked

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


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