Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Simple Font Issue

 

 


dustindd
User

Mar 12, 2010, 11:52 AM

Post #1 of 5 (4168 views)
Shortcut
Simple Font Issue Can't Post

My web site is http://www.DustinDrorbaugh.com and if you look on my home page you'll notice there's an article (generated through CMS Builder) however, and this only happens on the home page and in instances where I am just displaying the newest article added, the font appears to be Times New Roman instead of my css font... even the size is incorrect. Should be using something like this <p class="TextTahoma10pt"><span style="font-size: 12px;"> but when the code is present, it seems to be ignored.

Any ideas? If I can get these questions answered, that should be it for a while! Thank you.
Dustin Drorbaugh
http://www.DustinDrorbaugh.com

Follow Me On Twitter: http://www.twitter.com/dustindd


gkornbluth
Veteran

Mar 12, 2010, 3:51 PM

Post #2 of 5 (4159 views)
Shortcut
Re: [dustindd] Simple Font Issue [In reply to] Can't Post

Hi Dustin,

Don't know if this is related, but there seems to be an extra <p> just before the "I was reading this article on WebMD..". is inserted. That might be the culprit.

Best,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!
http://www.thecmsbcookbook.com


Chris
Staff


Mar 12, 2010, 4:44 PM

Post #3 of 5 (4152 views)
Shortcut
Re: [gkornbluth] Simple Font Issue [In reply to] Can't Post

Hi Dustin,

I don't see anything serif at that URL. Are you still having the problem?
Chris


dustindd
User

Mar 15, 2010, 11:48 AM

Post #4 of 5 (4122 views)
Shortcut
Re: [chris] Simple Font Issue [In reply to] Can't Post

Hi Chris. Thank you for helping me with this.

I have <p class="TextTahoma10pt"><span style="font-size: 12px;"><?php echo $record['summary'] ?></span><br> but as you notice on my home page, the font isnt displaying in Tahoma 10pt, its displaying in a Times New Roman font.
Dustin Drorbaugh
http://www.DustinDrorbaugh.com

Follow Me On Twitter: http://www.twitter.com/dustindd


Chris
Staff


Mar 15, 2010, 1:18 PM

Post #5 of 5 (4119 views)
Shortcut
Re: [dustindd] Simple Font Issue [In reply to] Can't Post

Hi Dustin,

I didn't see any serif on your page in Firefox, but I did check in IE and sure enough, I see a serif typeface there.

Using IE's Developer Tools I think I can see what's happening: I'm guessing IE doesn't like nested P tags (even with a SPAN middleman.)

Maybe you could move your TextTahoma10pt class up into the TD? Alternately, you could try wrapping with a DIV.

I hope this helps. Please let me know if you have any questions.
Chris