How-to articles, tricks, and solutions about BORDER

How to Add a Border Inside the Table

Read this snippet if you have faced the difficulty of setting a border inside the table. In this tutorial, we suggest two methods of overcoming this problem.

How to Add a Border-Bottom to the Table Row

In this tutorial, we want to demonstrate how you can add a border only to the bottom of the table row. Read and find out what CSS property you need for this.

How to Add Border Inside a Div

If you need to place a border inside a <div> element, you are in the right place. In this snippet, you can find out how to do it using some CSS properties.

How to Add Border to HTML Table

Learn how to create an HTML table, how to change HTML table border style using CSS. How to add border to<div>,<h2> &<p> elements. Practice with examples

How to Add Border to Image in CSS

Learn about how to add border to an image, how to add styling to it and how to specify each corner and have circle borders. Practice all with examples.

How to Add Space Between Rows in the Table

How to Create Space Between Rows in the Table-Learn to create space between two rows in the table in a super-easy way. Try examples yourself.

How to Auto-Resize the Image to fit an HTML Container

Find some ways of stretching the image to fit the div container. Learn how to auto-resize an image or a video with the help of CSS illustrated in the examples.

How to Center a <div> on the Screen Using jQuery

Read the tutorial and learn the jQuery method of centering the <div> element on the screen. Get a code snippet to add your script for centering the element.

How to Create a Glowing Border Around an Input Field

In this snippet, we’re going to demonstrate some examples of creating a glowing border around an input field. For that, you need to use some CSS properties.

How to Fix CSS Issues on Safari

Browsers serve the web page content differently that is why while using some CSS properties, problems may occur on Safari. Read the snippet and find out a tricky way to solve this problem.

How to Get Image Size Using JavaScript

Read this tutorial and learn the two methods of getting the width and height of the image. Learn about the properties that help to get the image size.

How to Increase the Space Between the Dots of Dotted Borders

In this snippet, we’ll show how you can overcome the difficulty of increasing the space between the dots of dotted borders. See what properties you can use.

How to Limit Border Length with CSS

You may come across the difficulty of making the border of an element shorter than its parent element. To overcome this, use CSS properties and HTML elements.

How To Make a <div> Element Extend to the Page Bottom Even Having No Content

In this snippet, we will show how to make a <div> element extend to the page bottom even when it has no content. Read the tutorial and find some examples.

How to Remove Cellspacing from Tables Using CSS

CSS suggests flexible and useful properties to solve any problems that may occur. Remove the space between cells of the table with the border-collapse property.

How to Set Border Opacity with CSS

You can set the border opacity using a RGBA color as a value for the CSS border property. In this snippet, we’re going to demonstrate how it can be done.

How to Set Cellpadding and Cellspacing in CSS

Use CSS padding and border-spacing properties for setting cellpadding and cellspacing for tables. Step by step guide with examples.

How to Style a Horizontal Line

Learn the ways of styling and have attractive horizontal lines: how to change color and size, set images as horizontal lines and a pack full of various kinds of <hr> examples.

How to Style Comment Box Using CSS

Style comment boxes, change the background color, add a background image or set borders to your comment box. See all with examples.

Shadow Effects in CSS

Use text-shadow and box-shadow CSS properties for shadow effects in CSS. See how to have amazing effects for texts, borders and boxes.