Re: [css-d] centered nav over an image /?

2010-06-24 Thread MEM
 http://ecoitsf.com/test.html

 I would like a background image to sit behind the nav at 100% of the page.


Hello,

Have you tried to put a div containing your navigation and, inside
that div, have a background-image property defined pointing to your
image?
What kind of image? Do you intend to repeat over the x-axis ?

Regards,
Márcio

ps-
Note as well, that despite the fact that it works, div align, I
believe, as been deprecated.
You can give a width to your element, and add margin:0 auto; for centering it.
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] centered nav over an image /?

2010-06-24 Thread Matthew P. Johnson
I will play with that idea. I did try to use nested div's with the 
background-color set and did not see a result. 

Matthew P. Johnson | Eco I.T.
320 Warwick Avenue Oakland CA 94610 | 415.254.1563 | ecoitsf.com
 Please consider the environment before printing this email.


-Original Message-
From: MEM [mailto:tal...@gmail.com] 
Sent: Thursday, June 24, 2010 12:07 AM
To: Matthew P. Johnson
Cc: css-d@lists.css-discuss.org
Subject: Re: [css-d] centered nav over an image /?

 http://ecoitsf.com/test.html

 I would like a background image to sit behind the nav at 100% of the page.


Hello,

Have you tried to put a div containing your navigation and, inside
that div, have a background-image property defined pointing to your
image?
What kind of image? Do you intend to repeat over the x-axis ?

Regards,
Márcio

ps-
Note as well, that despite the fact that it works, div align, I
believe, as been deprecated.
You can give a width to your element, and add margin:0 auto; for centering it.

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.829 / Virus Database: 271.1.1/2958 - Release Date: 06/23/10 
11:35:00

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Re: [css-d] centered nav over an image /?

2010-06-24 Thread Tim Climis
On Thursday, June 24, 2010 3:09:30 am Matthew P. Johnson wrote:
 I will play with that idea. I did try to use nested div's with the
 background-color set and did not see a result.
 

This is where having a link helps.  It sounds like you're perhaps using floats 
to create your navigation (which would then cause your container (div?,ul?) to 
have a hieght of 0.  If you add overflow: hidden or an explicit height to that 
container, the background should have an effect.

---Tim
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] centered nav over an image /?

2010-06-24 Thread Claude Needham
On Thu, Jun 24, 2010 at 5:04 AM, Tim Climis tcli...@exchange.iu.edu wrote:
 This is where having a link helps.  It sounds like you're perhaps using floats
 to create your navigation (which would then cause your container (div?,ul?) to
 have a hieght of 0.  If you add overflow: hidden or an explicit height to that
 container, the background should have an effect.
 ---Tim

I believe the url in the original post leads us to the only sample for the page.
http://ecoitsf.com/test.html

Regards,
Claude
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] centered nav over an image /?

2010-06-24 Thread Climis, Tim
 
 I believe the url in the original post leads us to the only sample for the
 page.
 http://ecoitsf.com/test.html
 

Ah.  Missed that.  And even though the method used is display: inline, 
overflow: hidden still appears to be the solution.  When I tested it out (on 
either the div or the ul) it gives it height so that assigning a background 
color becomes useful.

---Tim
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] centered nav over an image /?

2010-06-23 Thread Matthew P. Johnson
How would I put a centered horizontal navigation over an image?

 

http://ecoitsf.com/test.html

 

I would like a background image to sit behind the nav at 100% of the page. 

 

Sincerely, 

 

Matthew P. Johnson | Eco I.T.

320 Warwick Avenue Oakland CA 94610 | 415.254.1563 |  http://ecoitsf.com
ecoitsf.com

P Please consider the environment before printing this email.

 

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/