Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply

HTML - Div not inheriting body style

 
Thread Tools Search this Thread
Old 09-08-2008, 11:30 PM   #1
Lanmind
 
Posts: n/a
Default Div not inheriting body style

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
  Reply With Quote
Old 09-09-2008, 01:37 AM   #2
Harlan Messinger
 
Posts: n/a
Default Re: Div not inheriting body style

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.
  Reply With Quote
Old 09-09-2008, 04:56 AM   #3
Lanmind
 
Posts: n/a
Default Re: Div not inheriting body style

On Sep 8, 6:37*pm, Harlan Messinger
<hmessinger.removet...@comcast.net> 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
  Reply With Quote
Old 09-09-2008, 01:21 PM   #4
Harlan Messinger
 
Posts: n/a
Default Re: Div not inheriting body style

Lanmind wrote:
> On Sep 8, 6:37 pm, Harlan Messinger
> <hmessinger.removet...@comcast.net> 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.
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OT: Awards ceremony, Australian style Johnston DVD Video 1 12-02-2006 12:50 AM
2006 LG's Holiday of Style Product Briefing Silverstrand Front Page News 0 10-26-2006 09:24 PM
Mike Meyers - I like your style Roger A+ Certification 1 08-05-2003 01:55 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47