TheLegendOfMart Posted April 15, 2003 Share Posted April 15, 2003 Ok i want to make it so every little peice of text on one page is the same font/size, i used to have a css file that had exactly how to do it, redefining the HTML Tags isnt a possibility because its a template page, and assigning a font tag to each line of text seems a little bit excessive, so is there a way to change the style of whatever text is on the page, html or not? Link to comment Share on other sites More sharing options...
0 Bob Carrick Posted April 15, 2003 Share Posted April 15, 2003 Why not just use a new CSS file? Link to comment Share on other sites More sharing options...
0 jackwanders Posted April 15, 2003 Share Posted April 15, 2003 CSS is the way to go, definitely... Why can't you use it? Link to comment Share on other sites More sharing options...
0 TheLegendOfMart Posted April 15, 2003 Author Share Posted April 15, 2003 not listening are we, im using a template page, and when its run through php it outputs the html, the tags are like: {whosonline} or {time} and it outputs the html respectively, they dont have html tags, and i dont want to apply a custom css style to each damn tag thats there, all i want to know is how to make the text 1 style irrespective of what it is. Link to comment Share on other sites More sharing options...
0 jackwanders Posted April 15, 2003 Share Posted April 15, 2003 What are you using the PHP for? Link to comment Share on other sites More sharing options...
0 TheLegendOfMart Posted April 15, 2003 Author Share Posted April 15, 2003 its the template files for a php gallery script, the templates are in html with tags like {news} etc. Link to comment Share on other sites More sharing options...
0 digital.death Posted April 16, 2003 Share Posted April 16, 2003 Just use: body { font-size : 8pt; } Just change 8pt to whatever size you want. Link to comment Share on other sites More sharing options...
0 Bob Carrick Posted April 16, 2003 Share Posted April 16, 2003 If it's a template file it should spit out the CSS right along with the HTML. Link to comment Share on other sites More sharing options...
0 Jessterw Posted April 16, 2003 Share Posted April 16, 2003 Do what digital.death recommended, but don't use points. Either use pixels (px) or ems (em). Points should only be used when creating CSS for print pages. Link to comment Share on other sites More sharing options...
0 TheLegendOfMart Posted April 16, 2003 Author Share Posted April 16, 2003 thanks ill give it a go Link to comment Share on other sites More sharing options...
Question
TheLegendOfMart
Ok i want to make it so every little peice of text on one page is the same font/size, i used to have a css file that had exactly how to do it,
redefining the HTML Tags isnt a possibility because its a template page, and assigning a font tag to each line of text seems a little bit excessive,
so is there a way to change the style of whatever text is on the page, html or not?
Link to comment
Share on other sites
9 answers to this question
Recommended Posts