Javascript 页面格式下拉列表
我最近开始为一个新网页做一个项目。我唯一的问题是,在某些网络浏览器(苹果Safari、Mozilla Firefox)上,文本和图像会向左移动很远。我想知道我是否可以制作一个下拉框来改变文本左侧的百分比 如果有更简单的方法使格式在所有浏览器和显示器上显示正常,请告诉我 我的代码如下所示:Javascript 页面格式下拉列表,javascript,html,Javascript,Html,我最近开始为一个新网页做一个项目。我唯一的问题是,在某些网络浏览器(苹果Safari、Mozilla Firefox)上,文本和图像会向左移动很远。我想知道我是否可以制作一个下拉框来改变文本左侧的百分比 如果有更简单的方法使格式在所有浏览器和显示器上显示正常,请告诉我 我的代码如下所示: <html> <head> <title>GameLikeBacon.com</title> <link type
<html>
<head>
<title>GameLikeBacon.com</title>
<link type="text/css" rel="stylesheet" href="stylesheet.css" />
<link rel="icon" type="image/ico" href="http://www.mysite.com/favicon.ico" />
</head>
<body>
<center>
<IMG SRC="background.gif">
</center>
<DIV STYLE="position:absolute; top:100px; left: 15%; width:950px; height:1150px">
<center>
<script type="text/javascript">
// Empty JavaScript Section, Cookies Not Working
</script>
<left><a href="http://www.youtube.com/user/ethan1bacon56?feature=mhee">
<img src="logo.gif" onmouseover="this.src='logos.gif'" onmouseout="this.src='logo.gif'" style="border-style: none"/>
</a>
</left>
<center><a href="Action Games.html"><img src="actionbutton1.gif"
onmouseover="this.src='actionbutton2.gif'" onmouseout="this.src='actionbutton1.gif'" style="border-style: none"/></a>
<a href="Adventure Games.html" style="font-family: AR JULIAN; font-size: 25px;">Adventure </a>
<a href="Arcade Games.html" style="font-family: AR JULIAN; font-size: 25px">Arcade </a>
<a href="Sports Games.html" style="font-family: AR JULIAN; font-size: 25px;">Sports </a>
<a href="Strategy Games.html" style="font-family: AR JULIAN; font-size: 25px">Strategy </a>
</center>
<h2 align="left">Newest Game: Plants vs. Zombies</h2>
<a href="Plants vs. Zombies.html">
<img src="zombie.jpg" style="border-style: none;" align="left">
</a>
<h2 align="right">Featured Game: Fancy Pants 1</h2>
<a href="Fancy Pants 1.html">
<img src="Fancy.jpg" onmouseover="this.src='Fancy2.jpg'" onmouseout="this.src='Fancy.jpg'" style="border-style: none" align="right">
</a>
<right>
<img src="Bacon.gif">
</right>
<center>
<p style="font-size: 35px;">Newest Games</p>
</center>
<center><a href="Plants vs. Zombies.html" style="font-size: 25px;"> Plants vs. Zombies </a>
<a href="Johnny Upgrade.html" style="font-size: 25px;"> Johnny Upgrade </a>
</center>
<center>
<h1>----------------------------------------</h1>
</center>
<center><a href="http://www.youtube.com/user/ethan1bacon56?feature=mhee"><img src="Ad.gif" style="border-style: none;"></a>
</center>
<center>
<h6>Want your advertisment here? Contact me at ethandpeck@hotmail.com</h6>
</center>
<img src="splash.gif">
</DIV>
</body>
</html>
GameLikeBacon.com
//JavaScript部分为空,Cookie不工作
最新游戏:植物大战僵尸
特色游戏:花式长裤1
最新游戏
----------------------------------------
你想在这里登广告吗?联系我ethandpeck@hotmail.com
有没有更好的方法,或者我可以使用下拉列表来确定文本左侧的百分比?顺便说一句,我11岁了,所以不要否决我,因为这看起来很简单。首先,不应该使用
center
标记,也不应该使用left
标记。首先,我将构建一个非常简单的布局版本,您需要使用空框,然后将内容添加回。如果你正在寻找一种快速的方法来保持你的网站的一致性,请查看推特引导程序。现在我的页面完全混乱了。