Wikipedia:WikiProject Usability/HTML: Difference between revisions

Content deleted Content added
M~enwiki (talk | contribs)
Line 28:
 
==== Basic attributes ====
''Please note: this page does not encourage the use of bright, or non-standard colors. They are used for clearer examples. Please see [[Wikipedia:WikiProject_Usability/Color]]''
 
<!-- you'll note how messy this section looks in the editor, due to all the code -->
* '''"color: [color];"''' - the foreground color.
Line 37:
 
* '''"border:''' [thickness] [type] [color];" - the border: color, thickness, type. Type may be solid, outset, dashed, and others
** <tt><nowiki><span style="border: 1px2px outset bluecyan; background:yellow;">test</span></nowiki></tt> --> <span style="border: 1px2px outset bluecyan; background:yellow;">test</span>
** <tt><nowiki><span style="border: 1px dashed red; background:white;">test</span></nowiki></tt> --> <span style="border: 1px dashed red; background:white;">test</span>
** <tt><nowiki>foo<span style="border: 1px solid red; background:transparent;">test</span>bar</nowiki></tt> --> foo<span style="border: 1px solid red; background:transparent;">test</span>bar