HighDots Forums  

Inherit?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Inherit? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
George Hester
 
Posts: n/a

Default Inherit? - 12-06-2003 , 05:11 PM






I have a web page that has this in it:

<font size="6"><a name="link1" href="www.adobe.com" onMouseDown="javascript: var zHeight=link1.style ; for(var prop in zHeight){alert('Name = ' + prop + ' value = ' + zHeight[prop])}"

But when I run throgh the style array font-size = 0. How can I access the font size of text in a html document when I really do not know what the font-size is? Thanks.

--
George Hester
__________________________________

Reply With Quote
  #2  
Old   
Stan Brown
 
Posts: n/a

Default Re: Inherit? - 12-06-2003 , 09:42 PM






In article <tmtAb.173070$ji3.60809 (AT) twister (DOT) nyroc.rr.com> in
comp.infosystems.www.authoring.stylesheets, George Hester
<hesterloli (AT) hotmail (DOT) com> wrote:
Quote:
I have a web page that has this in it:

font size="6"><a name="link1" href="www.adobe.com" onMouseDown="javascript: var zHeight=link1.style ; for(var prop in zHeight){alert('Name = ' + prop + ' value = ' + zHeight[prop])}"

But when I run throgh the style array font-size = 0. How can I access the font size of text in a html document when I really do not know what the font-size is? Thanks.
I don't see any CSS here at all. Maybe you'd do better in a
Javascript group? (You might want to moderate your line lengths,
also, to make your article easier to read.)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/


Reply With Quote
  #3  
Old   
George Hester
 
Posts: n/a

Default Re: Inherit? - 12-06-2003 , 10:40 PM



Oh thanks for the help Stan. I used CSS to get it.

--
George Hester
__________________________________
"Stan Brown" <the_stan_brown (AT) fastmail (DOT) fm> wrote

Quote:
In article <tmtAb.173070$ji3.60809 (AT) twister (DOT) nyroc.rr.com> in
comp.infosystems.www.authoring.stylesheets, George Hester
hesterloli (AT) hotmail (DOT) com> wrote:
I have a web page that has this in it:

font size="6"><a name="link1" href="www.adobe.com" onMouseDown="javascript: var zHeight=link1.style ; for(var prop in zHeight){alert('Name = ' + prop + ' value = ' + zHeight[prop])}"

But when I run throgh the style array font-size = 0. How can I access the font size of text in a html document when I really do not know what the font-size is? Thanks.

I don't see any CSS here at all. Maybe you'd do better in a
Javascript group? (You might want to moderate your line lengths,
also, to make your article easier to read.)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/

Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.