Wikipedia:WikiProject Usability/HTML: Difference between revisions

Content deleted Content added
M~enwiki (talk | contribs)
Basic attributes: added -.3em example
M~enwiki (talk | contribs)
Line 55:
** <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
*** You'll note that "transparent" is used for the background here. The standard background of wikipedia is #f8fcff, so if you put "white" and neglect the border, you <span style="background:white;">may notice a very slight (but innapropriate) difference in color.</span>. Transparent should usually be used, or no background attribute should be specified (result is the same).