-1

Hello,

Cek this site: www.advance-web-studio.com

There is a white space underneath it that I do not know where it comes from.

this is my index.php

 <b>Latest Projects:</b><br><br>

    <div>
      <a href="<?php echo base_url() ?>public/images/large pic8.jpg" title="Ecommerce - Vitoshop"><img src="<?php echo base_url() ?>public/images/large pic8.jpg" width="200px" height="180px" alt="turntable"></a>

      <a href="<?php echo base_url() ?>public/images/large pic7.jpg" title="Company Profile - Masterlink"><img src="<?php echo base_url() ?>public/images/large pic7.jpg" width="200px" height="180px" alt="turntable"></a>

      <a href="<?php echo base_url() ?>public/images/large pic6.jpg" title="Company Profile - Pureline"><img src="<?php echo base_url() ?>public/images/large pic6.jpg" width="200px" height="180px" alt="DIY Robot Kit"></a>

      <a href="<?php echo base_url() ?>public/images/large pic5.jpg" title="Company Profile - GSA"><img src="<?php echo base_url() ?>public/images/large pic5.jpg" width="200px" height="180px" alt="Todly"></a>

      <a href="<?php echo base_url() ?>public/images/large pic4.jpg" title="Company Profile - SKAP"><img src="<?php echo base_url() ?>public/images/large pic4.jpg" width="200px" height="180px" alt="legend of zelda tea party"></a>
    </div>
  </div>

  <div class="container-fluid">
    <?php include 'template/footer.php'; ?>
  </div>
</body>
<?php include 'template/script.php'; ?>
 </html>

How to delete the white space?

3
Contributors
4
Replies
44
Views
1 Month
Discussion Span
Last Post by hnrindani
-2

I finally get rid of the white space by deleting the </body> and </html> which is a little bit strange.

Why do I have to do that to delete the white space?

0

I don't understand why I get a down vote for this? I only copy my other page codes that works but do not understand the reason why.

0

Do not include any outside of <head></head> and <body></body> check line 20 in your code sample

0

When you have something outside the <body></body> tag, it will not give result and thus gives you white space. Include everything into that.

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.