|
-
Dec 12th, 2002, 05:17 AM
#1
Thread Starter
Frenzied Member
Frames and background image
I wish to use a background image as a common background for my application which consists of 3 frames. How can I realize this?
Code:
<frameset rows="38%,54%,*" border=0>
<frame name="top" src="operator.asp" frameborder=0 scrolling=auto>
<frameset cols="50%,*">
<frame name="venstre" src="intro.htm" frameborder=0>
<frame name="right" src="blank.htm" frameborder=0>
</frameset>
</frameset>
-
Dec 12th, 2002, 06:35 AM
#2
Frenzied Member
DO you mean have one background, then all subsequent frames be transparent. If so you should be able to do it something like this, but it only works in Mozilla at the moment:
Code:
<head>
<style type="text/css"><!--
frameset, frame { background: transparent; }
--></style>
</head>
<frameset rows="38%,54%,*" border=0 style="background:blue;">
<frame name="top" src="operator.asp" frameborder=0 scrolling=auto>
<frameset cols="50%,*">
<frame name="venstre" src="intro.htm" frameborder=0>
<frame name="right" src="blank.htm" frameborder=0>
</frameset>
</frameset>
If you just mean each page has the same background try adding something like this to each document in the head:
Code:
<link rel="stylesheet" type="text/css" href="style.css">
Then in the file "style.css" add this:
Code:
background-image:url("Image.png");
-
Dec 12th, 2002, 07:21 AM
#3
Thread Starter
Frenzied Member
I mean a background image which covers the entire screen.
-
Dec 12th, 2002, 10:44 AM
#4
Frenzied Member
Then use the first suggestion. But as I say IE and (I think) Opera won't work with properly this. I think there maybe a proprieatry tag for IE that will let it be transparent. I'm pretty sure there is for iframes, so there maybe for frames too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|