text formatting problems FF and IE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MrAStone@gmail.com

    text formatting problems FF and IE

    hi, im having a little problem with my text dropping outside my div
    container in FF. It formats fine in IE and i just cant seem to crack
    it it. Im using external style sheets. Here is my code:

    <----CSS----->
    #footer {
    position:absolu te;
    width:819px;
    height:20px;
    z-index:7;
    left: 0px;
    top: 707px;
    background-color: #003366;
    padding-left:10px;
    padding-top:0px;
    }
    #footerText {
    position:absolu te;
    top:2px;
    left:5px;
    }

    <----XHTML----->
    <div id="footer">
    <div id="footerText" >
    <h2>CALL US FOR GREAT RATES AND INFORMATION ON ALL OUR SERVICES...</
    h2>
    </div>
    </div>

    Any suggestion would be greatly appreciated. I have tried nesting the
    text directly in the #footer div but i get the same problem.

  • Beauregard T. Shagnasty

    #2
    Re: text formatting problems FF and IE

    MrAStone@gmail. com wrote:
    hi, im having a little problem with my text dropping outside my div
    container in FF. It formats fine in IE and i just cant seem to crack
    it it. Im using external style sheets. Here is my code:
    A URL would be better.
    <----CSS----->
    #footer {
    Your text spills out because it is too tall for your height.
    height:20px; <--- this
    Use em units instead.
    <----XHTML----- <-- Use HTML 4.01 Strict instead
    <div id="footer">
    <div id="footerText" >
    <h2>CALL US FOR GREAT RATES AND INFORMATION ON ALL OUR SERVICES...</
    h2>
    </div>
    </div>
    That does not look like heading text. ( <h2)
    Write something in mixed case and use a <p>aragraph.
    Any suggestion would be greatly appreciated. I have tried nesting the
    text directly in the #footer div but i get the same problem.
    You don't need the extra "footertext ". Post the URL when you think you
    have it sorted.

    --
    -bts
    -Motorcycles defy gravity; cars just suck

    Comment

    • MrAStone@gmail.com

      #3
      Re: text formatting problems FF and IE

      thanks for the advice :-)

      I have managed to sort it. One thing though... why do u recommend
      using html 4.01 opposed to XHTML. surely using the most up to date
      markup is recommended? that way our sites are forward compatible...

      And your right about the text, it shouldnt be heading text, i have
      just been playing around with a few different combinations.

      unfortunatly i cannot post the url due to contractual reasons.

      thanks again...

      Comment

      • Beauregard T. Shagnasty

        #4
        Re: text formatting problems FF and IE

        MrAStone@gmail. com wrote:
        thanks for the advice :-)
        >
        I have managed to sort it. One thing though... why do u recommend
        using html 4.01 opposed to XHTML. surely using the most up to date
        markup is recommended? that way our sites are forward compatible...
        For one, the most popular browser-like operating system component
        (Internet Exploder) can't read properly-served XHTML. Not even the
        latest version.
        And your right about the text, it shouldnt be heading text, i have
        just been playing around with a few different combinations.
        >
        unfortunatly i cannot post the url due to contractual reasons.
        So then make up a sample illustrative page, and post it on a free
        server. Does your ISP give you free space? Many do.

        --
        -bts
        -Motorcycles defy gravity; cars just suck

        Comment

        • MrAStone@gmail.com

          #5
          Re: text formatting problems FF and IE

          On May 9, 1:16 pm, "Beauregard T. Shagnasty"
          <a.nony.m...@ex ample.invalidwr ote:
          MrASt...@gmail. com wrote:
          thanks for the advice :-)
          >
          I have managed to sort it. One thing though... why do u recommend
          using html 4.01 opposed to XHTML. surely using the most up to date
          markup is recommended? that way our sites are forward compatible...
          >
          For one, the most popular browser-like operating system component
          (Internet Exploder) can't read properly-served XHTML. Not even the
          latest version.
          Oh i see, i didnt know that. i have read many different things
          referencing the subject and its difficult to know which route to take.
          the whole browser compatability issue is a pain im sure you will
          agree :-)
          >
          And your right about the text, it shouldnt be heading text, i have
          just been playing around with a few different combinations.
          >
          unfortunatly i cannot post the url due to contractual reasons.
          >
          So then make up a sample illustrative page, and post it on a free
          server. Does your ISP give you free space? Many do.
          Yes i do have free space, il bear that in mind for future, i know it
          would make it much easier.
          >
          --
          -bts
          -Motorcycles defy gravity; cars just suck

          Comment

          Working...