我想要做的事情可能很簡單。我目前在我的index.html中有框架。我有一個頂部,左側,右側底部和中心框架。這使我的頁面看起來很尷尬。這是我的index.html:將框架放在框架下
<html>
<head>
<title>Support Portal</title>
</head>
<frameset rows="28,*,5" frameborder="0" border="0" framespacing="0">
<frame name="topNav" src="top_nav.html" scrolling="no" noresize>
<frameset cols="110,*,110" frameborder="0" border="0" framespacing="0">
<frame name="menu" src="menu_1.html" marginheight="0" marginwidth="0" scrolling="auto" noresize>
<frame name="content" src="content.html" marginheight="0" marginwidth="0" scrolling="auto" noresize>
<frame name="related" src="related.html" marginheight="0" marginwidth="0" scrolling="auto" noresize>
</frameset>
<frame name="footer" src="footer.html">
<noframes>
<p>This section (everything between the 'noframes' tags) will only be displayed if the users' browser doesn't support frames. You can provide a link to a non-frames version of the website here. Feel free to use HTML tags within this section.</p>
</noframes>
</frameset>
</html>
我希望做的是把我的「content.html」和我所有的其他的html文件,使背景色透明,然後把背景圖像背後一切都讓頁面看起來更像1頁,而不是5個放在一起。以下是我的內容頁面的頂部:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
font-family:Ubuntu, sans-serif;
font-size:10pt;
margin:10px;
background-color:transparent;
}
a {
color:white;
}
我該如何去完成此操作?
所有答案都是正確的:這不是我應該這樣做的方式。雖然你的答案很獨特/有趣。謝謝,乾杯和+1。 – brandoncluff