149 users online (0 members and 149 guests)  

  Results 1 to 2 of 2


  1. TE Text    Forum: Website Scripts Forum
    Replies: 1
  2. Replies: 1
  3. Replies: 16
  4. Replies: 0
  5. Replies: 2
  1. #1
    amyintexas's Avatar
    New User

    Join Date
    Mar 2005

    Help with CSS text


    I'm trying to figure out why some of the blog posts have larger text and even a different font here:

    I can't seem to find where/what is controlling that.

    Any help is appreciated!


  2. #2
    futureproof's Avatar
    New User

    Join Date
    Jan 2008

    Re: Help with CSS text

    Hi there. I copied and pasted your page code into MSWord and started going through it looking for "the obvious" such as a basic error. I haven't gone through it all but sufficiently to make a few observations that allow me to recommend that you invest some time and comb through the html pages:
    • some html tags are messy, unnecessary and incorrectly written, e.g.
    What about you? Are you willing to do what it takes to achieve mastery?
    <em><br /></em>
    </em></em><em><em /></em>
    If one advances confidently ... in common hours.
    <br /></em>
    <em>- Henry David Thoreau<br />
    • the page code contains style language that should be in a .css file; in fact some style does nothing but confuse things, e.g.
    ... Balance in Europe</a></h1>
    <small>August 30th, 2007 <!-- by --></small>
    <div class="entry">
    <font face="Times New Roman" size="3"><font face="Times New Roman" size="3" /></font>
    <font face="Times New Roman" size="3"><font face="Times New Roman" size="3">
    <p class="MsoNormal" style="margin: 0in 0in 0pt">I’m just back ...
    <p /></font></font></p>
    • There is a lot of this style repeated
    <p class="MsoNormal" style="margin-bottom: 12pt">
    which could be picked up in a .css file.

    If you:
    1. correct mis-matched opening/closing tags, i.e. the opening count must equal the closing count, unless they're self closing e.g. <br />;
    2. correct 'bad' tags e.g. "<p/>";
    3. remove repetitive, redundant, unnecessary and superfluous code; and
    4. highlight style code for transplant to a .css file
    you're more than half way to solving all of your code issues.

    As you know, the UA-rendered error of font size starts here:
    <div class="entry">
    <p class="MsoNormal">“A vacation is having nothing to do, and all day to do it in.”</p>
    so a previous font tag has either not been turned off (if it should be on at all, or the UA is confused by overlapping styles, also somewhere previous to this point. It might be here:
    ... What success stories (or horror stories) do you have related to technology and vacations? Please share your thoughts.</p>
    <p><span style="font-size: 10pt" />
    That specific span tag contains an error, has not been closed nor have you used it previously. if you delete it, your page might be rendered as you wish it to be.

    Take a look at what that span tag does to font size in my IE browser - pic attached
    Attached Images Attached Images

Tags for this Thread