Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > PHP > PHP Forum > รบกวนสอบถามCSS กับ google chrome ว่ามันต้องใช้แบบไหนถึงจะแสดงผล



 

รบกวนสอบถามCSS กับ google chrome ว่ามันต้องใช้แบบไหนถึงจะแสดงผล

 



Topic : 099189



โพสกระทู้ ( 55 )
บทความ ( 0 )



สถานะออฟไลน์




รบกวนสอบถามCSS กับ google chrome ว่ามันต้องใช้แบบไหนถึงจะแสดงผล
Code (PHP)
@charset "windows-874";
/*ให้ใช้ font ตามรายการข้างล่างในทุกตัวอักษรที่แสดงในเว็บเพจ */
* {
	font-family: tahoma, "ms Sans Serif", Verdana, loma;
}
body {
	margin: 0px;
	padding: 0px;
	background-color: #FFFFFF;
}
/*กำหนดส่วนแสดงภาพและสัญลักษณ์ด้านบนสุดของเว็บเพจ */
#head {
	background-image: url(../images/head.png);
	background-repeat: no-repeat;
	clear: both;
	height: 280px;
	width: 980px;
	border: 2px solid #FFFFFF;

	border-radius: 5px 6px 0px 0px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
#slide {
	height: 280px;
	width: 980px;
	background-repeat: no-repeat;
	clear: both;

}
#menu {

	background-repeat: no-repeat;
	clear: both;
	height: 50px;
	width: 980px;
	border: 2px solid #FFFFFF;
}
#containner #main #right {
	float: right;
	width: 350px;
	
}

#containner {
	width: 980px;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #3366FF;
	text-align: left;
	
	
}
#containner #main {
	background--color: #FFFFFF;
	float: left;
	width: 980px;
	background-color: #FFFFFF;
	background-repeat: repeat-y;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
/*กำหนดตำแหน่ง และขนาดของพื้นที่แสดงผลทางซ้ายมือ */
#containner #main #left {
	float: left;
	width: 230px;
	margin:0px;
	padding:0px;
}

/*กำหนดการแสดงผลของ navigation*/
#containner #main #left #navigation {
	width: 230px;
	margin:0px;
	padding:0px;
	float: left;
}
/*แสดงผลรายการหัวข้อที่อยู่ใน h1 ด้วยพื้นหลังสีเหลือง */
#containner #main #left #navigation h1.yellow {
	height: 18px;
	width: 205px;
	margin-top:0px;
	margin-bottom:5px;
	position: relative;
	left: 5px;
	top: 5px;
	background-image: url(../images/yellow.jpg);
	padding: 5px;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: bold;
	display: block;
}
/*แสดงผลรายการหัวข้อที่อยู่ใน h1 ด้วยพื้นหลังสีฟ้า */
#containner #main #left #navigation h1.blue {
	height: 18px;
	width: 205px;
	margin-top:0px;
	margin-bottom:5px;
	position: relative;
	left: 5px;
	top: 5px;
	background-image: url(../images/blue.jpg);
	padding: 5px;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: bold;
	display: block;
}
/*แสดงผลรายการหัวข้อที่อยู่ใน h1 ด้วยพื้นหลังสีเขียว */
#containner #main #left #navigation h1.green {
	height: 18px;
	width: 205px;
	margin-top:0px;
	margin-bottom:5px;
	position: relative;
	left: 5px;
	top: 5px;
	background-image: url(../images/green.jpg);
	padding: 5px;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: bold;
	display: block;
}
/*แสดงผลรายการหัวข้อที่อยู่ใน h1 ด้วยพื้นหลังสีแดง */
#containner #main #left #navigation h1.red {
	height: 18px;
	width: 205px;
	margin-top:0px;
	margin-bottom:5px;
	position: relative;
	left: 5px;
	top: 5px;
	background-image: url(../images/red.jpg);
	padding: 5px;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: bold;
	display: block;
}
/*แสดงรายการที่ตามหลังหัวข้อหลักที่อยู่ใน UL */
#containner #main #left #navigation ul {
	padding:0px;
	margin-left:28px;
	margin-top:5px;
	position:relative;
	list-style-image: url(../images/arrow.gif);
}
#containner #main #left #navigation  li {
	font-size: 13px;
	line-height:20px;
	list-style-type: none;
}
#containner #main #left #navigation  li  a{
	font-size: 13px;
	line-height:20px;
	text-decoration:none;
	color:#000000;
}

