เรื่องนี้ยาวไม่จบง่ายๆ แน่ css

เริ่มโดย GTA, 10 สิงหาคม 2012, 13:10:28

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

GTA

 :'( ได้โปรดช่วยหน่อย  :P

#header {
   
   border:#999 1px solid;
   border-bottom:none;
   background-color:#FFF;
   width:960px;
}

แสดงใน chrom ออกหมด เส้นขอบ ความกว้าง แต่แสดงใน ie ไม่มีเส้นขอบเลย ได้โปรด

css สำหรับ ie เขียนยังไง  :-X

smapan

#header {
   
   border-top:#999 1px solid;
   border-left:#999 1px solid;
   border-right:#999 1px solid;
   border-bottom:none;
   background-color:#FFF;
   width:960px;
}
[direct=http://cp.siamhostweb.com/cart.php?gid=1]จูมล่าโฮส สยามโฮสเว็บ[/direct] [direct=http://www.modty.com]modty.com[/direct]
[direct=http://www.apartment.in.th]รวมที่พัก เช่ารายวัน ที่พักเช่ารายเดือนมากที่สุดแจ่มจริง[/direct]
***Tel 083-757-1515 ติดปัญหา Joomla ตรงไหนรับปรึกษาฟรี โทรมาเถอะครับ ถ้าตอบได้ช่วยแน่นอน ไม่มีกั้ก. ***

GTA

อ้างถึงจาก: smapan ใน 10 สิงหาคม 2012, 13:12:09
#header {
   
   border-top:#999 1px solid;
   border-left:#999 1px solid;
   border-right:#999 1px solid;
   border-bottom:none;
   background-color:#FFF;
   width:960px;
}

มันไม่แสดง ออก ie อะคับ แสดงออก แต่ chrom ครับ อยากให้แสดง ออก ie ครับ :'(

GTA

คือมันแสดงไม่เหมือนกันครับต้องทำยังไง  :'(

try2hack

IE เข้าเลิกใช้กันแล้วครับ ถึงแม่ว่าหลายๆๆคนยังใช้อยู่  :wanwan015:
[direct= *Link Removed* ]เมเปิ้ลเถื่อน[/direct]

GTA

อ้างถึงจาก: try2hack ใน 10 สิงหาคม 2012, 13:18:56
IE เข้าเลิกใช้กันแล้วครับ ถึงแม่ว่าหลายๆๆคนยังใช้อยู่  :wanwan015:

:P เพราะหลายๆๆ คนยังใช้อยู่ นี้แหละ ทำให้ปวดหัว  :'(

GTA


xvlnw.com

#7
ผมไม่รู้นะครับว่า จขหท. ใช้ IE เวอชั่นไร แต่ผมใช้ 9 ครับ





แก้ไข:
เพิ่มโค๊ดให้ครับ ใช้โค๊ดเดิม ๆ ของ จขกท. เลยครับ

<style>
#header {
   
   border:#999 1px solid;
   border-bottom:none;
   background-color:#FFF;
   width:960px;
}
</style>
<div id="header"></div>
[direct=https://cloudhost.in.th/wordpress-hosting]ツ ⓌⓄⓇⒹⓅⓇⒺⓈⓈ ⒽⓄⓈⓉⒾⓃⒼ [/direct] :wanwan014:  :D
[direct=https://cloudhost.in.th/cloudhosting.html]Cloud Hosting[/direct] [direct=https://cloudhost.in.th/cloudvps.html]Cloud Server[/direct] [direct=https://cloudhost.in.th/vpshosting.html]Cloud VPS Hosting[/direct] [direct=https://cloudhost.in.th/windowsvps.html]Cloud Windows[/direct] Tel: 080-348-0843 LINE: ixvlnw

longdoodi

IE ลองแบบนี้ครับ


#header {
   
   border:#999999 1px solid;
   border-bottom:none;
   background-color:#FFF;
   width:960px;
}


ใช้เลขค่าสี 6 ตัว

ossytong

มันไม่ใช่รูปแบบจะต้อง

border-top:1px solid #999;

หรอกหรอ อันนี้ผมก็ งงๆ หรือว่ามันวางได้หลายแบบ ???

ru

มันใช้แบบนี้รึเปล่าครับ

border : 1px solid #999;

GTA

<title>Untitled Document</title>
<link href="css/slide2.css" rel="stylesheet" type="text/css"  />
</head>

<body>
<div id="header">dddddddddddddddddddddddddddddddd</div>
</body>
</html>

หรือตรงนี้เขียนผิดป่าวครับ ทั้ง firefox ie9 ก็ไม่แสดง  :'(
เอาไงดีครับ :-X

GTA

แสดงออกแต่ค่าย พี่ google ออกหมดทุกอย่าง  :'(

ซากุระไฮเปอร์



โค๊ดนี้นะคะ

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
   #header {
   
   border:#999 1px solid;
   border-bottom:none;
   background-color:#FFF;
   width:960px;
}
-->
</style>
</head>

