-
Hi,
Using the IE obj model one can access the document being viewed, so here we go..
I have a standard HTML file with a style sheet.
<style>
h1{
font-family:Arial;
}
</style>
how can I programmatically access font-family and change its value from Arial to say Verdana thru VB? I know there's some way of doing this thru the Web Browser control, but can't seem to figure it out??
Any ideas would be greatly appreciated. Thank you for your time.
------------------
Gaurav Mahindra
[email protected]
-
the IE4/5 object model is quite full. if you are trying to change a css value with a dash in it (-) you simply omit the - in script or VB. so font-family becomes fontfamily