Need Advice on website design

Discussion in 'HTML & Website Design' started by akshaykalia, Oct 29, 2010.

  1. #1
    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
     

    Attached Files:

    akshaykalia, Oct 29, 2010 IP
  2. webrec

    webrec Member

    Messages:
    146
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #2
    <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
     
    webrec, Oct 29, 2010 IP
  3. tommyboy9810

    tommyboy9810 Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can fill the blank area by some design defining your site theme.
     
    tommyboy9810, Oct 29, 2010 IP
  4. lukefowell89

    lukefowell89 Peon

    Messages:
    182
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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
     
    lukefowell89, Oct 29, 2010 IP
  5. spy100

    spy100 Well-Known Member

    Messages:
    689
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    108
    #5
    the html part

    the css part

    i hope it works for you
     
    spy100, Oct 30, 2010 IP