Adriatic Posted October 27, 2010 Share Posted October 27, 2010 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. Quote Link to comment Share on other sites More sharing options...
hyster Posted October 27, 2010 Share Posted October 27, 2010 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. Quote Link to comment Share on other sites More sharing options...
MPeter Posted October 30, 2010 Share Posted October 30, 2010 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 Quote Link to comment Share on other sites More sharing options...
Liamsorsby Posted November 4, 2010 Share Posted November 4, 2010 You could try using the float attribute in your CSS for your images Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.