Jump to content

Marked block


SirPereira

Recommended Posts

Hey guys,

I have a kind of menu, that I will use for display the last 3 videos, and I want that the block containing info about each video would be separated, and when someone hovers the mouse in it, it will show something like this:

161c94k.jpg

 

This is my actual code for the column:

    <div class="column">
      <ul class="latestnews">
        <li><img src="images/demo/100x100.gif" alt="" />
          <p><strong><a href="#">Indonectetus facilis leo.</a></strong> Nullamlacus dui ipsum cons eque loborttis non euis que morbi penas dapibulum orna. Urnaultrices quis curabitur phasellentesque.</p>
        </li>
        <li><img src="images/demo/100x100.gif" alt="" />
          <p><strong><a href="#">Indonectetus facilis leo.</a></strong> Nullamlacus dui ipsum cons eque loborttis non euis que morbi penas dapibulum orna. Urnaultrices quis curabitur phasellentesque.</p>
        </li>
        <li class="last"><img src="images/demo/100x100.gif" alt="" />
          <p><strong><a href="#">Indonectetus facilis leo.</a></strong> Nullamlacus dui ipsum cons eque loborttis non euis que morbi penas dapibulum orna. Urnaultrices quis curabitur phasellentesque.</p>
        </li>
      </ul>
    </div>

 

This is the CSS for this:

/* ----------------------------------------------Column-------------------------------------*/

.column{
display:block;
float:right;
width:300px;
}

.column .holder, .column #featured{
display:block;
width:300px;
margin-bottom:20px;
}

.column .holder h2.title{
display:block;
width:100%;
height:65px;
margin:0;
padding:15px 0 0 0;
font-size:20px;
line-height:normal;
border-bottom:1px dotted #999999;
}

.column .holder h2.title img{
float:left;
margin:-15px 8px 0 0;
padding:5px;
border:1px solid #999999;
}

.column div.imgholder{
display:block;
width:290px;
margin:0 0 10px 0;
padding:4px;
border:1px solid #CCCCCC;
}

.column .holder p.readmore{
display:block;
width:100%;
font-weight:bold;
text-align:right;
line-height:normal;
}

/* Featured Block */

.column #featured ul, .column #featured h2, .column #featured p{
margin:0;
padding:0;
list-style:none;
color:#666666;
background-color:#F9F9F9;
}

.column #featured a{
color:#059BD8;
background-color:#F9F9F9;
}

.column #featured li{
display:block;
width:250px;
margin:0;
padding:20px 25px;
color:#666666;
background-color:#F9F9F9;
}

.column #featured li p.imgholder{
display:block;
width:240px;
height:90px;
margin:20px 0 15px 0;
padding:4px;
border:1px solid #CCCCCC;
}

.column #featured li h2{
margin:0;
padding:0 0 8px 0;
font-weight:normal;
font-family:Calibri, Arial, Helvetica, Verdana, "Vera Sans", sans-serif;
line-height:normal;
border-bottom:1px dotted #999999;
}

.column #featured p.readmore{
display:block;
width:100%;
margin-top:15px;
font-weight:bold;
text-align:right;
line-height:normal;
}

.column .latestnews{
display:block;
width:100%;
margin:0;
padding:0;
list-style:none;
}

.column .latestnews li{
display:block;
width:100%;
height:99px;
margin:0 0 11px 0;
padding:0 0 21px 0;
border-bottom:1px dotted #C7C5C8;
overflow:hidden;
}

.column .latestnews li.last{
margin-bottom:0;
}

.column .latestnews p{
display:inline;
}

.column .latestnews img{
float:left;
margin:0 10px 0 0;
padding:4px;
border:1px solid #C7C5C8;
clear:left;
}

 

Any ideias how to do it?

 

Regards

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.