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
https://forums.phpfreaks.com/topic/217033-need-help-with-images-lining/
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.

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

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.