heldenbrau Posted August 22, 2009 Share Posted August 22, 2009 My font sizes were working on my webpage. I tried to change a font size and it didn't work, then I noticed that when I change any font sizes, they no longer change. Everything else works, like alignment and div settings. Just not font size. body{ padding:0px; font-family : Helvetica,Arial,sans-serif; margin-top:0px; } p.main { font-family:Helvetica,Arial,sans-serif; font-size:16pts; text-align:center; } p.text { font-family:Helvetica,Arial,sans-serif; font-size:16pts; text-align:justify; } a { font-family:Helvetica,Arial,sans-serif; font-size:20pts; text-align:center; } h1{ font-family:Helvetica,Arial,sans-serif; font-size:100pts; text-align:center; } h2{ font-family:Helvetica,Arial,sans-serif; font-size:10pts; text-align:center; } li.main { font-family:Helvetica,Arial,sans-serif; font-size:20pts; font-weight:100; text-align:justify; } li.text { font-family:Helvetica,Arial,sans-serif; font-size:16pts; font-weight:100; text-align:justify; } div#top{ float:top; width:100%; padding:2px; border:1px solid #000; } div#left{ float:left; width:36%; padding-left:40px; padding-right:5px; padding-top:0px; border:1px solid #000; } div#right{ float:right; width:56%; padding-left:5px; padding-right:40px; padding-top:0px; border:1px solid #000; } Link to comment https://forums.phpfreaks.com/topic/171452-why-have-my-font-sizes-stopped-working/ Share on other sites More sharing options...
haku Posted August 23, 2009 Share Posted August 23, 2009 'pt' not 'pts' Link to comment https://forums.phpfreaks.com/topic/171452-why-have-my-font-sizes-stopped-working/#findComment-904204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.