Fledermaus Posted February 1, 2009 Posted February 1, 2009 (edited) GC supports: <font face="ARIAL" size="5" color="#FF0000"><b>SAMPLE</b></font><br> But apparently not this: <font style="font: 18pt ARIAL" color="#FF0000"><b>SAMPLE</b></font><br /> How come? I wonder if GC supports this: <font face="ARIAL" size="4" color="#FFFFFF" style="BACKGROUND-COLOR: #FF0000"><b>SAMPLE</b></font><br /> Does GC support any of the STYLE or XHTML commands within it's cache pages? What other X/HTML commands are not supported? /\/(°w°)\/\ Edited February 1, 2009 by Fledermaus Quote
+Caching Scout Posted February 1, 2009 Posted February 1, 2009 Visit here. Geocaching.com uses a HTMLTidy program to remove certain ones, so trial and error might let you explore farther. Quote
+Lil Devil Posted February 2, 2009 Posted February 2, 2009 The first two lines of code in the OP worked fine for me, even though the UPPER CASE attributes are technically illegal markup in XHTML 1.0 Strict. After I changed the 3rd line to the following then it worked fine. <span style="font:arial 4pt; color:#FFFFFF; background-color: #FF0000;"><b>SAMPLE</b></span> I agree sometimes the parser acts really weird, but you can almost always get it to do what you want by using different, and sometimes convoluted, markup Quote
Fledermaus Posted February 5, 2009 Author Posted February 5, 2009 (edited) When I write personal web and geocache pages, using the "CSE HTML Validator Lite v7.01" program, I always include the following "Doctype Declarations" for compatibility and error checking: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> With regards to the differences of XHTML "Transitional" vs "Strict" formats, I suggest visiting the following: http://www.uninetnews.com/xhtml/doctype.php Interestingly and why I do not understand, the <html>, <head> and <body> tags seem to be unnecessary for the creation and presentation geocache pages. The above "validator" program doesn't seem to care if the type of font is written "arial" or "ARIAL", so I use the latter to make it more visible for editing purposes. As for the use of "span" and other related tags, I have yet to learn much about CSS stuff and haven't found it useful to me yet. Also, I am not a great fan of the "Tidy(bowl)" program. For at the cost of saving storage space, (IMHO) it makes a mess of well organized pages, when it becomes necessary to editing them at a later date. /\/(°w°)\/\ When all else fails, RTFM! Edited February 5, 2009 by Fledermaus Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.