Re: [css-d] how to constrain width of box?

2011-01-20 Thread G.Sørtun
http://mcgivney.ehclients.com/press/ [...] is there some way to always make the box as wide as the photo and not wider? I'd like the caption to wrap around in the box under the photo, but not be wider than the photo. Rearrange source-code and restyle... src="http://mcgivney.ehclients.co

Re: [css-d] how to constrain width of box?

2011-01-20 Thread Germán Martínez
Hi Rory, As far as I know, you can't achieve that using only CSS, maybe you should consider using JS. Also, I noticed a problem with your HTML, you have a inside a . Drop the and set the span to display:block with something like this: .photo_and_caption span {display: block;} You may also w

[css-d] how to constrain width of box?

2011-01-20 Thread Rory Bernstein
I have a div that has a photo with a caption under it. The div is floated left so that a block of text can wrap around it: http://mcgivney.ehclients.com/press/ But, I can't set a fixed width to the div with the photo because this is in a CMS and people can upload photos of different sizes. So, i

Re: [css-d] adjust position of hover nav tab

2011-01-20 Thread Rory Bernstein
> Hmm. Guess I see what you mean, now. You might try this [and tweak] and see > if it helps? > #nav li a{margin-left:6px;} > > ~d > Great; I applied this one rule and indeed the spacing is just right now. Thank you! Rory __ c

[css-d] menu hover issue

2011-01-20 Thread Debbie Campbell
When trying to fix an issue with z-index and IE7, I seem to have done something else. When you hover over the dropdown menus in this page in IE7, they close unless you're actually over a link: http://www.redkitecreative.com/projects/team/contact-us/ Can someone help? -- Debbie Campbell www.

Re: [css-d] adjust position of hover nav tab

2011-01-20 Thread David Laakso
On 1/20/11 5:09 PM, David Laakso wrote: On 1/20/11 2:39 PM, Rory Bernstein wrote: On this site: http://mcgivney.ehclients.com/ I cannot for the life of me figure out how to get the positioning of the dark green tab that appears behind the nav items when you hover on them. For example, if you

Re: [css-d] adjust position of hover nav tab

2011-01-20 Thread David Laakso
On 1/20/11 2:39 PM, Rory Bernstein wrote: On this site: http://mcgivney.ehclients.com/ I cannot for the life of me figure out how to get the positioning of the dark green tab that appears behind the nav items when you hover on them. For example, if you hover over "practices" in the nav, that

Re: [css-d] adjust position of hover nav tab

2011-01-20 Thread Jakub Bachniak
On 2011-01-20 19:39, Rory Bernstein wrote: On this site: http://mcgivney.ehclients.com/ I cannot for the life of me figure out how to get the positioning of the dark green tab that appears behind the nav items when you hover on them. For example, if you hover over "practices" in the nav, that

Re: [css-d] adjust position of hover nav tab

2011-01-20 Thread Jonny Stephens
Try this. #nav { list-style:none; margin:0; padding:19px 0 0; width:100%; text-align:center; position:relative; display:table; /* new */ word-spacing:-1em; /* new */ } #nav li { display:inline-block; background: url(.

[css-d] print style sheet problem & IE7 layout issue

2011-01-20 Thread Rory Bernstein
Apologies if this was answered, but I did not hear anything and for some reason the archive link is not working on the web site. Here's my question again. 1. On this page: http://seidenschein.com/index.php/seidenschein/practice_areas/421-a_benefits/ When I print it, only about two-thirds of the

Re: [css-d] adjust position of hover nav tab

2011-01-20 Thread Rory Bernstein
> http://mcgivney.ehclients.com/ >> >> if you hover over "practices" in the nav, that box is not quite the >> same distance from the left and right divider lines. > > Correct in Win7 FF 3.6.13 + Opera 11 (no IE here). The favicon link is not > closed. > > Gruss, Ingo > I am using Firefox on a

[css-d] adjust position of hover nav tab

2011-01-20 Thread Rory Bernstein
On this site: http://mcgivney.ehclients.com/ I cannot for the life of me figure out how to get the positioning of the dark green tab that appears behind the nav items when you hover on them. For example, if you hover over "practices" in the nav, that box is not quite the same distance from the