Hi, I am trying to make a webpage in ASP.NET. It contains an article which has one pic alongside. All the content on webpage is dynamic ( retreived from a database). Now i want to display the article to look something like the image i hav uploaded along. The body of article should cover the width of page after image is over. At the moment, i have the content and image in two different div tags floating alongsige. But this way, page has lotsa empty space below the image. Any suggestions please Thanks in Advance
<img src="whatever.gif" align="right"> text text more text more text still blah blah blah blah blah and so on and so forth in your CSS file, change your margins/padding for the correct settings for that image img { margin-left:20px; margin-bottom:20px; padding:20px; } Or whatever it is you are looking for as far as your margins/padding goes
You dont need to do that, you just put your text in a div <div class="text"> <div style="float: right; margin-left: 20px; margin-bottom: 20px;"><img src="..." /> blah blah blah text here here </div> That simple