Help with HTML Coding

TappedOut forum

Posted on March 31, 2014, 1:23 p.m. by Rasta_Viking29

Can someone help me figure out what is wrong with either one of these:

Testing test test

font color= "#088A29"; text-shadow= "1px 1px 10px red"; font face= "GothicI">Testing test test</font

I can't get the shadow to appear on this one.

Testing Test test!

p style=";color:green;text-shadow:1px 1px 20px red;";font-family:GothicI>Testing Test test!</p

Can't get the font to change on this one.

Rasta_Viking29 says... #2

Found the mistake on the second. I usually use the first style though and would be interested in what is wrong with that one.

March 31, 2014 2:03 p.m.

trentfaris242 says... #3

My guess is that this is in a CSS style tag?

< div style="font-color: #088A29; text-shadow=1px 1px 10px red; font-family=Gothicl" > (no spaces) would be traditional HTML.I can't imagine it would be vastly different for TappedOut.
March 31, 2014 2:18 p.m.

Foxtober says... #4

The only attributes for font are color, size and face (font-family).The second example is the preferred method, though, because HTML5 doesn't support the font tag. Put all your stylings in (p style="" ).

March 31, 2014 2:20 p.m.

trentfaris242 says... #5

  • < div style="font-color: #088A29; text-shadow: 1px 1px 10px red; font-family: Gothicl" >
March 31, 2014 2:21 p.m.

trentfaris242 says... #6

Apparently the markdown they use makes '*' a < li > attribute....

March 31, 2014 2:21 p.m.

trentfaris242 says... #7

Hello World!

Using the code I posted but with < p style=... > instead of div.

March 31, 2014 2:23 p.m.

Rasta_Viking29 says... #8

Thank you trentfaris242 & Spitfirefox!

March 31, 2014 2:32 p.m.

Rasta_Viking29 says... #9

Is there a way to allow blank lines to make the space between paragraphs when using the p style formatting?

March 31, 2014 2:57 p.m.

trentfaris242 says... #10

Use < br / > for break line

Example:

All of this text is in a paragraph block. I can break line by typing < br / > (but with no spaces) twice; once to go to a new line, one more for the next.

See?

March 31, 2014 3:31 p.m.

Yes

I see

Now

Thanks

March 31, 2014 3:52 p.m.

This discussion has been closed