CSS and TWebbrowser delphi

后端 未结 2 1314
栀梦
栀梦 2021-01-07 03:08

I was wondering if it was possible to manipulate the CSS of websites. For example color in the input fields? I had a look at several questions, but its not clear to me if it

2条回答
  •  不思量自难忘°
    2021-01-07 03:23

    Using @jasonpenny's answer to add a stylesheet, what you need next to change the border around the input element that has focus, is what in CSS is called the focus pseudo class or selector. For more information see these articles:

    • http://www.w3schools.com/css/css_pseudo_classes.asp
    • http://www.w3schools.com/css/sel_focus.asp
    • http://www.w3schools.com/css/css_border.asp

    The http://www.w3schools.com site has a wealth of information on web development. It also allows you to play with many examples so you can see what the effects would be when you change things. If you are trying to learn how to do css styling you might be better of getting to grips with all the information there, instead of trying to learn programming and a programming language at the same time.

提交回复
热议问题