Üb2: Unterschied zwischen den Versionen

Aus Spiritwiki
 
(23 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 4: Zeile 4:


If on the other hand "MyStyles.css" was a file in the /wiki/skins directory, then it would be included as shown below. Note that the file must be an absolute path with a leading slash to distinguish it from an article title.
If on the other hand "MyStyles.css" was a file in the /wiki/skins directory, then it would be included as shown below. Note that the file must be an absolute path with a leading slash to distinguish it from an article title.
...............................................
<br>


* {{#css:/skins/MyStyles.css}}
{{#css:/skins/cavendishmw/hornav2.css}}
<html>
<div>
<ul id="hornav" class="hornav" >
<li style="display: inline; list-style-type: none; padding-right: 20px;"><a href="#">Link one</a></li>
<li style="display: inline; list-style-type: none; padding-right: 20px;"><a href="#">Link two</a></li>
<li style="display: inline; list-style-type: none; padding-right: 20px;"><a href="#">Link three</a></li>
<li style="display: inline; list-style-type: none; padding-right: 20px;"><a href="#">Link four</a></li>
<li style="display: inline; list-style-type: none; padding-right: 20px;"><a href="#">Link five</a></li>
</ul>
</div>
</html>


[[Kategorie:-]]


{{#css:
<br>
ul {padding: 5px 0; margin:0; }
...............................................
ul li {display:inline; list-style-type: none;}
ul li a:link, #menu1 ul li a:visited { background-color: green; color:white;text-decoration:none; padding: 5px;}
ul li a:hover { background-color: black; color:white; }
}}
 
 
 
<ul id=menu1 style="padding: 5px 0; margin:0; display:inline; list-style-type: none; a:link; li a:visited { background-color: green; color:white;text-decoration:none; padding: 5px;>
<li><a href="#">Link one</a></li>
<li><a href="#">Link two</a></li>
<li><a href="#">Link three</a></li>
<li><a href="#">Link four</a></li>
<li><a href="#">Link five</a></li>
</ul>

Aktuelle Version vom 14. April 2014, 17:12 Uhr

Dies betrifft immer nur die eine wikiseite komplett - nicht das ganze Wiki !