Home » Script and Codes

Script and Codes

Add CSS Box Around Paragraph

Add CSS Box Around Paragraph

How to add CSS box around paragraph? Add CSS Box Around Paragraph: The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. CSS Code: .provj { background-color: #EEEE; width: 300px; border: 10px solid Blue; padding: 30px; margin: 20px; } Example with …

Add CSS Box Around Paragraph Read More »

add-css-background-image-or-color

Add CSS Background Image or Color

How to add CSS background image or color? Add CSS Background Image or Color: The background-color property specifies the background color of an element. 1. CSS Background Color Code: <style> body { background-color: lightblue; } </style> Example: <!DOCTYPE html> <html> <head> <style> body { background-color: lightblue; } </style> </head> <body> <h1>Hello World!</h1> <p>This page has …

Add CSS Background Image or Color Read More »

Add Cool Print Button on your Website

Add Cool Print Button on your Website

Learn to add print button on your website Add this code after where you want to show print button on your website <b:if cond=”data:blog.pageType == &quot;item&quot;”> <span style=”background: url(https://provishal.com/wp-content/uploads/2015/01/print-icon1-1.png) left no-repeat; padding-left: 25px;display:inline;”><a class=”noprint” href=”javascript:window.print()” rel=”nofollow”>Print Now</a></span> </b:if> Although most users know they can do something like “File > Print”, a “Print Now” option can …

Add Cool Print Button on your Website Read More »

Scroll to Top