TheFilmGod Posted July 23, 2007 Share Posted July 23, 2007 If you ever read TIME magazine, everytime the article would finish, they would put a cool bullet or a small image to show its done. I tried doing this but what happens is the following: text text text content text content text ___ | | text text text content text content text |__| The square thing is the image. You see, it makes a line gap. Instead I would want it to move down and center vertically. What is the best way of doing this? Please note that that image can change location - depending on where the text ends. It won't always finish in the same place. And it has to be right after the text. It can't start a new line by itself. Thanks in advance!! ;D Example here: wwpknights.com/news Quote Link to comment https://forums.phpfreaks.com/topic/61312-news-story-with-image-showing-end/ Share on other sites More sharing options...
AndyB Posted July 23, 2007 Share Posted July 23, 2007 .... blah blah blah <img src="ender.gif" width="10" height="10" alt=""/> Since I don't subscribe to Time, please explain why that isn't the solution. Quote Link to comment https://forums.phpfreaks.com/topic/61312-news-story-with-image-showing-end/#findComment-305079 Share on other sites More sharing options...
TheFilmGod Posted July 24, 2007 Author Share Posted July 24, 2007 please look at my link. That is why I gave you it!! Quote Link to comment https://forums.phpfreaks.com/topic/61312-news-story-with-image-showing-end/#findComment-305841 Share on other sites More sharing options...
ki Posted July 24, 2007 Share Posted July 24, 2007 try <img src="imgpath.ext" style="float: (right or left);"> Quote Link to comment https://forums.phpfreaks.com/topic/61312-news-story-with-image-showing-end/#findComment-305844 Share on other sites More sharing options...
TheFilmGod Posted July 24, 2007 Author Share Posted July 24, 2007 Well thats the not the problem. It can go right after text and work. But it just shifts the text down vertically to create enough space for the image. I was hoping for something to make it vertically align. Here's the link: wwpknights.com/news Do you think its worth taking time and fixing it? I can just leave it? ??? Quote Link to comment https://forums.phpfreaks.com/topic/61312-news-story-with-image-showing-end/#findComment-305918 Share on other sites More sharing options...
ki Posted July 24, 2007 Share Posted July 24, 2007 have you tried vertical-align? Quote Link to comment https://forums.phpfreaks.com/topic/61312-news-story-with-image-showing-end/#findComment-305941 Share on other sites More sharing options...
moberemk Posted July 25, 2007 Share Posted July 25, 2007 Just make the image the same size as the text. And on a side note, maybe you should move that big quote down so that there's at least a paragraph of space between it and the image-it would probably look a lot nicer that way. Quote Link to comment https://forums.phpfreaks.com/topic/61312-news-story-with-image-showing-end/#findComment-307215 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.