Jump to content

need help with images lining


Adriatic

Recommended Posts

i have a problem, im trying to have these stars in this picture in the same row as the text

(Overall rating then the yellow stars should go)

http://img41.imageshack.us/img41/5981/imagewontinline.jpg

 

but for some reason stars (or any other image i try) go a row above the place where they should be and im looking for any help possible to fix this.

 

 

Link to comment
Share on other sites

posting the code helps big time as u might have probs with what u have written.

 

try something like this.

 

<body>
hello<img src="/logo.png" width="100" height="20" />
</body>

 

make sure there is no "white" space under the image as it will push the image high than what u want.

Link to comment
Share on other sites

but for some reason stars (or any other image i try) go a row above the place where they should be and im looking for any help possible to fix this.

Try this here:

a) Put a <span>-container around your area

b) Do not allow wrapping via css <span style="white-space:nowrap;">

c) Play with the line-height via css <span style="white-space:nowrap;line-height:5em;">

 

Regards,

 

MPeter

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.