Modifying Css For Tibetan Machine Unicode Pages
<h3 class="heading-h6"><a name="THLToolboxhomegtDevelopersZonegtWebdevelopmentgtMakingWebPagesInTibetanUnicodegtModifyingCSSForTibetanMachineUnicodePages" class="anchorpoint"></a><a href="/tools/wiki/home.html">THL Toolbox</a> > <a href="/tools/wiki/Developers%27%20Zone.html">Developers' Zone</a> > <a href="/tools/wiki/Web-development.html">Web-development</a> > <a href="/tools/wiki/Making%20Web%20Pages%20In%20Tibetan%20Unicode.html">Making Web Pages In Tibetan Unicode</a> > Modifying CSS For Tibetan Machine Unicode Pages</h3><p class="paragraph">
</p><h3 class="heading-h1"><a name="ModifyingCSSForTibetanMachineUnicodePages" class="anchorpoint"></a>Modifying CSS For Tibetan Machine Unicode Pages</h3><p class="paragraph"><strong class="bold">Contributor(s)</strong>:</p><p class="paragraph">HTML pages that use the Tibetan Machine Unicode font and THL's CSS styles require some tweaking in order to work with Firefox. You can follow the principles in the example below to modify the style declaration in the header. Especially important for Tibetan Machine Unicode in Firefox is that the text not be justified, hence the "text-align:left!important" property.</p><p class="paragraph">Note that the following examples are not necessarily ones that should be in your HTML page. They are just examples of properties that may want to be addressed for Tibetan HTML.</p><p class="paragraph"><style type="text/css"></p><p class="paragraph">.tib {<br/>
font-family: "Tibetan Machine Uni"!important;<br/>
font-size: 14pt; line-height: 22pt;<br/>
text-align: left!important;<br/>
}<br/>
<br/>
.tibBtn {<br/>
font-family: "Tibetan Machine Uni"!important;<br/>
font-size: 16pt; line-height: 22pt;<br/>
text-align: left!important;<br/>
}<br/>
<br/>
#breadcrumbs {<br/>
font-family: "Tibetan Machine Uni"!important;<br/>
font-size: 12pt !important;<br/>
line-height: 20pt;<br/>
}<br/>
<br/>
#main.text-heavy {<br/>
max-width: 750px;<br/>
}</p><p class="paragraph"></style></p><p class="paragraph"><strong class="bold">An example for testing</strong></p><p class="paragraph"><p class="tib">ལྷ་ས</p></p><p class="paragraph">A text input box that accepts Tibetan Unicode</p><p class="paragraph">Title:<br/>
(<input type="text" class="tibBtn" name="tibTitle" value="ལྷ་ས"/>)</p><p class="paragraph">A submit button with a Tibetan value</p><p class="paragraph">(<input value="སྨྱན་གཟུགས་ཁ་བྱང་།" class="tibBtn" type="submit"/>)
</p><h3 class="heading-h6"><a name="ThispageisprovidedcourtesyofthespanclassnobrimgsrcsakairwikitoolimagesicklearrowgifaltexternallinktitleexternallinkahrefhttpwwwthdlorgtargetrwikiexternalTibetanandHimalayanLibraryaspan" class="anchorpoint"></a>This page is provided courtesy of the <span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://www.thdl.org" target="rwikiexternal">Tibetan and Himalayan Library</a></span>.</h3>