Jump to content

hariskar

Members
  • Posts

    101
  • Joined

  • Last visited

Everything posted by hariskar

  1. Thank you, I made a div element inside p <p><div class="imageiso" style="float:left";</div>text text</p> and in css .imageiso{background:url(http://s.mikroviologos.gr/image/hktheme/sprites2.png) 0 10px no-repeat;} but I can not make the float:left. With <p class="iso">text text</p> the block text is outside the block, there is no block styling, only the title. Also, the padding is for all lines and not only for the lines beside the iso image.Thank you for helping!
  2. Thank you, I have done this for login/logout.But I have difficulties positioning the iso image in the block like it is now. For <p class=iso>text text</p> If I put .iso{background:url(http://static.mikroviologos.eu/image/hktheme/sprites2.png) 0 10px no-repeat;} the image becomes a background of the text. How can I achieve float:left with the sprite?
  3. In my page www.mikroviologos.gr I have made a sprite for some images, but would like to add login.png in this sprite. The problem is that I can not make the login.png from sprite to show in the login/logout block.Here is the code of the block: <img src="http://static.mikroviologos.gr/image/hktheme/login.png" alt="Έξοδος μελών" width="16" height="16" style="margin:0 5px 0 25px;"> <a href="/user/logout">Έξοδος <?php global $user; print $user->name;?></a> Of course I change login.png to sprite1.png, but where should I define the positioning and size of the part of the sprite?Regardless what I do, the whole sprite shows instead of the wanted part.Thank you!
×
×
  • Create New...