Skip to main content

Styling and Customizing Borders in Blogger

Blogger Borders

As we all know, Blogger is based on Cascading Style Sheets (CSS). Adding, styling and customizing the borders are easy to implement as it uses the CSS Properties. With the help of borders, you can separate the different sectors of your blog, such as headers, sidebars or can be used to highlight the blockquotes and featured contents.

A blog designer can easily make a beautiful template just using borders and background colors.

Let us see how to style and customize the borders with some examples.



border: 1px solid red


border: 1px dotted orange


border: 2px dashed yellow


border: 3px double green


border: 5px groove blue


border: 3px inset indigo


border: 4px ridge violet


Now let us have an explanation.

Property "border" is used to add the borders while "3px" describes the width, "dotted" describes the type and "orange" describes border color.

More properties can be used for different borders for different sides.

To show border to top: border-top, to bottom : border-bottom, to left : border-left and to right : border-right.

Lets see a working example:

border-top: 3px solid #333333;

border-right: 3px double green;

border-bottom: 3px dashed indigo;

border-left: 3px dotted red;



To implement these border styles and customizations in Blogger templates (or in CSS), you have to first decide where you want it. For example, if you want to style the header section, then find:

#header-wrapper {

(more properties here)

border: 3px outset #215670;

}
Likewise you can also add borders to your Post Sections (#main-wrapper, #main), Sidebars (#sidebar-wrapper, #sidebar) or to Footer Section (#footer-wrapper, #footer). More details can be found in W3 School.

Comments

Popular posts from this blog

Cheap & Easy To Use VPN Services in China for 2019

Because of copyright issues, many domestic video sites prohibit foreign direct access to foreign IPs. Overseas users want to see these videos from abroad and need to obtain domestic IP with VPNs to bypass these copyright restrictions. Wall mom brings the best solutions for your VPN Services which are not only the best in the area but also have cheap and affordable prices. In this article,  Wall mom  brings some cheap and easy to use over the wall VPN recommendations for their users with the reviews which will surely help those who want a access to the sites which has the copyright restrictions.  They wrote in this articles that Only recommend foreign VPN, do not recommend domestic VPN Dare to operate in the domestic VPN service, the policy risk is particularly large, almost all shut down or run, it is difficult to issue a refund. Before GreenVPN was shut down, a large number of users flocked for a refund, and the refund was still good. Many domestic VPNs...

ملگجی شام پھر نہیں آئی

ملگجی شام پھر نہیں آئی لے کے دامن میں اپنے رسوائی کھو چکے ہیں متاع جان و جگر نزہت بزم کے تمنائی ہے ہر اک روپ میں ترا پرتو تُو تو نکلا بڑا ہی ہرجائی تیرگی وہ ملی شب فرقت جس سے نرگس بھی خوب شرمائی یوں کھلے ہیں دریچے یادوں کے بڑھ گیا اور شوق تنہائی چھوڑ کر آج لالہ و گل کو بوئے گلشن بھی کتنی پچھتائی زیست کی پُرفریب راہوں پر دل نے چاہی ہے پھر شناسائی ہے اسیری جو شہر خاموشاں ہم نے دانش نہ جاوداں پائی

What are the HTML Tags?

The simplest HTML tags arrange text into blocks, designate the font or letter-style, and size of the type. Bold, italic and underline are each identified within an HTML tag that precedes the letter or word(s) to be effected. The tag appears again at the end of the chosen text with a slash to indicate the effect ends there. For example, see how the following sentence appears in HTML: HTML tags are the core of Hypertext Markup Language. HTML tags are the core of Hypertext Markup Language. The “b” stands for bold and HTML tags are always enclosed in angled brackets, with the closing tag starting with a forward slash. If the forward slash is forgotten, the remainder of the page will assume the effect. In addition to changing fonts, HTML tags also create hyperlinks, or clickable text. The hyperlink tag includes an embedded website address (URL or Uniform Resource Locator). By placing a hyperlink tag around a phrase or name, clicking on it will take the surfer to the desired address. This c...