Showing posts with label How To Add Borders to a Blogger. Show all posts
Showing posts with label How To Add Borders to a Blogger. Show all posts

How To Add Borders to a Blogger

on Friday, 2 August 2013

In this Blogger tutorial I expand on my previous article about how to add a 3-4 column footer to Blogger by showing you how add border styling to the new footer. You will learn how to add a border around all of your footer columns or around only part of the footer columns. You will also learn how to add different border styles and border colors to customize your 3-4 column footer.

If you have just landed here and need instructions on how to add a 3 or 4 column footer to your Blogger blog then please refer to how to add a 3 or 4 column footer to a Blogger template (Blogspot template)

This is a walkthrough designed to assist bloggers with no experience of CSS styling who want to enhance their Blogger template with borders and other CSS styling. By following these examples you will gain the knowledge you need to make many types of custom changes to the borders of your new Blogger footer. For help with changing the background of your blogger footer please see my article How to Change the Background a Blogger Footer.

How to Add Borders to the Footer of a Blogger Template
To add lines (commonly known as borders) to a Blogger template footer we need to add some CSS styling.

Before beginning to add borders there are 3 values to consider:

  • width of the border (line thickness eg 1px, 2px, 3px and so on)
  • line style of the border (solid, dotted, dashed, double)
  • color of the border (hex color)

How to Add a Border Around the Outside of a Blogger Footer
First we add the border property and then add the border style, border width and the border color values. In these following examples just by changing these values we can achieve lots of different results.

To Add a Dashed Border Around the Outside of a Blogger Footer
With the following code a dashed black line 1px thick will be added around the outside of the footer.

#footer-columns {

margin:0 auto;
clear:both;
}

Change to:

#footer-columns {
border: 1px dashed #000000;
clear:both;
margin:0 auto;
}


To Add a Dotted Border Around the Outside of a Blogger Footer
By changing the dashed black line to a dotted border it is simple to get a different line style.

#footer-columns {
clear:both;
margin:0 auto;
}

Change to:

#footer-columns {
border: 1px dotted #000000;
clear:both;
margin:0 auto;
}


To Add a Solid Border (Blue 3px thick) Around the Outside of a Blogger Footer
To add extra emphasis we can change the line color and its thickness. Here I have made the line blue rather than black and thickened it from 1px to 3px.

#footer-columns {
clear:both;
margin:0 auto;
}

Change to:

#footer-columns {
border: 3px solid #336699;
clear:both;
margin:0 auto;
}


#footer-columns {
clear:both;
margin:0 auto;
}

Change to:

#footer-columns {
border-top: 1px solid #000000;
clear:both;
margin:0 auto;
}

  • To Add a Solid Border to the Bottom of a Blogger Footer
    #footer-columns {
    clear:both;
    margin:0 auto;
    }

    Change to:

    #footer-columns {
    border-bottom: 1px solid #000000;
    clear:both;
    margin:0 auto;
    }
  • To Add a Dashed Border to the Top of a Blogger Footer
    #footer-columns {
    clear:both;
    margin:0 auto;
    }

    Change to:

    #footer-columns {
    border-top: 1px dashed #000000;
    clear:both;
    margin:0 auto;
    }
  • To Add a Dotted Border to Both Top and Bottom of a Blogger Footer
    #footer-columns {
    clear:both;
    margin:0 auto;
    }

    Change to:

    #footer-columns {
    border-top: 1px dotted #000000;
    border-bottom: 1px dotted #000000;

    clear:both;
    margin:0 auto;
    }
  • To Add a Dotted Border 4px thick to Both Top and Bottom of a Blogger Footer
    #footer-columns {
    clear:both;
    margin:0 auto;
    }

    Change to:

    #footer-columns {
    border-top: 4px dotted #000000;
    border-bottom: 4px dotted #000000;

    clear:both;
    margin:0 auto;
    }

  • To Add a Blue Solid Border 5px thick to Both Top and Bottom of a Blogger Footer
    #footer-columns {
    clear:both;
    margin:0 auto;
    }

    Change to:

    #footer-columns {
    border-top: 5px solid #336699;
    border-bottom: 5px solid #336699;

    clear:both;
    margin:0 auto;
    }


Tag :

UpLoad Your Picture

advertiser

Search This Blog

advertiser