Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.

Autor Tema: Como crear tablas  (Leído 5097 veces)

Desconectado kesulin

Como crear tablas
« en: 29 Mayo 2019, 09:12:05 »
En el anterior foro no funcionaba muy bien, espero que en este funcione correctamente y podamos usarlo.

Para crear una tabla pulsamos el bot´n correspondiente
  [ You are not allowed to view attachments ]  

Nos crea una estructura como esta:
Código: [Seleccionar]
[table]
[tr]
[td][/td]
[/tr]
[/table]

-> indica donde empieza la tabla
-> Indica el comienzo de una fila. Es obligatorio que dentro contenga una columna.
-> Columna dentro de una fila. Siempre debe estar dentro de una fila.

De esta manera, podemos hacer tablas con tantas filas o columnas como queramos, añadiendo
(filas) o
correspondientes.

Ojo, hay que cerrar la etiqueta y no equivocarse. Por cada etiqueta abierta debe haber una que la cierra.

Un ejemplo:
Código: [Seleccionar]
[table]
[tr]
[td]SMF[/td]
[td]Bulletin[/td]
[/tr]
[tr]
[td]Board[/td]
[td]Code[/td]
[/tr]
[/table]

Resultado:
SMFBulletin
BoardCode
« Última modificación: 29 Mayo 2019, 09:14:24 por kesulin »
 

Desconectado admin

Re:Como crear tablas
« Respuesta #1 en: 29 Mayo 2019, 11:47:12 »
Instalado Mod para mejorar las tablas:
https://custom.simplemachines.org/mods/index.php?mod=2505

Citar
DESCRIPTION

Adds the possibility to use CSS styles, CSS classes and attributes like HTML in BBC tags.

New optional attributes of style:
style, whose value, quoted, are style rules inline.
class, whose value, quoted, are class names of style.
These attributes are added to the following BBC tags:
Horizontal rule (hr).
Image (img).
List (li, list).
Table (table, td, tr).

Código: [Seleccionar]
[tag class="class_of_style" style="rules"]text[/tag]
New optional attributes in BBC tags:
img:
rotateangle, rotatebgcolor. Rotate an image with a given angle in degree and using a background color for the uncovered zone after the rotation. The background color is an hexadecimal with 3 or 6 digits (#rgb or #rrggbb), a RGB color (r,g,b) or a color name of these:
aqua   =   #00ffff   =   #0ff   =   0,255,255
black   =   #000000   =   #000   =   0,0,0
blue   =   #0000ff   =   #00f   =   0,0,255
fuchsia   =   #ff00ff   =   #f0f   =   255,0,255
gray   =   #808080   =   128,128,128
green   =   #008000   =   0,128,0
lime   =   #00ff00   =   #0f0   =   0,255,0
maroon   =   #800000   =   128,0,0
navy   =   #000080   =   0,0,128
olive   =   #808000   =   128,128,0
orange   =   #ffa500   =   255,165,0
purple   =   #800080   =   128,0,128
red   =   #ff0000   =   #f00   =   255,0,0
silver   =   #c0c0c0   =   192,192,192
teal   =   #008080   =   0,128,128
white   =   #ffffff   =   #fff   =   255,255,255
yellow   =   #ffff00   =   #ff0   =   255,255,0
If the color does not exist in the image and can not be added, is used the closest color. Default value is 0 (rotateangle) and black (rotatebgcolor). Values without quotes.
flip. Flip an image in a direction. Permitted values are: horizontal, vertical. Value without quotes.
table: border. Width (in pixels) of the border around a table. Value without quotes.
td: colspan, rowspan. Span columns and rows in a table cell. Value without quotes.

Código: [Seleccionar]
[img rotateangle=degree rotatebgcolor=color flip=direction]image[/img]
[table border=number]table content[/table]
[td colspan=number rowspan=number]table cell[/td]

New BBC tags:
Paragraph style (div): Adds class or style inline to one or more paragraph.
Character style (span): Adds class or style inline to text within a paragraph.

Código: [Seleccionar]
[div class="class_of_style" style="rules"]paragraph with style[/div]
[span class="class_of_style" style="rules"]text with style[/span]

For these new BBC tags are added buttons in the editing box.



EXAMPLE
  [ You are not allowed to view attachments ]  


 

Desconectado kesulin

Re:Como crear tablas
« Respuesta #2 en: 29 Mayo 2019, 12:00:51 »
SMFBulletin
BoardCode

SMFBulletin
BoardCode
« Última modificación: 26 Junio 2019, 08:46:25 por kesulin »