Simple Font Issue

5 posts by 3 authors in: Forums > CMS Builder
Last Post: March 15, 2010   (RSS)

By dustindd - March 12, 2010

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

Re: [gkornbluth] Simple Font Issue

By Chris - March 12, 2010

Hi Dustin,

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

Re: [chris] Simple Font Issue

By dustindd - March 15, 2010

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

Re: [dustindd] Simple Font Issue

By Chris - March 15, 2010

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.
All the best,
Chris