How to Set a Border on Div in Opera
One of the reasons why HTML designers and Web developers use the Div tag in documents they create is because these tags are universal in all browsers. This means that if your HTML page includes a Div tag, it will work in Internet Explorer, Firefox, Chrome, Safari or Opera. However, it is important that your Div tag follows the right structure if you want it to appear properly.
Instructions
-
-
1
Log in to your Web server and open the HTML page that will include the Div tag.
-
2
Click inside the body section of your HTML page where you want the Div with the border to appear.
-
-
3
Insert the following code:
<DIV style="width:200px; border-style:solid">Div content goes here.</DIV>
-
4
Replace "Div content goes here" with the actual text you want to appear in the Div.
-
5
Replace the width value with a higher or lower number to increase or decrease the size of the border.
-
6
Publish the page. The Div and border will appear in any browser -- including Opera.
-
1