This is a discussion on CSS and HTML within the HTML, DHTML and CSS forums, part of the Programming / Scripting / Coding category; right how do i make my HTM file use the CSS File? what do i type in?...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #8 (permalink) | |
| Super Moderator | Quote:
<div class="mycenter"> your text etc... </div> and put something like this in your CSS file .mycenter { text-align: center; font-size: 12pt; }
__________________ Alex Monaghan - Monaghan Consultants Ltd Web hosting, ADSL, IT & Database consultancy Custom Web hosting on UK or USA servers using Linux (cPanel) or Windows (DotNetPanel) Mobile Phone Ringtones, Logos, Java Games & more | |
| | |
| | #10 (permalink) |
| Super Moderator | tpl ? I presume this is an HTML file as a template ? If so, then you should be able to modify the header template to include the CSS file (as per Tom's reply) and then simply add classes to your template HTML as per my reply. Note: Your header may come from a different template to your main body text, be sure to modify the template that actually outputs the <head>...</head> section.
__________________ Alex Monaghan - Monaghan Consultants Ltd Web hosting, ADSL, IT & Database consultancy Custom Web hosting on UK or USA servers using Linux (cPanel) or Windows (DotNetPanel) Mobile Phone Ringtones, Logos, Java Games & more |
| | |
| Tags |
| css, html |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I need help with html | macca-tom | Graphics Forum | 11 | 21-05-2008 21:09 |
| PHP/HTML/MYSQL - for ??$$ | KF1 | Website Development Forum | 0 | 20-07-2005 17:27 |
| HTML does and donts | Morphmaster | Website Design Articles | 0 | 26-06-2005 18:34 |
| Html: Fonts | Morphmaster | Programming Articles | 0 | 26-06-2005 18:05 |
| HTML Images | Bmg | Programming Articles | 0 | 07-04-2005 16:24 |