angel777 Posted May 1, 2008 Share Posted May 1, 2008 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 Link to comment https://forums.phpfreaks.com/topic/103705-how-to-put-a-picture-in-css-frame/ Share on other sites More sharing options...
allistera Posted May 1, 2008 Share Posted May 1, 2008 I can't really see what your talking about, but if its the "Live demo" "download now" etc buttons, there and image: http://www.joomlashack.com/templates/js_joomlashack/images/user_buttons.png Link to comment https://forums.phpfreaks.com/topic/103705-how-to-put-a-picture-in-css-frame/#findComment-531325 Share on other sites More sharing options...
TheFilmGod Posted May 2, 2008 Share Posted May 2, 2008 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; Link to comment https://forums.phpfreaks.com/topic/103705-how-to-put-a-picture-in-css-frame/#findComment-531381 Share on other sites More sharing options...
angel777 Posted May 7, 2008 Author Share Posted May 7, 2008 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 Link to comment https://forums.phpfreaks.com/topic/103705-how-to-put-a-picture-in-css-frame/#findComment-535116 Share on other sites More sharing options...
TheFilmGod Posted May 7, 2008 Share Posted May 7, 2008 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; } Link to comment https://forums.phpfreaks.com/topic/103705-how-to-put-a-picture-in-css-frame/#findComment-535566 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.