In shorthand, I'm talking about those crazy star patterns behind the forms. This material is the intellectual property of Awake Media, but I'm coding it.
i know, all those pseudo elements can be confusing :(( but it's really the easiest way...
another technique is to define the background for head and body:
<style type="text/css"> HTML { background: url(файл 1); /* Путь к графическому файлу с первым фоном */ } BODY { background: url(файл 2); /* Путь к графическому файлу со вторым фоном */ } </style>
in CSS3 you can define several backgrounds for ONE element, like this:
http://group.mind-productions.com/articles/multiple_backgrounds__css3_/ i'm not sure, but maybe you can make this work crossbrowser with Modernizer. ------------------ if you having problems with aligning transparent backgrounds through CSS, you can always correct the image itself by adding transparent pixels from the side you need to push it to..
http://www.parkarvidsonacupuncture.com/wordpress/wp-content/themes/ParkArvidson Wordpress/Images/final-newpatient.jpg
Okay guys, I know I just keep coming at you with stuff... thanks for bearing with me.
I'm trying to align these background images within my #main-content div.
How do I go about that? Does it depend on the size of the PNG file?
The transparency is fine, I just can't get the image aligned to the top left.
http://nicolasgallagher.com/multiple-backgrounds-and-borders-with-css2/
nice design btw.
I am having a rough time getting the Nicolas Gallagher techniques.
Does anyone else have suggestions about how to add in a background .png over a container with a background?
I'm pretty desperate.
but it's really the easiest way...
another technique is to define the background for head and body:
in CSS3 you can define several backgrounds for ONE element, like this:
http://group.mind-productions.com/articles/multiple_backgrounds__css3_/
i'm not sure, but maybe you can make this work crossbrowser with Modernizer.
------------------
if you having problems with aligning transparent backgrounds through CSS, you can always correct the image itself by adding transparent pixels from the side you need to push it to..
here's a layout i made recently:
http://img12.imageshost.ru/img/2011/02/03/image_4d49c9d0ebf5b.png
there's a 4 backgrounds on each other :))