<body>
<div id="header">test</div>
</body>
</html>
มีแฟนเป็นโปรแกรมเม่อร์ ชีวิตคงง่ายขึ้น T^T // Ps. รูปโปรตัวจริงค่ะ แต่ผ่านมาหลาย app

GTA

อ้างถึงจาก: xvlnw.com ใน 10 สิงหาคม 2012, 13:26:32
ผมไม่รู้นะครับว่า จขหท. ใช้ IE เวอชั่นไร แต่ผมใช้ 9 ครับ





แก้ไข:
เพิ่มโค๊ดให้ครับ ใช้โค๊ดเดิม ๆ ของ จขกท. เลยครับ

<style>
#header {
   
   border:#999 1px solid;
   border-bottom:none;
   background-color:#FFF;
   width:960px;
}
</style>
<div id="header"></div>


อันนี้ออกแล้วครับเส้นออก แล้ว
แล้วถ้าแยก แล้วตั้งชื่อ slide2.css
เขียนใน css

@charset "uft-8";
   #header {

   border : 1px solid #999;
   border-bottom : none;
   background-color : #FFF;
   width : 960px;
}
ไปใส่ใน ใต้ title ถูกไหมครับคือ แยก css ต่างหาก กับ html
<link href="css/slide.css" rel="stylesheet" type="text/css" />

xvlnw.com

อ้างถึงจาก: GTA ใน 10 สิงหาคม 2012, 13:50:21
อ้างถึงจาก: xvlnw.com ใน 10 สิงหาคม 2012, 13:26:32
ผมไม่รู้นะครับว่า จขหท. ใช้ IE เวอชั่นไร แต่ผมใช้ 9 ครับ





แก้ไข:
เพิ่มโค๊ดให้ครับ ใช้โค๊ดเดิม ๆ ของ จขกท. เลยครับ

<style>
#header {
   
   border:#999 1px solid;
   border-bottom:none;
   background-color:#FFF;
   width:960px;
}
</style>
<div id="header"></div>


อันนี้ออกแล้วครับเส้นออก แล้ว
แล้วถ้าแยก แล้วตั้งชื่อ slide2.css
เขียนใน css

@charset "uft-8";
   #header {

   border : 1px solid #999;
   border-bottom : none;
   background-color : #FFF;
   width : 960px;
}
ไปใส่ใน ใต้ title ถูกไหมครับคือ แยก css ต่างหาก กับ html
<link href="css/slide.css" rel="stylesheet" type="text/css" />

ถ้าทำแบบนี้ไม่ได้ แสดงว่าเรียก path ผิดครับ
href="hxxp://www.domain.com/css/slide.css"

** แก้ hxxp --> http
[direct=https://cloudhost.in.th/wordpress-hosting]ツ ⓌⓄⓇⒹⓅⓇⒺⓈⓈ ⒽⓄⓈⓉⒾⓃⒼ [/direct] :wanwan014:  :D
[direct=https://cloudhost.in.th/cloudhosting.html]Cloud Hosting[/direct] [direct=https://cloudhost.in.th/cloudvps.html]Cloud Server[/direct] [direct=https://cloudhost.in.th/vpshosting.html]Cloud VPS Hosting[/direct] [direct=https://cloudhost.in.th/windowsvps.html]Cloud Windows[/direct] Tel: 080-348-0843 LINE: ixvlnw

GTA