HighDots Forums  

Re: center the background image

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: center the background image in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gary White
 
Posts: n/a

Default Re: center the background image - 07-18-2003 , 03:32 PM






"takashi0808" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
how can I center the background image?
I know how to "fix" the background image like this
body background="./image/corner.gif" bgproperties="fixed"
now I want to know how to "CENTER" it!

The bgproperties="fixed" is an IE only proprietary extension to html. In
other words, it only works in IE. A better solution is to set your
background image via CSS. Click Text->CSS Styles->Create New CSS Style. In
the dialog, click the Redefine HTML tag radio button and select "body" from
the list. In the next dialog, set your background image, choose fixed and
center for both horizontal and vertical position. Note that NN4 does not
respect background image positioning and will always place it in the upper
left corner.

Gary




Reply With Quote
  #2  
Old   
takashi0808 webforumsuser@macromedia.com
 
Posts: n/a

Default Re: center the background image - 07-19-2003 , 11:19 AM






Thanks for your help
It looks like I need to study CSS

Thanks
Takashi




Reply With Quote
  #3  
Old   
Gary White
 
Posts: n/a

Default Re: center the background image - 07-19-2003 , 04:26 PM



"takashi0808" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks for your help
It looks like I need to study CSS
You're welcome.

Gary




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.