  | 
              
	              
	                
  
    
	 
        แทรกโค้ด javascript แล้วเส้นตารางหาย ฟอแมทไม่เหมือนเดิม     | 
   
  
    |   | 
   
 
 
 
              
  
          
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 เอา js script มาดูก่อนครับ                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2013-05-17 16:21:40 | 
                        By :
                            Alone21st | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 Code (PHP) 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Author" content="Stu Nicholls" />
<link href="menu/css/reset.css" rel="stylesheet" type="text/css"/>
<!--<link href="menu/css/960.css" rel="stylesheet" type="text/css"/> -->
<link href="menu/css/coolMenu.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="menu/js/modernizr-1.6.min.js"></script>
</head>
<body>
<center>
<table width="1024" border="1" cellpadding="0" cellspacing="0" align="center" style="background:#2f8be8">
<tr >
<td align="center"><img src="image/logo.png"  width="1024" /></td>
</tr>
<tr>
<td bgcolor="#0066CC">
	<div class="container_16">
		<ul id="coolMenu">
			<li><a href="">     หน้าหลัก   </a></li>
			<li><a href="user_profile.php">   ข้อมูลส่วนตัว   </a></li>
			<li><a href="#">  สร้างใบลา      </a>
				<ul class="noJS">
					<li><a href="L_form_add.php">ลาป่วย ลากิจ</a></li>
					<li><a href="#">ลาพักร้อน</a></li>
				</ul>
			</li>
			<li><a href="user_home.php">   สถิติและประวัติการลา   </a></li>
            <li><a href="#">   อนุมัติผู้ใต้บังคับบัญชา   </a></li>
			<li><a href="#">  ออกจากระบบ  </a></li>
		</ul>
	</div>
</td>
</tr>
</table>
</center>
</body>
</html>
 
 
อันนี้ครับเป็นหน้าของตัวเมนูข้างบน                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2013-05-17 16:26:35 | 
                        By :
                            pungpoo | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 เพราะพวกไฟล์ css ที่โหลดเข้ามามันไป reset เส้นตารางครับ 
ดังนั้นให้กำหนด css ของ tag <td> และ <th> เอง โดยทำเป็น class ก็ได้ครับ 
 
เช่น 
<style>
table.my-grid td, table.my-grid th {
    border: black solid 1px;
}
</style>
                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2013-05-17 17:09:31 | 
                        By :
                            cookiephp | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 Code (PHP) 
/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}
nav ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}
 
 
น่าจะมาจากตัวนี้ จะปรับแก้ตรงไหนได้บ้างครับ                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2013-05-17 17:24:18 | 
                        By :
                            pungpoo | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 ไม่แนะนำให้แก้ตัว reset.css ครับ 
แต่ให้เพิ่ม style แยกเป็นเอกเทศต่างหาก (ไม่ว่าจะเป็นไฟล์ใหม่ หรือแทรกเป็น tag style ก็แล้วแต่) 
ส่วนเนื้อหาอื่น ตามคุณ cookiephp เลยครับ                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2013-05-17 18:51:08 | 
                        By :
                            itpcc | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
      		  
	
     | 
   
 
                 |