ID:175257
 
I am wondering if it is possible to use the "size" within a Client/script.

Here is a snippet of what I have so far within my Client/script:
client
script = "<STYLE>BODY {background: black; color: white; font: Courier}</STYLE>"


As you can clearly see, I have the font set differently and I am wondering whether or not I can change the size of the text.

Which is why I am querying on whether or not it is possible to resize the text.

I tried 'size: 10px' in the client/script, like so:
client
script = "<STYLE>BODY {background: purple; color: blue; font: Courier; size: 10px}</STYLE>"


When I did this, I was give the following error:
w00t project.dm:3:error: near 10px: unrecognized property 'size'


As you can see, 'size' is not a property, so therefore, I am wondering if there is an actual property to allow me to resize the text...

I hope this is clear enough for you all to understand my problem.

--Lee
Nevermind, I solved the problem.

What I was looking for is infact the following property;

font-size


Pretty simple lol, I don't know how I couldn't have thought about using that earlier :S

--Lee

[EDIT]

Apparently, that theory does not work... Shoot!

[/EDIT]
In response to Mellifluous
Here's a link to a list of all the properties in CSS and how to use them. Apparently your font-size thing should work. http://www.htmlhelp.com/reference/css/properties.html
In response to Jon88
Jon88 wrote:
Here's a link to a list of all the properties in CSS and how to use them. Apparently your font-size thing should work. http://www.htmlhelp.com/reference/css/properties.html

Haha... Funny thing here is that it should work, but isn't working :P

--Lee
In response to Mellifluous
It may be that you're using both font AND font-size. Font is used for all the different parameters: font size, font family, italics, etc. You could try replacing font with font-family or you could try placing the font's size in the appropriate place in font:.