how come this doesnt work?

liunx

Guest
ok, i have a code for a frame-left,center,&right.html. and i want to add a background image/color in each frame. where do i post the code? Do you paste it on the same editing box as left.html? because sum ppl told me to put <br> between the lines? it doesnt work. how would you put this code:<br />
<BODYBACKGROUND="16a_horse_clip_art_bg.gif"> into the each frame?do u put it below the code for the left frame page in the same editing box? do u put ne thing in between each different code? thx<!--content--><body bgcolor="#FFFFFF" background="image.gif"><br />
<br />
this goes into your body tag and has nothing to do with any <br> tags.<br />
<br />
<body bgcolor="#FFFFFF"> add a background colour to your page, this must go into each page that you want to have colours.<br />
<br />
<body background="image.gif"> this adds an image as your background. a better way to add a background image to your page is to use CSS, check here (<!-- m --><a class="postlink" href="http://www.yourhtmlsource.com/stylesheets/cssbackgrounds.html">http://www.yourhtmlsource.com/styleshee ... ounds.html</a><!-- m -->) and here (<!-- m --><a class="postlink" href="http://www.webmasterworld.com/forum83/65.htm">http://www.webmasterworld.com/forum83/65.htm</a><!-- m -->) for ways how to do that.<br />
<br />
if you wish to just stick to HTML though the examples above is the way to do that.<br />
<br />
Joe<!--content-->do this<br />
<br />
<body style="background-image: url(image.jpg); background-color: #hexhere;"><br />
<br />
The way Joe posted is deprecated and shouldn't be used, all though he did referenence you to some good css tutorials.<!--content-->and if you were cool you would do it this way ;)<br />
<br />
<body style="background: url(image.jpg) #hexhere;"><!--content-->oh get over it scoutt, you'll never be as cool as me :D :cool: :D <br />
<br />
I was going to post that, but wasn't sure if it was correct, and of course I couldn't be wrong :mad: that would be a bad thing.<br />
<br />
}:-) =:O }:-)<!--content-->well why not use:<br />
<br />
<style type="text/css"><br />
body {<br />
background-image: url(image);<br />
background-repeat: no-repeat;<br />
background-position: center;<br />
background-attachment: fixed;<br />
}<br />
</style><br />
<br />
in your head tag, this isn't deprecated :P<br />
<br />
now none of your will be as cool as me so stop fighting :P<!--content-->and to go even cooler ;) <br />
<br />
body {background: #ff9900 url(foo.gif) no-repeat fixed center;}<br />
<br />
<br />
ps. the color dec should go first in the shorthand version ;) :D<!--content-->Originally posted by leoo24 <br />
and to go even cooler ;) <br />
<br />
body {background: #ff9900 url(foo.gif) no-repeat fixed center;}<br />
<br />
<br />
ps. the color dec should go first in the shorthand version ;) :D trust you :P<!--content-->
 
Back
Top