허접한 초보가 또 질문 드립니다. 정보
허접한 초보가 또 질문 드립니다.관련링크
http://printer.skynet.co.kr/
155회 연결
본문
1. 저 홈피에 가시면 좌우에 배경색을 주었거든요, 근데 이걸 그라데이션으로 처리하고 싶습니다.
전체 배경은 아니고 좌우만 바꿀려고 합니다.
2. 좌측 그림을 보시면 하단 부분에 배경색이 지정되어 있는데 소스상으론 아무것도 없는데 뭔가가
있는것처럼 자리를 차지해 배경색이 나타나네요, 다시말해서 본문과 하단의 간격을 맞출려고하는
데 삐죽나와서 보기가 영 아니네요^^ 소스 첨부합니다.(맨아래 빨간색 부분)
3. 내용을 쭉내리다보면 한번에 위로 올라가야할때가 많죠(메뉴등등 이용), 스크롤 쭉따라다니다
클릭하면 맨위로 올라가는 방법 좀 알려 주세요
<?
if (!defined("_GNUBOARD_")) exit; // Ұ
if (!defined("_GNUBOARD_")) exit; // Ұ
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// ȭ ܰ ϴ Դϴ.
// , ȭ ٹ̷ մϴ.
// , ȭ ٹ̷ մϴ.
$table_width = 1000;
?>
<body topmargin="0" leftmargin="0" >
?>
<body topmargin="0" leftmargin="0" >
<table width="1000" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" colspan="2" align="top"><img src="/img/01.gif" width="332" height="24" ><a href="/"><img src="/img/02.gif" width="80" height="24" border="0"></a><a href="/introduce.php"><img src="/img/03.gif" width="74" height="24" border="0"></a><a href="/bbs/board.php?bo_table=notice"><img src="/img/04.gif" width="87" height="24" border="0"></a><a href="/bbs/board.php?bo_table=board"><img src="/img/05.gif" width="84" height="24" border="0"></a><img src="/img/06.gif" width="343" height="24"></td>
</tr>
<tr>
<td height="72" colspan="2"><img src="/img/07.gif" width="332" height="72" ><img src="/img/08.gif" width="322" height="72"><img src="/img/09.gif" width="346" height="72" border="0"></td>
</tr>
<tr>
<td height="77" colspan="2"><img src="/img/10.gif" width="332" height="77" ><img src="/img/11.gif" width="322" height="77" ><img src="/img/12.gif" width="346" height="77" ></td>
</tr>
<tr>
<td height="68" colspan="2"><img src="/img/13.gif" width="332" height="68"><img src="/img/14.gif" width="322" height="68"><img src="/img/15.gif" width="346" height="68"></td>
</tr>
<tr>
<td height="67" colspan="2"><a href="http://www.ecoproducts.or.kr/" target="_blank"><img src="/img/16.gif" width="211" height="67" border="0"></a><a href="/paint_con1.php"><img src="/img/17.gif" width="146" height="67" border="0"></a><a href="/paint_indu1.php"><img src="/img/18.gif" width="128" height="67" border="0"></a><a href="/add1.php"><img src="/img/19.gif" width="124" height="67" border="0"></a><a href="/slip1.php"><img src="/img/20.gif" width="136" height="67" border="0"></a><img src="/img/21.gif" width="255" height="67"></td>
</tr>
<tr>
<td height="71" colspan="2"><p><a href=# onClick="window.external.AddFavorite(parent.location.href, document.title);"><img src="/img/22.gif" width="212" height="71" border="0" ></a><script language="JavaScript1.2">
<!--
<tr>
<td height="24" colspan="2" align="top"><img src="/img/01.gif" width="332" height="24" ><a href="/"><img src="/img/02.gif" width="80" height="24" border="0"></a><a href="/introduce.php"><img src="/img/03.gif" width="74" height="24" border="0"></a><a href="/bbs/board.php?bo_table=notice"><img src="/img/04.gif" width="87" height="24" border="0"></a><a href="/bbs/board.php?bo_table=board"><img src="/img/05.gif" width="84" height="24" border="0"></a><img src="/img/06.gif" width="343" height="24"></td>
</tr>
<tr>
<td height="72" colspan="2"><img src="/img/07.gif" width="332" height="72" ><img src="/img/08.gif" width="322" height="72"><img src="/img/09.gif" width="346" height="72" border="0"></td>
</tr>
<tr>
<td height="77" colspan="2"><img src="/img/10.gif" width="332" height="77" ><img src="/img/11.gif" width="322" height="77" ><img src="/img/12.gif" width="346" height="77" ></td>
</tr>
<tr>
<td height="68" colspan="2"><img src="/img/13.gif" width="332" height="68"><img src="/img/14.gif" width="322" height="68"><img src="/img/15.gif" width="346" height="68"></td>
</tr>
<tr>
<td height="67" colspan="2"><a href="http://www.ecoproducts.or.kr/" target="_blank"><img src="/img/16.gif" width="211" height="67" border="0"></a><a href="/paint_con1.php"><img src="/img/17.gif" width="146" height="67" border="0"></a><a href="/paint_indu1.php"><img src="/img/18.gif" width="128" height="67" border="0"></a><a href="/add1.php"><img src="/img/19.gif" width="124" height="67" border="0"></a><a href="/slip1.php"><img src="/img/20.gif" width="136" height="67" border="0"></a><img src="/img/21.gif" width="255" height="67"></td>
</tr>
<tr>
<td height="71" colspan="2"><p><a href=# onClick="window.external.AddFavorite(parent.location.href, document.title);"><img src="/img/22.gif" width="212" height="71" border="0" ></a><script language="JavaScript1.2">
<!--
/*
Conveyor belt slideshow script-
?Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
Conveyor belt slideshow script-
?Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
//Specify the slider's width (in pixels)
var sliderwidth=622
//Specify the slider's height (in pixels, pertains only to NS)
var sliderheight=71
//Specify the slider's scroll speed (larger is faster)
var slidespeed=5
//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<img src="/img/banner.gif" width="622" height="71" border=0></a>'
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<img src="/img/banner.gif" width="622" height="71" border=0></a>'
///////do NOT edit pass this line////////////////////////////////////
var copyspeed=slidespeed
//copy contents of leftrightslide into one variable
for (i=0;i<leftrightslide.length;i++)
finalslide=finalslide+leftrightslide[i]+" "
//copy contents of leftrightslide into one variable
for (i=0;i<leftrightslide.length;i++)
finalslide=finalslide+leftrightslide[i]+" "
if (document.all){
//dynamically write out the marquee tag
document.write('<marquee id="ieslider" scrollAmount=0 style="width:'+sliderwidth+'">'+finalslide+'</marquee>')
//stop marquee when mouse is over it
//ieslider.onmouseover=new Function("ieslider.scrollAmount=0")
//re-enable marquee when mouse is out
//ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=slidespeed")
}
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
document.ns_slider01.visibility="show"
setTimeout("window.onresize=regenerate",450)
intializeleftrightslide()
}
if (document.all)
ieslider.scrollAmount=slidespeed
}
window.location.reload()
}
function regenerate2(){
if (document.layers){
document.ns_slider01.visibility="show"
setTimeout("window.onresize=regenerate",450)
intializeleftrightslide()
}
if (document.all)
ieslider.scrollAmount=slidespeed
}
//NS specific function for initializing slider upon page load
function intializeleftrightslide(){
document.ns_slider01.document.ns_slider02.document.write('<nobr>'+finalslide+'</nobr>')
document. ns_slider01.document.ns_slider02.document.close()
thelength=document.ns_slider01.document.ns_slider02.document.width
scrollslide()
}
function intializeleftrightslide(){
document.ns_slider01.document.ns_slider02.document.write('<nobr>'+finalslide+'</nobr>')
document. ns_slider01.document.ns_slider02.document.close()
thelength=document.ns_slider01.document.ns_slider02.document.width
scrollslide()
}
//NS specific function for sliding slideshow
function scrollslide(){
if (document.ns_slider01.document.ns_slider02.left>=thelength*(-1)){
document.ns_slider01.document.ns_slider02.left-=slidespeed
setTimeout("scrollslide()",100)
}
else{
document.ns_slider01.document.ns_slider02.left=sliderwidth
scrollslide()
}
}
window.onload=regenerate2
function scrollslide(){
if (document.ns_slider01.document.ns_slider02.left>=thelength*(-1)){
document.ns_slider01.document.ns_slider02.left-=slidespeed
setTimeout("scrollslide()",100)
}
else{
document.ns_slider01.document.ns_slider02.left=sliderwidth
scrollslide()
}
}
window.onload=regenerate2
//-->
</script> <img src="/img/24.gif" width="166" height="71"></p></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="214" valign="top" bgcolor="#FFFFCC"><div align="center"><img src="img/leftimg.gif">
</div></td>
<META http-equiv="imagetoolbar" content="no">
<td valign="top">
</script> <img src="/img/24.gif" width="166" height="71"></p></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="214" valign="top" bgcolor="#FFFFCC"><div align="center"><img src="img/leftimg.gif">
</div></td>
<META http-equiv="imagetoolbar" content="no">
<td valign="top">
댓글 전체
<td width="214" valign="top" bgcolor="#FFFFCC"><div align="center"><img src="img/leftimg.gif">
</div></td>
<META http-equiv="imagetoolbar" content="no">
<td valign="top">
중간에 <META ... 가 왜 있죠?
</div></td>
<META http-equiv="imagetoolbar" content="no">
<td valign="top">
중간에 <META ... 가 왜 있죠?