OK OK I SWEAR THAT THIS WAS THE FIRST THING I TRIED and it didn't work then.  
There would be a slight line, because the background image was not starting at 
the edge of the logo image.  But when I put your code in, which looks basically 
identical to what I thought I tried, it does seem to work.  I am now completely 
flummoxed!   

It does seem to be a bit unintuitive to me.  I initially expected that by 
setting "background-position: 640px 0;" that the first 640px would not have a 
background.  But it seams to, based on the best tests I could think of - 
basically removing the overlaying logo image various ways, the background image 
still repeats across the entire block.  But I am guessing that it starts at the 
point 640x0 and repeats in both directions from there.  Is that correct?

Again this does seem to be doing what I want it to do, I just can not figure 
out what I did differently last night.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

...-----Original Message-----
...From: Kevin Graeme [mailto:[EMAIL PROTECTED]
...Sent: Thursday, February 03, 2005 10:11 AM
...To: CF-Community
...Subject: Re: CSS/Layout problem.
...
...div#mastHead
...{
...        width: 100%;
...        background: url(/images/headerb.jpg) repeat-x 640px 0;
...     margin: 0;
...     height: 98px;
...}
...
...div#mastHead a#logo
...{
...     margin-left: 0;
...     float: left;
...}
...
...Alternately, you could spell out the background properties as:
...
...div#mastHead
...{
...        width: 100%;
...        background-image: url(/images/headerb.jpg);
...        background-repeat: repeat-x;
...        background-position: 640px 0;
...     margin: 0;
...     height: 98px;
...}
...
...-Kevin

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:146185
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to