Results 1 to 2 of 2

Thread: IE Object Model blues!!!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    India
    Posts
    97

    Post

    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]



  2. #2
    New Member
    Join Date
    Oct 1999
    Posts
    1

    Post

    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
  •  



Click Here to Expand Forum to Full Width