Jump to content

simple css question


ohdang888

Recommended Posts

i dont understand why i can't find this online...

 

i have this code

<style type="text/css">

.blah

{

background-image:url('http://theblonk.com/iphone/business/jquery.mobile/images/icons-18-black.png');

background-repeat:no-repeat;

width:16px;

height:16px;

}

</style>

<h1>Hello World!</h1>

<div class="blah"></div>

 

and i want to move the icon set to the left by 16 pixels in order to show a new icon.

 

How do i move that image?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/221576-simple-css-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.