PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > Shrinking background
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Shrinking background

Réponse
 
LinkBack Outils de la discussion
Vieux 02/06/2008, 16h37   #1
marky707
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Shrinking background

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

  Réponse avec citation
Vieux 02/06/2008, 16h42   #2
marky707
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Shrinking background

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.

  Réponse avec citation
Vieux 02/06/2008, 16h42   #3
darrel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Shrinking background

> 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


  Réponse avec citation
Vieux 02/06/2008, 19h55   #4
Nancy O
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Shrinking background

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
>



  Réponse avec citation
Vieux 02/06/2008, 21h26   #5
marky707
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Shrinking background

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

  Réponse avec citation
Vieux 02/06/2008, 21h39   #6
Nancy O
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Shrinking background

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


>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h11.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12583 seconds with 14 queries