jnf555 Posted April 28, 2009 Share Posted April 28, 2009 hi i am finding it hard to know which doctype to use, i find they dont recognise font size, as i test which should i use for the following. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><title>this is a test page</title><head><style>.test{font:50px;color:red}</style></head><body><div class="test"><p>a simple paragraph</p></div></body></html>this dosent workany help pleasejnf555 Link to comment Share on other sites More sharing options...
justsomeguy Posted April 28, 2009 Share Posted April 28, 2009 "font" is not the correct property to use to set the font size, regardless of doctype. Link to comment Share on other sites More sharing options...
jnf555 Posted April 28, 2009 Author Share Posted April 28, 2009 thanks alot jnf555 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.