•Nö•Lîm Multi-Gaming Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How To: Create a Frame in a Message

Go down

How To: Create a Frame in a Message Empty How To: Create a Frame in a Message

Post by Sporadic Sun Dec 20, 2009 12:58 pm

The BBCode to insert a frame in a message is identical to the tags
used in HTML. To create a frame, you need to start by creating a frame
'table' then insert a 'tr' lign. This lign can contain one or several
cells 'td', well as a frame can contain several 'tr' ligns. For an example, to create a two ligns and three columns frame, you need to proceed as following :

Code:
[table][tr][td] Lign 1 - Cell 1 [/td] [td] Lign 1 - Cell 2 [/td]
[td] Lign - Cell 3 [/td][/tr] [tr][td] Lign 2 - Cell 1 [/td] [td] Lign
2 - Cell 2 [/td] [td] Lign 2 - Cell 3 [/td][/tr][/table]

Result :
Lign 1 - Cell 1 Lign 1 - Cell 2 Lign 1 - Cell 3
Lign 2 - Cell 1 Lign 2 - Cell 2 Lign 2 - Cell 3

You can also add arguments in the BBcode 'table'. These last ones
are identical as those used for HTML. You can for an exemple add a
bound to the frame above thanks to the 'border' attribute.

Code:
[table border=1] [tr][td] Lign 1 - Cell 1 [/td] [td] Lign 1 -
Cell 2 [/td] [td] Lign 1 - Cell 3 [/td][/tr] [tr][td] Lign 2 - Cell 1
[/td] [td] Lign 2 - Cell 2 [/td] [td] Lign 2 - Cell 3 [/td][/tr][/table]

Result:
Lign 1 - Cell 1 Lign 1 -
Cell 2
Lign 1 - Cell 3
Lign 2 - Cell 1
Lign 2 - Cell 2 Lign 2 - Cell 3

Other available attributes are for an example: cellspacing, cellpadding, width, etc.
The frames need to be manipulated with caution, please respect the
BBcodes opening and closure. If an opening or closure error is made,
you may not obtain what you want.
Sporadic
Sporadic
Webmaster
Digital Disaster

Posts : 9069
Points : 16097
Join date : 2009-12-02
Birthday : 1988-05-17
Age : 35
Gender : Male
Location : Earth

http://nolimitclan.omgforum.net

Back to top Go down

Back to top

- Similar topics

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