July 20, 2008 | 02:25 PM  
Welcome

Don't have an account yet? You can create one, it is free, just click here

as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
   30-Nov-1999  Print current page  Show map

l. CSS styles

    l. CSS styles

    Maybe you noted that there is no font formatting of the text in the Templates HTML code: that's because they use CSS: you find them in the ATTest/styles subfolder.  You need to link the CSS files in your theme.html, by adding the link as follows:


    <­HTML>

    <­HEAD>

    <­TITLE>header<­/TITLE>

    <­META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

    <­LINK href="style/style.css" rel="stylesheet" type="text/css">

    <­/HEAD>˜



Example: to format the Welcome message or the Block title, the tags used are:

<­TD ALIGN="CENTER" CLASS="login" ><­!-- [user-welcome] --><­/TD>

<­TD CLASS="title"><­!-- [block-title] --><­/TD>


The CLASS parameter of the <­TD> tags refers to the styles defined in the style.css file:

.login { font-family: Arial; font-size: 8pt; color: #FFFFFF;}

.title { font-weight: bold; font-size: 12px; color: #444444 }


CSS or Cascading Style Sheets are W3C standards and highly recommended:

<­here some explications on CSS>