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.

Need help with creating a table in a post.

3 posters

Go down

Solved Need help with creating a table in a post.

Post by roCrox 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 Need help with creating a table in a post. Oops
Need help with creating a table in a post. Testte10


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
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 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
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 June 14th 2013, 12:28 am

Thank you!
roCrox
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 June 14th 2013, 4:02 am

Topic Solved & Locked
Jophy
Jophy
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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