PDA

View Full Version : Giúp em HTML với, thiết kế web bằng Dreamweaver 8.


SpeedStar
09-11-2009, 11:12 AM
Em post hình luôn cho dễ hiểu nà.

http://i44.photobucket.com/albums/f7/camhungh/tkw.jpg
http://i44.photobucket.com/albums/f7/camhungh/tkw2.jpg

SpeedStar
09-11-2009, 01:56 PM
Help me, gấp gấp, có ai có kinh nghiệm về cái này ko?tại sao lại bị như vậy?

Aaron
09-11-2009, 08:31 PM
Thêm Margin-top:0px; vào có Box dưới
Còn không quăng cái Sourcecode lên mới biết mà mò

bitmoiso
09-11-2009, 09:53 PM
Vào source code chỗ đó đó coi có thể là có cái này <p>

khigiadano
09-11-2009, 10:22 PM
Sao ko tiện tay chụp luôn cái khi web đang xem
Có quăng code lên đây cũng hay

MrLuyen
09-11-2009, 11:02 PM
- Bạn có chắc là các thẻ table của bạn khít chứ
- Nếu khít thì bạn đưa code lên đây để anh em giúp :khi74:

SpeedStar
10-11-2009, 09:10 PM
Thanks mọi người đã quan tâm. :D
Hum nay mình vào trường thực hành cũng bị ngay trường hợp này vơi trình duyệt FireFox, sau khi hỏi bạn thì bạn thử mở với IE (bản cũ) thì lại ko có. Vè nhà thì mình thử mở với trình duyệt IE bản mới nhất thì vẫn bị :( thử lấy bài tập của bạn để vào vẫn bị, rùi bản thân tự làm 1 bài khác nữa , lần này rất cẩn thận nhưng khi xem vẫn bị. Chắc có lẽ là do trình duyệt nhỉ :-?

Up nguyên đoạn code copy nguyên si từ Dreamweaver cho mọi người xem nè.Phần in đậm là phần mình làm đó, mấy cái còn lại là Dreamweaver nó tự tạo , để vậy cho mọi người dễ nhìn :( Để hum nào thử làm bằng notepad xem có bị vậy ko.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CLB Vietpet</title>
<style type="text/css">
<!--
.style2 {font-size: 1px}
.style3 {font-size: 10px}
.style4 {font-size: 24px}
.style5 {font-size: 18px}
.style6 {color: #A6CE3A}
.style7 {color: #3333FF}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script type="text/javascript" src="stmenu.js"></script></head>

<body bgcolor="#000000" onLoad="MM_preloadImages('image/Copy of Lienhe.JPG','image/Copy of trangchu.JPG','image/Copy of gioithieu.JPG','image/Copy of cuahang.JPG')">
<span class="style6"></span>
<table width="984" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">
<!--DWLayoutTable-->
<tr>
<td width="4" height="250">&nbsp;</td>
<td colspan="6" valign="top"><img src="image/banner3-3.JPG" width="980" height="250"></td>
</tr>

<td height="20">
<td colspan="6" valign="bottom"> <span class="style2"> <span class="style3"> <span class="style4"> <span class="style5">
<span class="style7">
<marquee behavior="scroll" direction="left" bgcolor="#A6CD3E">
Chào mừng các bạn đã ghé thăm CLB Vietpet. Chúc các bạn vui vẻ.
</marquee>
</span> </span> </span> </span> </span>&nbsp;
<tr>
<td height="27">
<td width="198" valign="top" bgcolor="#A6CD3E">
<td width="152" valign="top"> <a href="#"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','image/Copy of trangchu.JPG',1)"><img src="image/trangchu.JPG" name="Image3" width="152" height="27" border="0"></a>
<td width="152" valign="top"> <a href="#"></a> <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','image/Copy of gioithieu.JPG',1)"><img src="image/gioithieu.JPG" name="Image4" width="152" height="27" border="0"></a>
<td width="152" valign="top"> <a href="#"></a> <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','image/Copy of cuahang.JPG',1)"><img src="image/cuahang.JPG" name="Image6" width="152" height="27" border="0"></a>
<td width="152" valign="top"> <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','image/Copy of Lienhe.JPG',1)"><img src="image/Lienhe.JPG" name="Image5" width="152" height="27" border="0"></a>
<td width="174" valign="top" bgcolor="#A6CD3E"> </tr>

<tr>
<td height="134">
<td rowspan="2" valign="top">
<a href="http://www.dhtml-menu-builder.com" style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a>
<script type="text/javascript">
<!--
stm_bm(["menu0a7f",900,"","blank.gif",0,"","",0,0,250,50,1000,1,0,0,"","",0,0,1,1,"default","hand","",1,25],this);
stm_bp("p0",[1,4,0,0,0,2,16,16,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSiz e=1.0,wipeStyle=0,motion=forward,enabled=0,Duratio n=0.20)",6,"",-2,90,0,0,"#7F7F7F","#333333","",3,0,0,"#666666","",0,0,0,"transparent","",3,"",-1,5,0,"#006666","",3,"",-1,-1,0,"transparent","",3,"",-1,5,0,"#006666","",3,"","","","",20,20,20,20,20,20,20,20]);
stm_ai("p0i0",[0,"Vietpet","","",-1,-1,0,"","_self","","","arrowaa.gif","arrowaa.gif",16,16,0,"","",0,0,0,0,1,"#006666",0,"#006666",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFFFFF","#FFFF00","bold 8pt Verdana","bold 8pt Verdana",0,0,"","","","",0,0,0],180,22);
stm_aix("p0i1","p0i0",[0,"Các quy định quốc tế","","",-1,-1,0,"#","_self","","","arrow011.gif","arrow011.gif",7,7,0,"","",0,0,0,0,0,"",1,"#006600",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","8pt Verdana","8pt Verdana"],180,0);
stm_ai("p0i2",[6,2,"#006666","",-1,-1,0]);
stm_aix("p0i3","p0i1",[0,"Phòng truyền thống"],180,0);
stm_aix("p0i4","p0i2",[]);
stm_aix("p0i5","p0i1",[0,"Hoạt động Vietpet","","",-1,-1,0,"#","_self","","","arrow011.gif","arrow011.gif",7,7,0,"arrowaaa.gif","arrowaaa.gif",16,9],180,0);
stm_bpx("p1","p0",[1,2,6,0,0,2,0,0,100,"stEffect(\"slip\")",-2,"",-2,85,0,0,"#7F7F7F","#333333","",3,1,1,"#999999","",-1,-1,0,"#FFFFF7","",3,"",-1,2,0,"#006666","",3,"",-1,-1,0,"#FFFFF7","",3,"",-1,2]);
stm_aix("p1i0","p0i2",[]);
stm_aix("p1i1","p0i0",[0,"Năm 2009","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFFF",1,"#006600",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","8pt Arial","8pt Arial"]);
stm_aix("p1i2","p0i2",[]);
stm_aix("p1i3","p1i1",[0,"Năm 2008"]);
stm_aix("p1i4","p0i2",[]);
stm_ep();
stm_aix("p0i6","p0i2",[]);
stm_aix("p0i7","p0i1",[0,"Huấn luyện - Giáo dục"],180,0);
stm_aix("p0i8","p0i2",[]);
stm_aix("p0i9","p0i5",[0,"Sức khỏe"],180,0);
stm_bp("p2",[1,2,6,0,0,2,0,0,100,"stEffect(\"slip\")",-2,"",-2,85,0,0,"#7F7F7F","#333333","",3,1,1,"#999999"]);
stm_aix("p2i0","p1i1",[0,"Chăm sóc","","",-1,-1,0,""]);
stm_aix("p2i1","p2i0",[0,"Thú y"]);
stm_aix("p2i2","p2i0",[0,"Nhân giống"]);
stm_aix("p2i3","p2i0",[0,"Dinh dưỡng"]);
stm_ep();
stm_aix("p0i10","p0i2",[]);
stm_aix("p0i11","p0i0",[0,"Chuyên mục về chó"],180,22);
stm_aix("p0i12","p0i1",[0,"Danh mục về giống chó","","",-1,-1,0,"#","_self","","","arrow011.gif","arrow011.gif",7,7,0,"","",0,0,0,0,0,"#333333"],180,0);
stm_aix("p0i13","p0i2",[]);
stm_aix("p0i14","p0i12",[0,"Các giống chó Việt Nam","","",-1,-1,0,""],180,0);
stm_aix("p0i15","p0i2",[]);
stm_aix("p0i16","p0i12",[0,"Chuyện về loài chó","","",-1,-1,0,"","_self","","","arrow011.gif","arrow011.gif",7,7,0,"arrowaaa.gif","arrowaaa.gif",16,9],180,0);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p0i2",[]);
stm_aix("p3i1","p1i1",[0,"Tin tức"]);
stm_aix("p3i2","p0i2",[]);
stm_aix("p3i3","p1i1",[0,"Truyện"]);
stm_aix("p3i4","p0i2",[]);
stm_ep();
stm_aix("p0i17","p0i0",[0,"Thư viện ảnh"],180,22);
stm_aix("p0i18","p0i2",[6,1]);
stm_aix("p0i19","p0i14",[0,"Hình ảnh"],180,0);
stm_aix("p0i20","p0i18",[]);
stm_aix("p0i21","p0i18",[]);
stm_aix("p0i22","p0i18",[]);
stm_aix("p0i23","p0i18",[]);
stm_ep();
stm_em();
//-->
</script>
<td>
<td>
<td>
<td>
<td valign="top">
<tr>
<td height="214">
<td>
<td>
<td>
<td>
<td>
</tr>
<tr>
<td height="525">
<td>
<td>
<td>
<td>
<td>
<td> </tr>
</table>
</body>
</html>