There can be more than one feedlink group in a page, as well as (more
rarely) multiple blog forms, and using the same id for all of them
causes HTML validation errors. Replace the id with a class by the same
name and adjust in-repository CSS.
(cherry picked from commit
0c3b91e1f06fb357711cfa71d514f139cd8e04e3)
monospace;
}
-pre, tt, code, tr.changeinfo, #blogform {
+pre, tt, code, tr.changeinfo, .blogform {
color: inherit;
background-color: #f6f6f0;
}
width: 60%;
}
-#blogform {
+.blogform {
padding: 10px 10px;
border: 1px solid #aaa;
background: #eee;
.tags { display: none; }
.feedbutton { display: none; }
#searchform { display: none; }
- #blogform { display: none; }
+ .blogform { display: none; }
#backlinks { display: none; }
}
<form action="<TMPL_VAR CGIURL>" method="get">
-<div id="blogform">
+<div class="blogform">
<TMPL_IF RSSURL>
<a class="feedbutton" type="application/rss+xml" rel="alternate" title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a>
</TMPL_IF>
-<div id="feedlink">
+<div class="feedlink">
<TMPL_IF RSSURL>
<a class="feedbutton" type="application/rss+xml" rel="alternate" title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a>
</TMPL_IF>