Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Tim Dawson
On 09/02/2014 20:53, David Hucklesby wrote: On 2/9/14, 12:11 PM, Chris Rockwell wrote: Interesting Chris. I'v always styled the with margins, positioning, sometimes padding...etc and it always has an effect. But have you applied colors, images to that? This pen shows what I'm referring to (and

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Chris Rockwell
> > > Backgrounds on root elements are special :) > > http://www.w3.org/TR/css3-background/#special-backgrounds Perfect - thanks for the link Jon! -- Chris Rockwell __ css-discuss [css-d@lists.css-discuss.org] http://www.css-di

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Jon Reece
On Sun, Feb 9, 2014 at 3:53 PM, David Hucklesby wrote: > I believe that's because backgrounds on propagate to the viewport - > that's the root () element. Unless, that is, you have a background > specified for . > Backgrounds on root elements are special :) http://www.w3.org/TR/css3-background

Re: [css-d] CSS3 control over shapes?

2014-02-09 Thread Chris Rockwell
Sure, check out http://codepen.io/search?q=tag&limit=all&order=popularity&depth=everything&show_forks=falsefor some ideas On Sun, Feb 9, 2014 at 4:02 PM, John Johnson wrote: > if you picture a store tag..a rectangle with a hole at one end for the > string, and that end's corners each snipped of

[css-d] CSS3 control over shapes?

2014-02-09 Thread John Johnson
if you picture a store tag..a rectangle with a hole at one end for the string, and that end’s corners each snipped off at appx 45 degrees.. can CSS handle something like that, or would I be better of turning to HTML5 canvas? Thank you John __

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Chris Rockwell
That did it, so is this reverse cascading :)? On Sun, Feb 9, 2014 at 3:53 PM, David Hucklesby wrote: > On 2/9/14, 12:11 PM, Chris Rockwell wrote: > >> Interesting Chris. I'v always styled the with margins, >>> positioning, sometimes padding...etc and it always has an effect. But >> have >

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread David Hucklesby
On 2/9/14, 12:11 PM, Chris Rockwell wrote: Interesting Chris. I'v always styled the with margins, positioning, sometimes padding...etc and it always has an effect. But have you applied colors, images to that? This pen shows what I'm referring to (and I've never experienced because of my mark-up

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Tim Dawson
Thanks Chris, and others. I'd agree about the 'wrapper'. It just happens I was rather throwing a page together for my menu tests, and slipped the background image onto the body. I've moved it now (in my local version only) to my 'wrapper', which is div#outer, and that works too, and looks much

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Chris Rockwell
>> Interesting Chris. I'v always styled the with margins, positioning, sometimes padding...etc and it always has an effect. But have you applied colors, images to that? This pen shows what I'm referring to (and I've never experienced because of my mark-up conventions): http://codepen.io/anon/pen/f

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Eric
Interesting Chris. I'v always styled the with margins, positioning, sometimes padding...etc and it always has an effect. Rachel, Tim will need to give his element a position of absolute, relative (and maybe fixed but I'm sure about that one) for z-index to kick in. Eric > On February 9, 2014 at

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Chris Rockwell
oThis has never come up for me, so I can't explain (yet) why this happens, but it appears, at least in Chrome, that some style attributes don't honor widths, margins, [and other things I don't know of] of the body element. The reason this has never come up for me, is that I would always use a wrap

Re: [css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Rachel Mawhood
Hi - I think you have to give it a position and include a z-index instruction to tell it to put the image at the "back", eg background-attachment: fixed; background-position: 50% 60px; margin: 30px 0px 0px 0px; z-index: 1; } That, above, is taken from a very old style sheet;

[css-d] Background image on body appears to be in viewport or HTML

2014-02-09 Thread Tim Dawson
I've been playing around with a few menu design ideas, and mocked up a site to try them out. The menus are OK as far as they go, but I'm having trouble with a background image. I have been trying to set up a background image in the (or in ), but when I do so it appears outside the body, as if