View Full Version : background image


pepper
03-14-2003, 07:11 PM
i tried a lot but my background image never comes up..what should i do????
here's my code
<html>
</head>
<frameset border="0" cols="4%,*,4%">
<frame src="l.html" scrolling="no">
<frame src="main.html" noresize scrolling="auto" name="main">
<frame src="r.html" scrolling="no">
</frameset>
<body background="1035626238_4.jpg">
</body>
</html>

LadyCrow
03-14-2003, 08:38 PM
you cannot have a background on a frameset. you should not even have a body tag because then the frames won't work.

the pages you should be adding a background to are l.html r.html and main.html

pepper
03-14-2003, 08:57 PM
oh ok i get that
thanxx

pb&j
03-15-2003, 06:17 AM
Originally posted by LadyCrow
you should not even have a body tag because then the frames won't work.
Actually, there is a BODY tag allowed within a NOFRAMES area which would be located at the end, but within the main FRAMESET area.

That specific area would be accessed if a non-frames capable browser would be looking at the page in question.

LadyCrow
03-15-2003, 02:23 PM
-blinks-
well seeing as i've never used the no frames option
i've never met anyone who couldn't use them
i have a friend who's comp is still on windows 95 with like ie 3.0 and she can use 'em

pb&j
03-15-2003, 03:22 PM
Yeah, it is super rare cases when frames are not viewable. I think maybe some libraries or schools may be using the old stuff. The main majority of public are using a good frames capable viewer.

Good point LadyCrow.