Div not inheriting body style

Discussion in 'HTML' started by Lanmind, Sep 9, 2008.

  1. Lanmind

    Lanmind Guest

    Hello all,

    On my page here:

    http://www.dockhawk.com/

    Some text in elements of the div id="directions" isn't inheriting the
    correct text sizes from the body. Firebug says it has yet a lot of the
    elements come out as default.

    To get the "directions" text on screen please:

    1>Upon loading type "california" in the text box and click "submit".

    2>Either click on one of the markers on the map or pick a result that
    appears on the right

    3>In the info window that appears on the map please click either the
    "To here" or "From here" links

    4>In the next info window please type Oakland, CA in the text box and
    then click "Get Directions".

    The large undesirable text will appear in the "directions" div, middle
    of the screen between the map and results.

    I appreciate any pointers.

    Again page- http://www.dockhawk.com/

    and external CSS- http://www.dockhawk.com/default.css
     
    Lanmind, Sep 9, 2008
    #1
    1. Advertising

  2. Lanmind wrote:
    > Hello all,
    >
    > On my page here:
    >
    > http://www.dockhawk.com/
    >
    > Some text in elements of the div id="directions" isn't inheriting the
    > correct text sizes from the body. Firebug says it has yet a lot of the
    > elements come out as default.
    >
    > To get the "directions" text on screen please:
    >
    > 1>Upon loading type "california" in the text box and click "submit".
    >
    > 2>Either click on one of the markers on the map or pick a result that
    > appears on the right
    >
    > 3>In the info window that appears on the map please click either the
    > "To here" or "From here" links
    >
    > 4>In the next info window please type Oakland, CA in the text box and
    > then click "Get Directions".
    >
    > The large undesirable text will appear in the "directions" div, middle
    > of the screen between the map and results.
    >
    > I appreciate any pointers.
    >
    > Again page- http://www.dockhawk.com/
    >
    > and external CSS- http://www.dockhawk.com/default.css


    See what happens if you stick

    <!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    at the top of the page.
     
    Harlan Messinger, Sep 9, 2008
    #2
    1. Advertising

  3. Lanmind

    Lanmind Guest

    On Sep 8, 6:37 pm, Harlan Messinger
    <> wrote:
    > Lanmind wrote:
    > > Hello all,

    >
    > > On my page here:

    >
    > >http://www.dockhawk.com/

    >
    > > Some text in elements of the div id="directions" isn't inheriting the
    > > correct text sizes from the body. Firebug says it has yet a lot of the
    > > elements come out as default.

    >
    > > To get the "directions" text on screen please:

    >
    > > 1>Upon loading type "california" in the text box and click "submit".

    >
    > > 2>Either click on one of the markers on the map or pick a result that
    > > appears on the right

    >
    > > 3>In the info window that appears on the map please click either the
    > > "To here" or "From here" links

    >
    > > 4>In the next info window please type Oakland, CA in the text box and
    > > then click "Get Directions".

    >
    > > The large undesirable text will appear in the "directions" div, middle
    > > of the screen between the map and results.

    >
    > > I appreciate any pointers.

    >
    > > Again page-http://www.dockhawk.com/

    >
    > > and external CSS-http://www.dockhawk.com/default.css

    >
    > See what happens if you stick
    >
    > <!DOCTYPE html
    >       PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    >       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    >
    > at the top of the page.


    Thank you
     
    Lanmind, Sep 9, 2008
    #3
  4. Lanmind wrote:
    > On Sep 8, 6:37 pm, Harlan Messinger
    > <> wrote:
    >> Lanmind wrote:
    >>> Hello all,
    >>> On my page here:
    >>> http://www.dockhawk.com/
    >>> Some text in elements of the div id="directions" isn't inheriting the
    >>> correct text sizes from the body. Firebug says it has yet a lot of the
    >>> elements come out as default.
    >>> To get the "directions" text on screen please:
    >>> 1>Upon loading type "california" in the text box and click "submit".
    >>> 2>Either click on one of the markers on the map or pick a result that
    >>> appears on the right
    >>> 3>In the info window that appears on the map please click either the
    >>> "To here" or "From here" links
    >>> 4>In the next info window please type Oakland, CA in the text box and
    >>> then click "Get Directions".
    >>> The large undesirable text will appear in the "directions" div, middle
    >>> of the screen between the map and results.
    >>> I appreciate any pointers.
    >>> Again page-http://www.dockhawk.com/
    >>> and external CSS-http://www.dockhawk.com/default.css

    >> See what happens if you stick
    >>
    >> <!DOCTYPE html
    >> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    >>
    >> at the top of the page.

    >
    > Thank you


    Did it work? Before, the page was being treated in Quirks mode, one
    aspect of which is that font properties are reset to defaults inside
    tables, independent of what's outside them. If you're using the latest
    version of Firebug, you may have noticed Firefox's application of its
    internal stylesheet quirks.css, with font property values for the table
    element set to -moz-default.
     
    Harlan Messinger, Sep 9, 2008
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lanmind
    Replies:
    12
    Views:
    647
    Lanmind
    Sep 8, 2008
  2. K Viltersten

    <div ... /> and <div ...></div>

    K Viltersten, Mar 30, 2009, in forum: ASP .Net
    Replies:
    4
    Views:
    778
  3. Mc Lauren Series
    Replies:
    3
    Views:
    1,329
    Neredbojias
    Feb 13, 2010
  4. London Boy
    Replies:
    2
    Views:
    345
    Keith Bowes
    Jan 12, 2004
  5. Dwayne Madsen

    Q: Div A inside Div B is larger than Div B

    Dwayne Madsen, Jun 1, 2005, in forum: Javascript
    Replies:
    1
    Views:
    209
    David Dorward
    Jun 1, 2005
Loading...

Share This Page