Using CSS styles: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
.myFont {
.myFont {
     font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
     font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
     border: 1px solid black;
     border: 1px solid black;
     padding: 5px;
     padding: 5px;
Line 9: Line 9:


.myFontHigh {
.myFontHigh {
     font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
     font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
     border: 1px solid black;
     border: 3px solid black;
     padding: 5px;
     padding: 5px;
     border-radius:5px;
     border-radius:5px;
    font-size:30px;
}
}




.mySerifFont {
.mySerifFont {
     font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
     font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
}
}



Revision as of 09:07, 10 October 2012

The JavaScript code