/*แสดงรายการที่อยู่ทางขวามือทั้งหมด */
#containner #main #right {
	float: right;
	width: 740px;
}

/*สร้างกล่องล้อมรอบรายละเีอียด */
#containner #main #right #content {
	background-color: #FFFEE9;
	clear: both;
	width: 540px;
	border: 2px solid #F9E0BD;
	text-align: left;
	margin: 10px;
	position: relative;
}
/*แสดงผลหัวข้อของเนื้อหาสีเขียว*/
#containner #main #right #content.green h1 {
	font-size: 15px;
	color: #60A248;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #60A248;
	margin: 5px;
	height: 40px;
	width: 450px;
	padding-left: 5px;
}
/*แสดงผลหัวข้อของเนื้อหาสีพ้า*/
#containner #main #right #content.blue h1 {
	font-size: 15px;
	color: #056ED7;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #056ED7;
	margin: 5px;
	height: 40px;
	width: 450px;
	padding-left: 5px;
}
/*แสดงผลชื่อผู้แต่ง*/
#containner #main #right #content #authors {
	font-size: 12px;
	color: #000000;
	position: absolute;
	margin:0px;
	padding:0px;
	top: 24px;
	left:-8px;
}

/*แสดงผลวันที่สีเขียว*/
#containner #main #right #content.green #date  {
	color: #FFFFFF;
	background-color: #60A248;
	margin: 0px;
	padding-top: 10px;
	padding-bottom:10px;
	height: 10px;
	width: 100px;
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 12px;
	
	
	text-align: center;
}
/*แสดงผลวันที่สีพ้า*/
#containner #main #right #content.blue #date  {
	color: #FFFFFF;
	background-color: #056ED7;
	margin: 0px;
	padding-top: 10px;
	padding-bottom:10px;
	height: 10px;
	width: 100px;
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}
/*แสดงผลส่วนของเนื้อหา*/
#containner #main #right #content #story {
	font-size: 14px;
	line-height:20px;
	text-indent: 5px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 40px;
	margin-left: 5px;
}
/*แสดงผลปุ่ม อ่านเนื้อหาเพิ่มเติม สีเขียว */
#containner #main #right #content.green #more {
	color: #FFFFFF;
	background-color: #60A248;
	margin: 0px;
	padding-top: 5px;
	padding-bottom:5px;
	height: 15px;
	width: 150px;
	position: absolute;
	bottom: 8px;
	right: 5px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}
#containner #main #right #content.green #more a {
	color: #FFFFFF;
	text-decoration:none;
}
/*แสดงผลปุ่ม อ่านเนื้อหาเพิ่มเติม สีฟ้า */
#containner #main #right #content.blue #more {
	color: #FFFFFF;
	background-color: #056ED7;
	margin: 0px;
	padding-top: 5px;
	padding-bottom:5px;
	height: 15px;
	width: 150px;
	position: absolute;
	bottom: 8px;
	right: 5px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}
#containner #main #right #content.blue #more a{
	color: #FFFFFF;
	text-decoration:none;
}

/*center */
#containner #main #center {
	float: left;
	width: 980px;
}

/*สร้างกล่องล้อมรอบรายละเีอียด */
#containner #main #center #content {
	background-color: #FFFFFF;
	float: left;
	clear: both;
	width: 460px;
	
	border-radius: 5px 6px 5px 6px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
	text-align: left;
	margin: 10px;
	position: relative;
}
#containner #main #center #content-right {
	background-color: #FFFEE9;
	float: right;
	clear: both;
	width: 450px;
	border: 2px solid #F9E0BD;
	text-align: left;
	margin: 10\px;
	position: relative;
}
/*แสดงผลหัวข้อของเนื้อหาสีเขียว*/
#containner #main #center #content.green h1 {
	font-size: 15px;
	color: #60A248;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #60A248;
	margin: 5px;
	height: 40px;
	width: 450px;
	padding-left: 5px;
}
/*แสดงผลหัวข้อของเนื้อหาสีพ้า*/
#containner #main #center #content.blue h1 {
	font-size: 15px;
	color: #056ED7;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #056ED7;
	margin: 5px;
	height: 40px;
	width: 450px;
	padding-left: 5px;
}
/*แสดงผลชื่อผู้แต่ง*/
#containner #main #center #content #authors {
	font-size: 12px;
	color: #000000;
	position: absolute;
	margin:0px;
	padding:0px;
	top: 24px;
	left:-8px;
}

