By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,625 Members | 2,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,625 IT Pros & Developers. It's quick & easy.

frameset background

P: 1
i have to make a website about me for school and i cant get the frameset background right:

<html>
<head>
</head>
<frameset="10%,*" bgcolor="000000">
<base target = "main" />
<a href="home.html"><font face="comic sans ms" color="#GGFFFF">home<font></a>
<p>
<a href=about me>

blah blah blah...

</frameset>
</body>
</html>
Mar 25 '07 #1
Share this Question
Share on Google+
2 Replies


cjbrx3115
P: 93
i have to make a website about me for school and i cant get the frameset background right:

<html>
<head>
</head>
<frameset="10%,*" bgcolor="000000">
<base target = "main" />
<a href="home.html"><font face="comic sans ms" color="#GGFFFF">home<font></a>
<p>
<a href=about me>

blah blah blah...

</frameset>
</body>
</html>

The first thing you have to do is put the "cols" or "rows" in the <frameset="10%,*" bgcolor="000000">, to make either a frame with a column:

[HTML]<frameset cols="10%,*" bgcolor="000000">[/HTML]

-or-

for a row:

[HTML]<frameset rows="10%,*" bgcolor="000000">[/HTML]




The second is to make another file that the frame links to. So in your case, you would have to do something like this: (lets say that the second file was named "info.html")


Your first file with the frame:

[HTML]<html>
<head>
</head>
<frameset cols="10%,*" bgcolor="000000">
<frame src="info.html"/>
</frameset>
</body>
</html>[/HTML]


Your second file with the information:

[HTML]<html>
<head>
</head>
<base target = "main" />
<a href="home.html"><font face="comic sans ms" color="#GGFFFF">home<font></a>
<p>
<a href=about me>blah blah blah...</a>
</html>[/HTML]


Hope that cleared everything up, let me know if it doesn't.

Good luck,

-Cody-
Mar 26 '07 #2

Expert 100+
P: 1,892
i have to make a website about me for school and i cant get the frameset background right:

<html>
<head>
</head>
<frameset="10%,*" bgcolor="000000">
<base target = "main" />
<a href="home.html"><font face="comic sans ms" color="#GGFFFF">home<font></a>
<p>
<a href=about me>

blah blah blah...

</frameset>
</body>
</html>
Does it have to be a frameset site?
Mar 26 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.