Re: [css-d] div backgound shows below content when it shouldn't

2014-08-16 Thread Tim Dawson
I'm just tidying up this problem, and trying to fathom why I still need 'overflow: hidden;' to prevent the BODY being moved down 48px ( = the margin on the positioned images). The CSS I've got now for the animation positioning is: .pananim { position: relative; background-color: #0272a7; /*

Re: [css-d] div backgound shows below content when it shouldn't

2014-08-16 Thread Tom Livingston
Can you use padding instead of margin and add it to .pananim? On Saturday, August 16, 2014, Tim Dawson t...@ramasaig.com wrote: I'm just tidying up this problem, and trying to fathom why I still need 'overflow: hidden;' to prevent the BODY being moved down 48px ( = the margin on the

Re: [css-d] div backgound shows below content when it shouldn't

2014-08-16 Thread Tim Dawson
On 16/08/2014 13:59, Tom Livingston wrote: Can you use padding instead of margin and add it to .pananim? Applied to .pananim the absolutely positioned images ignore the padding (I'm not yet sure whether that's to be expected), but if I apply it to the images it has the desired effect, I

Re: [css-d] Firefox issue

2014-08-16 Thread Norman Fournier
On 2014-08-15, at 7:09 PM, Karl DeSaulniers wrote: My situation is I have a font cooper-black and when I copy css out of Firefox, I get cooper-#000. That is hilarious, and more annoying than autofill. __ css-discuss

[css-d] how to break a border?

2014-08-16 Thread John
In the image shown ( link below ) I would like to have a border around an image except where some type would be. The break happens right where the red arrows are pointing in the image. Is this possible in CSS? Of course, I could cheat and put the border and type in the image, but before I do

Re: [css-d] how to break a border?

2014-08-16 Thread Rod Castello
Maybe. In a containing div with position: relative (This makes it the parent), you absolutely position 4 items. 1. Type (top layer) 2. Image (next layer) 3. White mask rectangle that goes behind the type and above the green (border) image. (next layer) 4. Green image that's slightly larger than

[css-d] CSS drop-down menu issues

2014-08-16 Thread John
At this link, http://www.coffeeonmars.com/screenshots/menu-prob/product.php I am having issues with the header nav in that I feel I’ve done a lot of kludges to get it to behave correctly and not explode the page.. ...such as giving a white 1px border to the nav (else everything below it