- From: Steven Faulkners via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 09 Jun 2010 15:19:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/alt-techniques
In directory hutz:/tmp/cvs-serv6042
Modified Files:
Overview.html
Log Message:
further code fixes
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/alt-techniques/Overview.html,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- Overview.html 9 Jun 2010 15:10:53 -0000 1.36
+++ Overview.html 9 Jun 2010 15:19:39 -0000 1.37
@@ -12,7 +12,6 @@
h1 + h2, h1 + h2 + h2 { margin: 0.75em 0 0.75em; }
h2 + h3, h3 + h4, h4 + h5, h5 + h6 { margin-top: 0.5em; }
p { margin: 1em 0; }
- hr:not(.top) { display: block; background: none; border: none; padding: 0; margin: 2em 0; height: auto; }
dl, dd { margin-top: 0; margin-bottom: 0; }
dt { margin-top: 0.75em; margin-bottom: 0.25em; clear: left; }
dt + dt { margin-top: 0; }
@@ -26,7 +25,7 @@
pre, code { font-size: inherit; font-family: monospace; font-variant: normal; }
pre strong { color: black; font: inherit; font-weight: bold; background: yellow; }
pre em { font-weight: bolder; font-style: normal; }
- @media screen { code { color: orangered; } code :link, code :visited { color: inherit; } }
+
var sub { vertical-align: bottom; font-size: smaller; position: relative; top: 0.1em; }
table { border-collapse: collapse; border-style: hidden hidden none hidden; }
table thead { border-bottom: solid; }
@@ -44,20 +43,13 @@
h1 + h2, hr + h2.no-toc { page-break-before: auto; }
-
-
-
-
-
-
-
.note { color: green; background: transparent; font-family: sans-serif; }
.warning { color: red; background: transparent; }
.note, .warning { font-weight: bolder; font-style: italic; }
p.note, div.note { padding: 0.5em 2em; }
span.note { padding: 0 2em; }
.note p:first-child, .warning p:first-child { margin-top: 0; }
- .note p:last-child, .warning p:last-child { margin-bottom: 0; }
+
.warning:before { font-style: normal; }
p.note:before { content: 'Note: '; }
p.warning:before { content: '\26A0 Warning! '; }
@@ -89,7 +81,7 @@
}
.example { display: block; color: #222222; background: #FCFCFC; border-left: double; margin-left: 2em; padding-left: 1em; }
- td > .example:only-child { margin: 0 0 0 0.1em; }
+
/*added styles*/
@@ -250,7 +242,7 @@
<li>Text alternative is explicitly associated with the image.</li>
<li>Inclusion of text alternatives as alt attribute content does not impact upon the default visual display of content.</li>
</ul>
-<h5>Disadvantages:</h5>
+<h5 id="hdd">Disadvantages:</h5>
<ul>
<li>Content of the alt attribute is not available to some users who may find it useful.</li>
<li>If the alt attribute content is too long it may cause display issues in some browsers.</li>
@@ -419,7 +411,7 @@
If not, plug it in. If it's plugged in and still doesn't work; check if the bulb is burned out.
If it is, replace the bulb. If it still does not work; buy a new lamp."</strong>></p></pre>
</div>
-<h4>Example 2.2</h4>
+<h4 id="ex22">Example 2.2</h4>
<div class="example">
<p>Here's another example of the same <a href="#flowchart">flowchart</a> image, showing a short text alternative included in the alt attribute, in this case the text alternative is a description of the link target as the image is the sole content of a link. The link points to a description, within the same document, of the process represented in the flowchart. Note a title has been included on the link for sighted mouse users, the title provides information about the link target.</p>
<p><strong>Example Code:</strong><br>
Received on Wednesday, 9 June 2010 15:19:42 UTC