Re: CSS Question

by "Darrell King" <darrell(at)webctr.com>

 Date:  Sun, 13 Jul 2003 10:53:18 -0400
 To:  <wanda(at)wandaweb.com>
 Cc:  <hwg-techniques(at)hwg.org>
 References:  wandaweb
  todo: View Thread, Original
A drawing would help me understand...:).

You could place a background in the body itself and another in a div that
holds the menu.  You can control repeating with "background-repeat: none;"
and you can set the width and position of the div to what you want. Not sure
why you'd need a frame, though - just float the menu div to the left with
"float: left;".

I don't believe there is any way to assign two separate background images to
one element, but I do know you can manipulate backgrounds at least as well
as you could with a table...:).


D

----- Original Message -----
From: "Wanda Hall" <wanda(at)wandaweb.com>



I guess the best way to explain it is that I want two different backgrounds,
side by side, on one .html page.  The only way I can see to do this is by
creating tables to hold them.  Can you assign two body backgounds to the
same page in CSS? I tried with the DIV tag, and they show up, but one
background repeats horizontally and the other doesn't show up.  If I assign
the content portion to the background tag, both images show up, but again,
the menu portion repeats horizontally instead of vertically, on top of the
content background.  I've set the margins for the menu portion and it shows
up, but then again, won't repeat vertically for the entire page.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.