Üb2: Unterschied zwischen den Versionen
Aus Spiritwiki
Adm1 (Diskussion | Beiträge) |
Adm1 (Diskussion | Beiträge) |
||
Zeile 5: | Zeile 5: | ||
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. | ||
............................................... | ............................................... | ||
{{#css:/skins/cavendishmw/men1.css}} | |||
<html> | <html> | ||
<style> | <style> | ||
#men1 ul {padding: 5px 0; margin:0; } | #men1 ul {padding: 5px 0; margin:0; } | ||
Zeile 13: | Zeile 14: | ||
#men1 ul li a:hover { background-color: black; color:white; } | #men1 ul li a:hover { background-color: black; color:white; } | ||
</style> | </style> | ||
<ul id=men1 | |||
<ul id=men1 > | |||
<li><a href="#">Link one</a></li> | <li><a href="#">Link one</a></li> | ||
<li><a href="#">Link two</a></li> | <li><a href="#">Link two</a></li> |
Version vom 16. Oktober 2013, 18:33 Uhr
Dies betrifft immer nur die eine wikiseite komplett - nicht das ganze Wiki !