1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do i fix this?

Discussion in 'BlackHat Lounge' started by FIREBOSS, Dec 14, 2015.

  1. FIREBOSS

    FIREBOSS Power Member

    Joined:
    Aug 21, 2014
    Messages:
    588
    Likes Received:
    144
    Occupation:
    Network Admin
    Location:
    Everywhere
    I'm setting up some HTML site and i added this image to gallery (already on).but when i add it it's getting out of range.How do u fix this.

    [​IMG]

    Code:
    <h4>Commodities</h4>            <div class="img">
                    <a target="_blank" href="#"><img src="http://www.blackhatworld.com/blackhat-seo/images/Commodities/Rice.jpg" alt="Rice" width="110" height="90"></a>
                    <div class="desc">Rice</div>
                </div><div class="img">
                    <a target="_blank" href="#"><img src="http://www.blackhatworld.com/blackhat-seo/images/Commodities/sagoseeds.jpg" alt="sagoseeds" width="110" height="90"></a>
                    <div class="desc">Sago Seeds</div>
                </div><div class="img">
                    <a target="_blank" href="#"><img src="http://www.blackhatworld.com/blackhat-seo/images/Commodities/onions.jpg" alt="onions" width="110" height="90"></a>
                    <div class="desc">Onion</div>
                </div><div class="img">
                    <a target="_blank" href="#"><img src="http://www.blackhatworld.com/blackhat-seo/images/Commodities/Potato.jpg" alt="Potato" width="110" height="90"></a>
                    <div class="desc">Potatoes</div>
                </div><div class="img">
                    <a target="_blank" href="#"><img src="http://www.blackhatworld.com/blackhat-seo/images/Commodities/Garlic.jpg" alt="Garlic" width="110" height="90"></a>
                    <div class="desc">Garlic</div>
                            </div><div class="img">
                    <a target="_blank" href="#"><img src="http://www.blackhatworld.com/blackhat-seo/images/Commodities/sugar.jpg" alt="Sugar" width="110" height="90"></a>
                    <div class="desc">Sugar</div>
                            </div><div class="img">
                    <a target="_blank" href="#"><img src="http://www.blackhatworld.com/blackhat-seo/images/Commodities/greenpeas.jpg" alt="Green peas" width="110" height="90"></a>
                    <div class="desc">Green peas</div>
    
    
    
    
    
    
                </div><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
            <h4 style=" background:#bbbbbb;"><br />Spices<br /></h4>
            <div class="img">
                    <a target="_blank" href="#"><img src="http://www.blackhatworld.com/blackhat-seo/images/Spices/CorianderSeeds.jpg" alt="CorianderSeeds" width="110" height="90"></a>
                    <div class="desc">Coriander Seeds</div>
                </div>
    * If this is not right place to post please delete or move
    I'm sorry
     
  2. Twixx

    Twixx Supreme Member

    Joined:
    Sep 18, 2012
    Messages:
    1,245
    Likes Received:
    1,317
    Try

    Code:
     <br style="clear: both;" /> 
    after the green peas div.
     
  3. Conor

    Conor Jr. VIP Jr. VIP

    Joined:
    Nov 7, 2012
    Messages:
    3,549
    Likes Received:
    5,863
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    Those <br /> tags hurt my eyes.

    But yes, a "clear: both" attribute should do the trick for you.
     
  4. FIREBOSS

    FIREBOSS Power Member

    Joined:
    Aug 21, 2014
    Messages:
    588
    Likes Received:
    144
    Occupation:
    Network Admin
    Location:
    Everywhere
    [​IMG]

    Like this?
    But still same nothing change
     
  5. HoneyHelper

    HoneyHelper Supreme Member

    Joined:
    Jun 29, 2015
    Messages:
    1,474
    Likes Received:
    388
    Download NVU html editor. You can drag and drop that thing at the right place using the software!
     
  6. FIREBOSS

    FIREBOSS Power Member

    Joined:
    Aug 21, 2014
    Messages:
    588
    Likes Received:
    144
    Occupation:
    Network Admin
    Location:
    Everywhere
    Done.but i want to edit files on sever