|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi I was wondering how do you shrink the back ground picture so that it shrinks
behind the main content when you adjust the window size. An example of this would be in the website www.ellusionist.com if you notice the main content stays center when you adjust the window size and when you shrink it the back ground image shrinks into the main contents... I just can't figure out how they did it can someone me with this. thanks in advance ![]() |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Oh I would also like to mention I am using dreamweaver cs3.
I was also able to make the back ground image stay center with my main content by putting it in a container behind the main content and the main content centered in that. But the only problem is when you shrink the window it shows that back ground taking up space on the left hand side. I would like to have this shrink into the main content. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> Hi I was wondering how do you shrink the back ground picture so that it
> shrinks > behind the main content when you adjust the window size. An example of > this > would be in the website www.ellusionist.com if you notice the main content > stays center when you adjust the window size and when you shrink it the > back > ground image shrinks into the main contents... I just can't figure out how > they > did it can someone me with this. I don't see any 'shrinking' background images on that site. Are you referring to the content being centered in the viewport? -Darrel |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
http://www.ellusionist.com/images/en...cs/main_bg.gif
Background image is 1200px by 600px on a black background. Page body is centered, so is the bg image. No shrinking involved. --Nancy O. Alt-Web Design & Publishing www.alt-web.com "marky707" <webforumsuser@macromedia.com> wrote in message news:g2143d$dtd$1@forums.macromedia.com... > Hi I was wondering how do you shrink the back ground picture so that it shrinks > behind the main content when you adjust the window size. An example of this > would be in the website www.ellusionist.com if you notice the main content > stays center when you adjust the window size and when you shrink it the back > ground image shrinks into the main contents... I just can't figure out how they > did it can someone me with this. > > thanks in advance ![]() > |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
yes, that must be it... How do I center the back ground image? I looked in the
page properties and see to put the background image in but I don't see where I could keep it centered. Can you tell me where I should go to do this. Thanks for all of your with the posts... it is very much appreciated ![]() |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Look at your CSS properties editor or simply paste this into your external
CSS. body {background: #000000 url(Images/your-bg-image.jpg) no-repeat center center;} --Nancy O. Alt-Web Design & Publishing www.alt-web.com A child of five would understand this. Send someone to fetch a child of five. -- Groucho Marx (1890 - 1977) "marky707" <webforumsuser@macromedia.com> wrote in message news:g21l28$2u3$1@forums.macromedia.com... > yes, that must be it... How do I center the back ground image? I looked in the > page properties and see to put the background image in but I don't see where I > could keep it centered. Can you tell me where I should go to do this. > > Thanks for all of your with the posts... it is very much appreciated ![]() > |
|
![]() |
| Outils de la discussion | |
|
|