Jump to content

img link


fantomel

Recommended Posts

Hello i`m trying to create a link for an image but seems i`m not getting anywhere can someone please help me? i got this code and i can't manage getting the desired result. thank you in advance.

 

<div class="LoginRight">
<div class="IntraInCont">
    	<div class="Usita"></div>
        <div class="UsitaLink">
        	<a href="intra_in_cont.html" alt="Intra in Contul Tau">Intra in contul tau</a>
        </div>
    </div>
    <div class="Inregistrare">
    	<a href="inregistrare.html" alt="Inregistrare">Inregistrare</a>
    </div>
</div>

 

 

CSS:

 

.LoginRight .IntraInCont
{
width: 200px;
height: 100px;
display: inline;
position: absolute;
top: 25px;
}

.LoginRight .IntraInCont .Usita
{
background: url(images/login_06.jpg) right top no-repeat;
width: 18px;
height: 16px;
float: left;
padding-left: 5px;
margin-top: 2px;
}
.LoginRight .IntraInCont .UsitaLink
{
background-image:url(images/login_07.jpg);
text-indent: -9999px;
overflow: hidden;
margin-top: 2px;
margin-left: 23px;
width: 104px;
height: 16px;
}


.LoginRight .Inregistrare
{
background-image: url(images/login_03.jpg);
width: 127px;
height: 36px;
float: right;
margin-top: 20px;
text-indent: -9999px;
display: block;
}

 

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.