How do I set a clear style so that the image is only displayed when the.....

Discussion in 'HTML & Website Design' started by Jason1988, Jun 13, 2011.

  1. #1
    How do I set a clear style so that the image is only displayed when the right margin is clear of other floating images?
     
    Jason1988, Jun 13, 2011 IP
  2. xira

    xira Active Member

    Messages:
    315
    Likes Received:
    8
    Best Answers:
    4
    Trophy Points:
    68
    #2
    Using php, .net or cold fusion you can set up a conditional statement, if(no images){then post my photo}
    There isn't anything you do in CSS on it's own. If you're using a CMS like wordpress or drupal, it's easy enough to do in php.
    If you're interested in the code, PM me.
     
    xira, Jun 14, 2011 IP
  3. Jason1988

    Jason1988 Well-Known Member

    Messages:
    527
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    125
    #3
    How can I do this in html/css? This is for a website that is being made in html.
     
    Jason1988, Jun 14, 2011 IP