HTML tags in posts.

View previous topic View next topic Go down

HTML tags in posts.

Post by Sirius_Alpha on 4th June 2008, 12:29 pm

I really don't know how many people are aware of this, but I'll announce it anyway. phpbb3 allows for HTML tags and formatting, which I've found useful for organising my posts and presenting data in an nicer format. It's slightly different than what one would write in a .html file though, as opposed to
Code:
, we would write
Code:
[table]
For example, I've written down the basic parameters of the 55 Cancri system in HTML, as well as displayed the code.

Code:
 [table border=1 bordercolor="#FFFFFF"][tr][td bgcolor="#0000cc"][b]Planet[/b][/td][td][b]Mass (xJupiter)[/b][/td][td][b]Period (d)[/b][/td][td][b]semi-major axis[/b][/td][td][b]eccentricity[/b][/td][td][b]Discovered[/b][/td][/tr] [tr][td]55 Cancri b[/td][td]0.824[/td][td]14.65162[/td][td]0.115 AU[/td][td]0.014[/td][td]1996[/td][/tr] [tr][td]55 Cancri c[/td][td]0.169[/td][td]44.3446[/td][td]0.24 AU [/td][td]0.086[/td][td]2002[/td][/tr] [tr][td]55 Cancri d[/td][td]3.835[/td][td]5218[/td][td]5.77[/td][td]0.025[/td][td]2002[/td][/tr] [tr][td]55 Cancri e[/td][td]0.034[/td][td]2.81705[/td][td]0.038[/td][td]0.07[/td][td]2004[/td][/tr] [tr][td]55 Cancri f[/td][td]0.144[/td][td]260[/td][td]0.781[/td][td]0.2[/td][td]2007[/td][/tr][/table]

PlanetMass
(xJupiter)
Period (d)semi-major
axis
eccentricityDiscovered
55 Cancri b0.82414.651620.115
AU
0.0141996
55 Cancri
c
0.16944.34460.24 AU
0.0862002
55 Cancri
d
3.83552185.770.0252002
55 Cancri
e
0.0342.817050.0380.072004
55 Cancri
f
0.1442600.7810.22007

Known problems

  • Quotes don't work if they're within a table cell.
  • tr or td bgcolors don't seem to work (shown in code). Turns out I misspelled the code...


Last edited by Sirius_Alpha on 11th May 2010, 5:22 pm; edited 16 times in total (Reason for editing : Spelling mistakes, problems getting the code to show up, and so on.)
avatar
Sirius_Alpha
Admin
Admin

Number of posts : 3484
Location : Earth
Registration date : 2008-04-06

View user profile http://solar-flux.forumandco.com/

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