|
-
Oct 20th, 1999, 12:11 PM
#1
Thread Starter
Lively Member
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]
-
Oct 30th, 1999, 06:30 PM
#2
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|