Re: [css-d] getting an image in back of text (z-index)

2011-07-26 Thread Mark Henderson
On 27 July 2011 13:37, John wrote: > what do you mean by "out of the flow" of the page? http://www.vision.to/articles/the-difference-between-the-flow-and-positioning-for-web-pages.php Please remember, a little self-help goes a long way and google is your friend :-) Looking at your source there a

Re: [css-d] getting an image in back of text (z-index)

2011-07-26 Thread John
what do you mean by "out of the flow" of the page? John On Jul 26, 2011, at 6:28 PM, Tom Livingston wrote: Looks to me that a bg image on #homebody would work. The nav, being positioned absolutely, takes it "out of the flow" of the page structure, and #homebody doesnt even know it's there. A

Re: [css-d] getting an image in back of text (z-index)

2011-07-26 Thread John
On Jul 26, 2011, at 6:09 PM, Tom Livingston wrote: Wouldn't a background image be easier? in a way, yes, and I did experiment with that, but I didn't have much control over the position of the image. Might I be looking at the problem the wrong way? John ___

Re: [css-d] font-size value affects position. why?

2011-07-26 Thread Mark Henderson
On 27 July 2011 12:28, John wrote: []... > if I vary *just* the font-size, this head will move up or down. why should > that be? Examine line-height. http://www.w3.org/TR/CSS1/#the-height-of-lines > also, I've seen people use both % and specific px values with font-size. > which one is correct?

Re: [css-d] getting an image in back of text (z-index)

2011-07-26 Thread John
On Jul 26, 2011, at 6:12 PM, Mark Henderson wrote: That totally depends on the structure and properties of your html/css. Since you want to slide the image *underneath* it doesn't sound like it needs to be a part of the page flow, so can you not just make this a background image and position i

Re: [css-d] font-size value affects position. why?

2011-07-26 Thread Philippe Wittenbergh
On Jul 27, 2011, at 9:28 AM, John wrote: > this div positions a type head: > > #texthead { > font-size: 25px; > margin: 105px 0 0 160px; > } > > if I vary *just* the font-size, this head will move up or down. why should > that be? Hmm, a link to a testcase would help of course. Me

Re: [css-d] getting an image in back of text (z-index)

2011-07-26 Thread Mark Henderson
On 27 July 2011 12:27, John wrote: > same beast I've been dealing with..has a chunk of body copy and I'd like to > slip an image underneath the copy but above the center column. Not > vertically, but in the front-to-back sense of "underneath." Link?? Or is it the same link as the previous thread?

[css-d] font-size value affects position. why?

2011-07-26 Thread John
this div positions a type head: #texthead { font-size: 25px; margin: 105px 0 0 160px; } if I vary *just* the font-size, this head will move up or down. why should that be? also, I've seen people use both % and specific px values with font- size. which one is correct? Is it d

[css-d] getting an image in back of text (z-index)

2011-07-26 Thread John
same beast I've been dealing with..has a chunk of body copy and I'd like to slip an image underneath the copy but above the center column. Not vertically, but in the front-to-back sense of "underneath." I've played a bit with z-index values. I can get the image to be in back of everything e

Re: [css-d] 100% height issue, and graphic placement q's

2011-07-26 Thread Alan Gresley
On 26/07/2011 9:06 AM, John wrote: On Jul 22, 2011, at 7:17 AM, Alan Gresley wrote: Delete the whole declaration block of _body:after_ and amend these two style blocks. .livebar { width: 770px; min-height: 100%; overflow: auto; margin: 0px auto; background-color: #626862; } * html .livebar {