Width

Detect and Display the Screen Resolution in VB.NET

This tutorial will teach you how to create a program that can detect and display the screen resolution in vb.net. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only two labels named Label1 and Label2 to get the width and the height of the resolution. 3. Now, lets start the coding. We will just put our code in our Form_Load.

Borders

Introduction: This is the fourth part in my CSS Styling tutorials, in which I will be covering Borders. Order: Borders around elements come between the elements margin and padding. So, if the element has padding, the border will be away from the element whereas if the element only has margin, the border will be next the element but away from other elements. Basic Structure: The basic border attribute takes three arguments; Width, Type, Colour.