gpt4 book ai didi

html - 网站中的异常填充

转载 作者:太空宇宙 更新时间:2023-11-04 05:04:16 25 4
gpt4 key购买 nike

下面的代码是别人写的。他没有使用 div 架构,而是使用了 tabular 架构。现在在菜单选项结束后,在页面的内容菜单之间有一个空间。我已经看过很多次代码,检查了 stylesheetpaddingmargin 并观察了所有可能导致它的可能原因,但是找不到这个空间的原因。我什至在内容区域尝试了 margin-top:-100px; 看它是否移动到上面但它仍然没有移动。如果有人可以帮助我,我将不胜感激。网址是here 。提前致谢。这是它的代码,

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lorem Epsum</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="style7.css" rel="stylesheet" type="text/css" />

<script language="Javascript">
if (document.images) {
button1 = new Image
button2 = new Image
button1.src = 'images/contact.png'
button2.src = 'images/contactR.png'

button3 = new Image
button4 = new Image
button3.src = 'images/investor.png'
button4.src = 'images/investorR.png'

button5 = new Image
button6 = new Image
button5.src = 'images/associate.png'
button6.src = 'images/associateR.png'

button7 = new Image
button8 = new Image
button7.src = 'images/services.png'
button8.src = 'images/servicesR.png'

button9 = new Image
button10 = new Image
button9.src = 'images/about.png'
button10.src = 'images/aboutR.png'
}
</script>

<script type="text/JavaScript">


function SendMemId(ID, Name)
{

var MyElement = document.getElementById("tester");

var MyName = document.getElementById("MyNames");

document.getElementById('MyNames').innerHTML = (Name);


MyElement.value = (ID);

return true;
}//-->
</script>


<script src="jquery.js" type="text/javascript"></script>

<script src="popup.js" type="text/javascript"></script>

<script src="js/jquery-1.4.2.js" type="text/javascript"></script>

<script src="js/cufon-yui.js" type="text/javascript"></script>

<script src="js/cufon-replace.js" type="text/javascript"></script>

<script src="js/standard_07_57_400.font.js" type="text/javascript"></script>


<script src="lite_validation.js"></script>
<script>
required.add('name','NOT_EMPTY','Full Name');
required.add('email','EMAIL','Email Address');
required.add('message','NOT_EMPTY','Your Message')
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="src/jquery.infieldlabel.min.js" type="text/javascript" charset="utf-8"></script>

<script type="text/javascript" charset="utf-8">
<!--
$(function(){ $("label").inFieldLabels(); });

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_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_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>

</head>



<body id="page2" onLoad="MM_preloadImages('images/aboutR.png','images/servicesR.png','images/associateR.png','images/investorR.png','images/contactR.png')">
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="837">&nbsp;</td>
</tr>

<tr>
<td valign="bottom" height="120" background="images/headsmall.png"><table width="100%" height="120" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="bottom"><div align="left"><a href="index.php"><img src="images/logo.png" alt="" width="210" height="110" style="border-style: none"/></a></div></td>
<td valign="bottom"><table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><a href="about.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/aboutR.png',1)"><img src="images/about.png" width="115" height="50" border="0" id="Image6" /></a></td>
<td><a href="services.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/servicesR.png',1)"><img src="images/services.png" width="110" height="50" border="0" id="Image5" /></a></td>
<td><a href="associates.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/associateR.png',1)"><img src="images/associate.png" width="110" height="50" border="0" id="Image4" /></a></td>
<td><a href="investors.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/investorR.png',1)"><img src="images/investor.png" width="110" height="50" border="0" id="Image3" /></a></td>
<td><a href="contact.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/contactR.png',1)"><img src="images/contact.png" width="110" height="50" border="0" id="Image2" /></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<!--<tr>
<td height="6"></td>
</tr>-->
<tr>
<td background="images/bg_content.jpg" width="903px" height="477px"><table width="98%" border="0px" cellpadding="0" cellspacing="0">
<!-- <tr>
<td width="409">&nbsp;</td>
<td width="476" height="26">&nbsp;</td>
</tr>-->
<tr>
<td width="409" rowspan="5" valign="top"><table width="390" border="0" align="left" cellpadding="0" cellspacing="0">

<tr>
<td height="2"></td>
</tr>
<tr>
<td><img src="FinalPurpleLook/GlobalPic-AboutUS.png" alt="" width="381" height="237" /></td>
</tr>

</table> </td>
<td valign="top" class="heading">About us </td>
</tr>
<!-- <tr>
<td valign="top">&nbsp;</td>
</tr>-->
<tr>
<td valign="top"class="textSimple">Lorem Epsum is an exclusive private organization engaged in a wide spectrum of global business endeavors from acquisition, development and ownership. Our core market's investments include commercial real estate, energy solutions, information technology, and health wellness.</td>
</tr>
<tr>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td valign="top" class="textSimple">The philosophy of Lorem Empsum is based on honor, leadership, problem solving, project knowledge, sustainability and innovative ideas. Having powerful, influential connections, is a key element in success. With countless years of experience in several different industries we are proven to bring success with our connections and expertise knowledge.</td>
</tr>



<tr>
<!--<td>&nbsp;</td>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>-->
<td><p align="right" class="footer"> 9am Resource Agency LLC @ 2012 &nbsp;&nbsp; </p></td>
</tr>
</table></td>
</tr>
<tr></tr>
<tr>
<td></td>
</tr>
</table>

<script type="text/javascript"> Cufon.now(); </script>
</body>

</html>

最佳答案

您真的需要重新考虑重新开始的选项,如果不是,请同时查看 Javascripts 和 Jqueries可能会动态地进行更改 到您的 CSS 或样式属性..

关于html - 网站中的异常填充,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10777883/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com