Jump to content

Recommended Posts

hi.. if i have a frame surrounding some text.. how do i put a picture in the css frame without making the frame size getting bigger..

 

like this one

http://www.joomlashack.com/

 

Thanks

 

background image.

background: url(adress...) no-repeat;

ohh. if u put the background.. the picture will appear only inside the css background..mean the picture will not over the css frame ... this has make the frame become bigger - which i don want..

 

i want to put the picture where it look as below

http://www.joomlashack.com/

 

look at the Live demo , download now , get started

the picture is above the css frame..how to do that? thanks

 

 

Download the css and look at it yourself.

 

I persume they made those links as:

 

<ul><li><a href="#">Live Demo</a></li></ul>

 

And then used some css....

 

.link ul {

margin: 0;

padding: 0;

}

.link ul li {

display: block;

width: 150px;

}

.link ul li a {

display: block;

width: 150px;

height: 45px;

background: url(somepicture) no-repeat;

}

.link ul li a:hover {

background: url(somepicture2) no-repeat;

}

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.