Re: [css-d] why aren't these 2 divs on top of each other?

2010-11-12 Thread Alan Gresley
David Laakso wrote: On 11/12/10 8:02 PM, John wrote: David; A brief question if you have time..you helped me with this code the other day. Why does #bar need top: 0; left:0? left: 0 I get, but isn't top: 0 at the top of the very page itself? why can't that black bar have the same code, ex

Re: [css-d] [+] Re: Box Model and Background-image

2010-11-12 Thread Alan Gresley
Thierry Koblentz wrote: In the CSS box model, are background images understood to occupy the same height and width as the outer edge of the border area? I believe it is the border box (content + padding + border) No, the default is the padding-box: Thanks Philippe, In my mind we're talking

Re: [css-d] [+] Re: Box Model and Background-image

2010-11-12 Thread Thierry Koblentz
> >>> In the CSS box model, are background images understood to occupy > the > >>> same height and width as the outer edge of the border area? > > > > > > I believe it is the border box (content + padding + border) > > No, the default is the padding-box: Thanks Philippe, In my mind we're talking

Re: [css-d] Box Model and Background-image

2010-11-12 Thread Philippe Wittenbergh
On Nov 13, 2010, at 8:10 AM, Thierry Koblentz wrote: >>> In the CSS box model, are background images understood to occupy the >>> same height and width as the outer edge of the border area? > > > I believe it is the border box (content + padding + border) No, the default is the padding-box: h

Re: [css-d] why aren't these 2 divs on top of each other?

2010-11-12 Thread David Laakso
On 11/12/10 8:02 PM, John wrote: David; A brief question if you have time..you helped me with this code the other day. Why does #bar need top: 0; left:0? left: 0 I get, but isn't top: 0 at the top of the very page itself? why can't that black bar have the same code, except for the z-index,

Re: [css-d] [+] Re: faux column issue...

2010-11-12 Thread Thierry Koblentz
Hi David, > I think that Michael is talking about the background-image on > div#content. It does not show because the three columns it contains are > floats. Any "containing floats" method on div#content will make the > background-image show up: Your post made me take a closer look at that page a

Re: [css-d] Box Model and Background-image

2010-11-12 Thread Peter Bradley
Ar 12/11/10 23:21, ysgrifennodd Peter Bradley : I'm going to have to play now to see if a border overlays a background image or /vice versa/. Just as I was thinking about calling it a day for today! Yup. If you have a background colour and a dotted or dashed border, you can see the colo

Re: [css-d] Box Model and Background-image

2010-11-12 Thread Peter Bradley
Ar 12/11/10 23:10, ysgrifennodd Thierry Koblentz : In the CSS box model, are background images understood to occupy the same height and width as the outer edge of the border area? I believe it is the border box (content + padding + border) -- Regards, Thierry www.tjkdesign.com | www.ez-css.org

Re: [css-d] Box Model and Background-image

2010-11-12 Thread Thierry Koblentz
> > In the CSS box model, are background images understood to occupy the > > same height and width as the outer edge of the border area? I believe it is the border box (content + padding + border) -- Regards, Thierry www.tjkdesign.com | www.ez-css.org | @thierrykoblentz ___

Re: [css-d] Box Model and Background-image

2010-11-12 Thread Peter Bradley
Ar 12/11/10 22:53, ysgrifennodd John : In the CSS box model, are background images understood to occupy the same height and width as the outer edge of the border area? thank you John Border inner edge, isn't it? I.e. content + padding. Could be wrong, though. Cheers Peter -- http://

[css-d] Box Model and Background-image

2010-11-12 Thread John
In the CSS box model, are background images understood to occupy the same height and width as the outer edge of the border area? thank you John __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/l

Re: [css-d] faux column issue...

2010-11-12 Thread David Hucklesby
On 11/12/10 1:33 PM, Thierry Koblentz wrote: I am working on a simple site that has columns and lines to divide the columns. Perfect for faux columns as the columns aren't equal depth. Anyway, when I put the background image in my "page-wrap" div, it shows up fine. When I put it in the backgroun

Re: [css-d] faux column issue...

2010-11-12 Thread Peter Bradley
Ar 12/11/10 21:24, ysgrifennodd Michael Beaudoin : Hi all, I am working on a simple site that has columns and lines to divide the columns. Perfect for faux columns as the columns aren't equal depth. Anyway, when I put the background image in my "page-wrap" div, it shows up fine. When I put i

Re: [css-d] faux column issue...

2010-11-12 Thread Thierry Koblentz
> I am working on a simple site that has columns and lines to divide the > columns. Perfect for faux columns as the columns aren't equal depth. > > Anyway, when I put the background image in my "page-wrap" div, it > shows up fine. When I put it in the background of the "content" div > (because I w

