Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Evon R'al/Wiki coding notes: Difference between revisions

From EVE University Wiki
m Reorganize. Typo's. Add some info.
m Add CSS section
Line 141: Line 141:
* Finally the external link rendering can be suppressed by using the CSS class {{Co|wheat|plainlinks}} making the link look like an internal one. <code><nowiki><span class="plainlinks">[https://wiki.eveuniversity.org/index.php?title=User:Evon_R%27al Evon R'al's user page]</span></nowiki></code> produces <span class="plainlinks">[https://wiki.eveuniversity.org/index.php?title=User:Evon_R%27al Evon R'al's user page]</span>
* Finally the external link rendering can be suppressed by using the CSS class {{Co|wheat|plainlinks}} making the link look like an internal one. <code><nowiki><span class="plainlinks">[https://wiki.eveuniversity.org/index.php?title=User:Evon_R%27al Evon R'al's user page]</span></nowiki></code> produces <span class="plainlinks">[https://wiki.eveuniversity.org/index.php?title=User:Evon_R%27al Evon R'al's user page]</span>


== CSS ==
See also:
* [https://www.w3schools.com/css W3 schools tutorial]
* [https://www.w3schools.com/cssref W3 schools reference]
* [https://developer.mozilla.org/en-US/docs/Web/CSS mdn web docs reference]
=== CSS location ===
; External style sheet :A separate file with CSS definitions. Loaded into the page with a HTML link in the head section of the page.
; Internal style sheet :On the page in the style element of the head section
; Inline CSS :By using the style attribute of an HTML element.
For external and Internal style sheets the order in which they appear in a page is relevant, the last one "wins".
=== Cascading order ===
What style will be used when there is more than one style specified for an HTML element?
* Browser default
** Internal and external style sheet. In the order they are entered on the page.
*** Inline CSS


== Code snippets ==
== Code snippets ==