/*แสดงผลวันที่สีเขียว*/
#containner #main #center #content.green #date  {
	color: #FFFFFF;
	background-image: url(../images/bar.png);
	margin: 0px;
	padding-top: 10px;
	padding-bottom:10px;
	height: 22px;
	width: 200px;
	position: absolute;
	top: -10px;
	left: -6px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}
/*แสดงผลวันที่สีพ้า*/
#containner #main #center #content.blue #date  {
	color: #FFFFFF;
	background-color: #056ED7;
	margin: 0px;
	padding-top: 10px;
	padding-bottom:10px;
	height: 10px;
	width: 100px;
	position: absolute;
	top: 5px;
	left: 5px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}
/*แสดงผลส่วนของเนื้อหา*/
#containner #main #center #content #story {
	font-size: 14px;
	line-height:20px;
	text-indent: 5px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 40px;
	margin-left: 5px;
}
/*แสดงผลปุ่ม อ่านเนื้อหาเพิ่มเติม สีเขียว */
#containner #main #center #content.green #more {
	color: #FFFFFF;
	margin: 0px;
	padding-top: 5px;
	padding-bottom:5px;
	height: 18px;
	width: 55px;
	position: absolute;
	bottom: 8px;
	right: 5px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}
#containner #main #center #content.green #more a {
	color: #FFFFFF;
	text-decoration:none;
}
/*แสดงผลปุ่ม อ่านเนื้อหาเพิ่มเติม สีฟ้า */
#containner #main #center #content.blue #more {
	color: #FFFFFF;
	background-color: #056ED7;
	margin: 0px;
	padding-top: 5px;
	padding-bottom:5px;
	height: 15px;
	width: 150px;
	position: absolute;
	bottom: 8px;
	right: 5px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}
#containner #main #center #content.blue #more a{
	color: #FFFFFF;
	text-decoration:none;
}
/* *end/
/*แสดงผลส่วนล่างสุดของเว็บเพจ*/
#footer {
	background-color: #FFFFFF;
	clear: both;
	width: 980px;
		border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #3366FF;
	margin-top: 5px;
	
	border-radius: 0px 0px 5px 6px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
#footer p {
	font-size: 10px;
	color: #6B6139;
	margin-top : 5px;
	margin-left:10px;
	padding: 0px;
	float: left;
	text-align: left;
	
}
#footer ul {
	padding:0px;
	margin:0px;
	font-size: 14px;
	font-weight: bold;
	color: #6B6139;
	float: right;
	list-style-type: none;
	width:600px;
	position:relative;
}
#footer li {
	position:relative;
	top:10px;
	float: left;
	left: 20px;
}
#footer li a{
	color: #6B6139;
	text-decoration:none;
}
#righ{
	float: right;
	width: 480px;
	
}
#lef{
	float: left;
	width: 480px;
	
}
.box{
	width: 137px; 
	height: 200px;
	padding: 3px;
	background-color: #FFFFFF;
	margin: 5px;
	float: left;
	margin-bottom: 20px;
}
.sha{
    -webkit-box-shadow: 0px 0px 18px rgba(50, 50, 50, 0.31);
    -moz-box-shadow:    0px 0px 10px rgba(50, 50, 50, 0.31);
    box-shadow:         0px 0px 5px rgba(50, 50, 50, 0.31);
	
}

มีตรงจุด
head
#containner#main
footer
#containner#main#center#content
ที่มันไม่แสดงอ่ะครับ
ขอบคุณครับ




Tag : PHP, HTML/CSS







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2013-08-16 15:46:39 By : ruud View : 797 Reply : 1
 

 

No. 1



โพสกระทู้ ( 3,843 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์
Twitter Facebook

ผมขอถามกลับนิดนึงน่ะครับ
คุณเข้าใจวิธีการใช้ หรือวิธีการทำงานของบรรทัดข้างล่างยังไงครับ
#containner #main #center #content{.....}






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-08-16 16:25:41 By : mangkunzo
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : รบกวนสอบถามCSS กับ google chrome ว่ามันต้องใช้แบบไหนถึงจะแสดงผล
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 04
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่