Merge pull request #62 from aajjbb/use-valid-html

Fixing HTML issues
This commit is contained in:
Daniel Hahler 2017-01-21 18:51:14 +01:00 committed by GitHub
commit 1ffb229c91
3 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@ It is primarly targeted at power users, developers and any people dealing with
every day computing tasks and who want to have fine-grained control on theirs
graphical environment.
<div id="screenshot">
<div class="screenshot">
[[!img images/screen.png alt="awesome screenshot" size="382x216"]]
</div>
@ -29,7 +29,7 @@ It's extremely fast, small, dynamic and heavily extensible using the
We provide an easily usable and very-well documented API to configure and
define the behaviour of your window manager.
<div id="screenshot">
<div class="screenshot">
[[!img images/6mon.small.png link="images/6mon.medium.png" alt="awesome running on 6 monitors"]]
</div>

View File

@ -188,10 +188,10 @@ blockquote{
/**** Content ***/
#screenshot { text-align: center; margin: 32px 32px 32px 32px; }
#screenshot img { border: 2px solid #347272; }
.screenshot { text-align: center; margin: 32px 32px 32px 32px; }
.screenshot img { border: 2px solid #347272; }
#screenshot p {
.screenshot p {
padding-left: 80px;
}

View File

@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><TMPL_VAR TITLE> - awesome window manager</title>
@ -20,7 +20,7 @@
</TMPL_IF>
<div id="center-logo">
<a href="<TMPL_VAR BASEURL>index.html" title="Back to main page">
<img src="<TMPL_VAR BASEURL>images/awesome-logo.svg">
<img alt="awesome-logo" src="<TMPL_VAR BASEURL>images/awesome-logo.svg">
</a>
</div>
<div id="menu">
@ -86,7 +86,7 @@
</div>
</div>
<div id="clear"></div></div>
<div id="clear"></div>
<div id="footer">
<div id="pageinfo">
@ -111,7 +111,7 @@
</div>
<div class="copyright">
<a name="pagecopyright"></a>
<a id="pagecopyright"></a>
<TMPL_IF COPYRIGHT>
<TMPL_VAR COPYRIGHT>
</TMPL_IF>