อยากให้ footer1.php แสดงผลเหมือนเดิม แม้จะถูก include เข้ามา ใน index.php แบบนี้... ไม่ใช่แบบนี้ clear both ก็ไม้ได้นะลองเเล้วอ่ะ
หน้า index.php
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
h3 {
font-size: 60px;
color: red;
}
</style>
<h3>หน้าหลัก</h3>
<?php include('footer1.php');?>
ไฟล์ที่ include มา (footer1.php)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div style="color: green;font-size: 20px;">ข้อความที่1</div>
<h3>ข้อความที่2</h3>