![]() |
![]() |
![]() |
|
![]() |
![]() |
BOARDSplanetluc.com discussion boardall about the planetlu.com scripts You are not logged in. AnnouncementI had to clean the boards due to massive spam. Actually i deleted everything /-one after 1st Oct 2008. It was the only way to get this spam out of the boards. So i'm sorry for all serious users who registered/posted meanwhile.
#1 17-12-2005 20:42:46
FontThis is proably a stupid question.. but how do i change the size of the font? Offline #2 23-08-2006 15:56:16
Re: FontBump. Last edited by Dumpduck (23-08-2006 16:42:13) Offline #3 23-08-2006 17:17:52
Re: FontYou just need to change the following code: Code:// CSS classes & styles $classError = "error"; // class for error messages below input fields $classTxt = "text"; // class for field caption cell $classField = "field"; // class for input/textarea field cell $classInputbutton = "inputButton"; // class for submit button $classInputline = "inputLine"; // class for input lines $classInputfield = "inputField"; // class for textareas $styleInputline = "width:355px;"; // add. styles for input lines $styleInputfield = "width:355px; height:100px;"; // add. styles for textareas $styleInputbutton = "width:355px;"; // add. styles for submit button $styleInputradio = "vertical-align:middle;"; // add. styles for radio input fields $styleInputselect = "width:355px;"; Your CSS classes are denoted in the first 6 variables. Your page CSS should included: Code:.error { CSS_for_errors; } .text { CSS_for_text/titles; } Then the text fields, text inputs, submit buttons, radio buttons, and select (pulldown) menus have their CSS below in the next 5 lines. Just add your CSS divided with ";" (i.e. "text-align: left; color: #ffcc33;" etc.). Last edited by sidtheduck (23-08-2006 17:24:13) If it looks like a duck, and quacks like a duck, we have at least to consider the possibility that we have a small aquatic bird of the family anatidae on our hands. ~Douglas Adams~ Offline #4 23-08-2006 18:04:18
Re: FontCan't get that to work. Code:// CSS classes & styles $classError = "error"; // class for error messages below input fields $classTxt = "text"; // class for field caption cell $classField = "field"; // class for input/textarea field cell $classInputbutton = "inputButton"; // class for submit button $classInputline = "inputLine"; // class for input lines $classInputfield = "inputField"; // class for textareas .error { font-family: verdana, sans-serif; font-size: 9px; } .text { font-family: verdana, sans-serif; font-size: 9px; } This is not correct right? I've tried typing class .text, and putting them JUST after their variable. Didnt work, I get this error when theyre placed there: Offline #5 23-08-2006 18:59:48
Re: FontCSS needs to go at the top of the page before the PHP output (typically between the <head></head> tags). It needs to look like this: Code:<style type="text/css"> <!-- .error { font-family: verdana, sans-serif; font-size: 9px; } .text { font-family: verdana, sans-serif; font-size: 9px; } --> </style> If you are using the '/forum/contact_1.3.html' only for your contact form, just place the above code before the '<?' on line 1. Or if you put it elsewhere in the script, place a '?>' before the CSS code and a '<?' after the CSS code. Last edited by sidtheduck (23-08-2006 19:09:06) If it looks like a duck, and quacks like a duck, we have at least to consider the possibility that we have a small aquatic bird of the family anatidae on our hands. ~Douglas Adams~ Offline #6 23-08-2006 19:35:27
Re: FontI added it to my header.html where all my current css is, and it works like a charm. Offline |
|
![]() |
![]() |
![]() |
|