How to set a border for an HTML div tag

I am trying to define a border around a div tag in HTML. In some browsers the border does not appear. Here is my HTML code: <div id=”divActivites” name=”divActivites” style=”border:thin”> <textarea id=”inActivities” name=”inActivities” style=”border:solid”> </textarea> </div> How do I set a border for an HTML div tag? 8 Answers 8

Remove white space below image [duplicate]

This question already has answers here: Image inside div has extra space below the image (10 answers) Closed 6 years ago. In Firefox only my video thumbnails are displaying mysterious 2-3 pixels of white space between the bottom of my image and its border (see below). I’ve tried everything I can think of in Firebug … Read more

How to reset / remove chrome’s input highlighting / focus border? [duplicate]

This question already has answers here: How to remove focus border (outline) around text/input boxes? (Chrome) [duplicate] (11 answers) Closed 6 years ago. I have seen that chrome puts a thicker border on :focus but it kind of looks off in my case where I’ve used border-radius also. Is there anyway to remove that? 8 … Read more