[css-d] faux column issue...

2010-11-12 Thread Michael Beaudoin
Hi all, I am working on a simple site that has columns and lines to divide the columns. Perfect for faux columns as the columns aren't equal depth. Anyway, when I put the background image in my "page-wrap" div, it shows up fine. When I put it in the background of the "content" div (becaus

Re: [css-d] Horizontal drop-down menu placement: FIXED!

2010-11-12 Thread David Laakso
On 11/12/10 2:09 PM, Steve Caramia wrote: Thanks for pointing this out. I deleted the container class around the navigation. And David, I don't want to move it to the left. Trying to keep to my client's design. (same with the font) Cross your fingers and hope that none of client's users ar

Re: [css-d] [+] Vertical-Align, IE, line-height, and span don't mix

2010-11-12 Thread Thierry Koblentz
Jukka K. Korpela wrote: > >> In IE, the superscript mucks up the borders and margins -- it's as > >> though the element block goes up and never comes back down when I > >> close the superscript. zoom is a CSS fix for the original test case, using is a different story. -- Regards, Thierry www.tj

Re: [css-d] Internal site links handled in print style sheet

2010-11-12 Thread David Hucklesby
On 11/10/10 5:09 PM, Keith Purtell wrote: I'm using this CSS ... a[href^="http://"]:after { content: " (online at: "attr(href)")"; } ...to handle links to external sites when a visitor prints one of my pages. However, I occasionally refer to related pages within my own site/file directo

Re: [css-d] Horizontal drop-down menu placement: FIXED!

2010-11-12 Thread Steve Caramia
Thanks for pointing this out. I deleted the container class around the navigation. And David, I don't want to move it to the left. Trying to keep to my client's design. (same with the font) http://www.caramiadesign.com/md/ ¿?¡!¿?¡!¿?¡!¿?¡!¿?¡!¿?¡!¿?¡!¿?¡!¿?¡!¿?¡!¿?¡!¿?¿?¡!¿?¡!¿?¡!¿?¡!¿?¡

Re: [css-d] Horizontal drop-down menu placement

2010-11-12 Thread HallMarc Websites
-Original Message- From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Steve Caramia Sent: Friday, November 12, 2010 1:52 PM To: css-d@lists.css-discuss.org Subject: Re: [css-d] Horizontal drop-down menu placement >> Where did you get that

Re: [css-d] [+] Vertical-Align, IE, line-height, and span don't mix

2010-11-12 Thread Jukka K. Korpela
Thierry Koblentz wrote: http://datagnostics.com/test/vertical.html I've got superscript text that needs to be all over the page -- it's part of the company name. At this point I'd raise the question whether the superscript text could be written using superscript characters such as "²". If it

[css-d] nested ul not working right

2010-11-12 Thread Debbie Campbell
Under 'Some Popular Woods' at bottom left, there's a nested unordered list. I don't see why it's not showing up. body.materials-finishes ul.photobar li ul { margin: 0 0 1em 1em; color: #373737; list-style-type: disc; } body.materials-finishes ul.photobar li ul li {

Re: [css-d] Horizontal drop-down menu placement

2010-11-12 Thread Steve Caramia
Where did you get that picture of the cochlea? Don't know. Got it from the client. __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/

Re: [css-d] Horizontal drop-down menu placement: FIXED!

2010-11-12 Thread Beth Lee
Hi Steve, http://www.caramiadesign.com/md/ The page looks good on a wide screen, but, as David mentioned, your .container div (the one containing the nav) is pushing the page width out to the right -- by about 380+px past your design, hence the horizontal scroll bar. When I look at it in a 1024

[css-d] Horizontal drop-down menu placement: FIXED!

2010-11-12 Thread Steve Caramia
As I went to bed the solution came to me. CSS: #nav li.off ul#port, #nav li.on ul#port { position: absolute; left: -60px; height: 30px; } #nav li.off ul#about, #nav li.on ul#about { position: absolute; left: 70px; height: 30px; } xhtml:

Re: [css-d] css-d Digest, Vol 96, Issue 6

2010-11-12 Thread Philip Taylor (Webmaster, Ret'd)
Keith Purtell wrote: Pardon my ignorance, but does this mean leading is not normally applied to replaced elements, or that applying leading to the replaced element (in this case an img) would be correct procedure and avoid the need for the padding technique I used? Eric Meyer addresses this

Re: [css-d] Horizontal drop-down menu placement

2010-11-12 Thread David Laakso
On 11/11/10 9:41 PM, Steve Caramia wrote: I built this nav system with the help of an article from the good peeps at A List Apart (no javascript!). Since the whole thing is CSS-driven, is there a way to make the submenus flush right to the nav bar instead of flush left? http://www.caramiad