Showing posts with label list. Show all posts
Showing posts with label list. Show all posts

Saturday, July 9, 2011

Create Eye Catching Image Pop Ups using CSS and HTML


This is a neat way to show off your sponsors or affiliates using CSS and HTML. The image will enlarge on hover and can also be linked to your affiliate accounts or any other web page for that matter. Because we will be using a stylized list; there's no need to worry about cropping images or resizing your images. You'll be able to style your list using CSS; making it neater and quicker to implement your styling power on all images at once. 

Before you begin the tutorial; make sure to back up your current existing template in case it doesn't turn out as expected. 

Begin by logging into your Blogger dashboard > Design > Page Elements. Once your on the "Page Elements" page, select "Add a Gadget" to add an "HTML/JavaScript" gadget.  The next step is to copy and paste the following snippet code below into your configuration box.
  <ul class="thumb">
    <a href="LINK-ADDRESS"><li><img src="http://YOUR-IMAGE-LINK.jpg" alt="" style="border: 0;" width="125" height="125" /></li></a>
    <a href="LINK-ADDRESS"><li><img src="http://YOUR-IMAGE-LINK.jpg" alt="" style="border: 0;" width="125" height="125" /></li></a>
    <a href="LINK-ADDRESS"><li><img src="http://YOUR-IMAGE-LINK.jpg" alt="" style="border: 0;" width="125" height="125" /></li></a>
</ul>
Note: The above code contains 3 advertisement box. If you want to add more, simply copy and paste: <a href="LINK-ADDRESS"><li><img src="http://YOUR-IMAGE-LINK.jpg" alt=" " style="border:0;" width="125" height="125"/></li></a> right before the closing </ul> tag.

The next step now is to style your images. To do this, simply add the following CSS snippet code to the opening of your head section.
<style type='text/css'>    
ul.thumb {
    float: left;
    list-style: none;
    margin: 0; padding: 10px;
    width: 360px;
}
ul.thumb li {
    margin: 0; padding: 5px;
    float: left;
    position: relative;
    width: 110px;
    height: 110px;
}
ul.thumb li img {
    width: 100px; height: 100px;
    border: 1px solid #ddd;
    padding: 5px;
    background: #f0f0f0;
    position: absolute;
    left: 0; top: 0;
    -ms-interpolation-mode: bicubic;
}
ul.thumb li img.hover {
      border: none;
}
</style>
Note: You can change the style of your images with this CSS snippet code. If you need help stylizing your list, please don't hesitate to leave a comment and ask for help. 

Sunday, March 6, 2011

CSS3 Slide Up Boxes for Blogger


preview-blogger

CSS Code Snippet
This section code should be inserted before the closing head tag.



HTML Code Snippet
This section code should be inserted where you want the output to appear.


Saturday, November 6, 2010

Make your HTML Lists stand out with CSS enhancement

csslist_tutorialHere is a simple tutorial on how you can make your plain HTML lists stand out to catch readers attention and possibly increase click-through rates (CTR), which in turn raises return on investments (ROI). Designs not only makes your blog appealing, it can also capture your readers curiosity and/or clicks. This tutorial provides a foundation for you to build upon with your own touch and style so that it will fit that of your site. Of course, we will leave the creativity up to you.

page_html Demonstration | page_package Download RAR

CSS section code (This section should be placed right before the closing head tag)

<style type='text/css'>
#navcontainer2 ul{
margin: 0;
padding: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}

#navcontainer2 li { margin: 0 0 3px 0; }

#navcontainer2 a{
display: block;
padding: 2px 2px 2px 24px;
border: 1px solid #333;
width: 160px;
background-color: #999;
background-image: url(/images/images.jpg);
}

#navcontainer2 a:link, #navlist a:visited{
color: #EEE;
text-decoration: none;
font-weight: bold;
}

#navcontainer2 a:hover{
border: 1px solid #333;
background-color: orange;
background-image: url(/images/images2.jpg);
color: #333;
font-weight: bold;
}

#active2 a:link, #active2 a:visited, #active2 a:hover {
border: 1px solid #333;
background-color: orange;
background-image: url(/images/images.jpg);
color: #333;
font-weight: bold;
}
</style>

HTML section code (This section should be placed where you would like the list to appear. This can be done by adding a new gadget under page elements, or applied directly within the HTML section of the template.)

<table width="38%" border="0">
  <tr>
    <td width="19%"><div id="navcontainer2">
<ul id="navlist2">
<li id="active"><a href="http://www.thomasnjr.com/" id="current">tnjr - thomasnjr.com</a></li>
<li><a href="http://beben-koben.blogspot.com/">Prodigy of Head</a></li>
<li><a href="http://www.ccnacentral.info/">CCNA Central</a></li>
<li><a href="http://www.myworld4free.co.cc/">My World4Free</a></li>
</ul>
</div></td>
    <td width="81%"><div id="navcontainer2">
<ul id="navlist2">
<li><a href="http://www.chiefdoodle.com">Chiefdoodle Art</a></li>
<li><a href="http://seopowered.blogspot.com/">SEO Powered</a></li>
<li><a href="#">Get featured here</a></li>
<li><a href="#">Get featured here</a></li>
</ul>
</div></td>
  </tr>
</table>

Note: All images should be uploaded and replaced with your link, and as always is open for customizations.