Web Design Forum: DW - auto center the background image - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

DW - auto center the background image Rate Topic: -----

#1 User is offline   Malcolm 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 24-March 11
  • Reputation: 0
  • Gender:Male
  • Experience:Beginner
  • Area of Expertise:Web Developer

Posted 04 April 2011 - 12:54 PM

On a website I developed using Adobe Dreamweaver CS5, I recently learnt how to auto center the content of the page for different computer resolutions using a CSS page. Although the background image I'm using, which is crucial to the pages, hasn't also centered (only the content).
0

#2 User is offline   sash_oo7 

  • Forum Newcomer
  • PipPipPipPip
  • Group: Members
  • Posts: 837
  • Joined: 15-August 10
  • Reputation: 45
  • Gender:Male
  • Location:Mars
  • Experience:Nothing
  • Area of Expertise:Nothing

Posted 04 April 2011 - 02:03 PM

View PostMalcolm, on 04 April 2011 - 12:54 PM, said:

On a website I developed using Adobe Dreamweaver CS5, I recently learnt how to auto center the content of the page for different computer resolutions using a CSS page. Although the background image I'm using, which is crucial to the pages, hasn't also centered (only the content).

can u post the code?
0

#3 User is online   Bomb 

  • Expert
  • PipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 694
  • Joined: 09-October 10
  • Reputation: 88
  • Gender:Male
  • Location:Cheshire, UK
  • Experience:Advanced
  • Area of Expertise:Designer

Posted 04 April 2011 - 02:37 PM

View Postwebdesignunited, on 04 April 2011 - 02:34 PM, said:

Yes I can, but there will be some charges for that. If you are willing to pay, I can positively provide you with the codes.


WOW!! :fool:

To the OP, is the background image in body tags of your css? If so you could use something like this...

body{background:transparant url(location/of/your/image.jpg)no-repeat top center;
}

This post has been edited by Bomb: 04 April 2011 - 02:41 PM

0

#4 User is offline   NeRo 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 824
  • Joined: 28-September 07
  • Reputation: 39
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 04 April 2011 - 03:13 PM

FFS this isn't a trade secret and I'm disgusted that a forum member would request being paid rather than help another forum member

@ Malcolm - this has been discussed numerous times on the forum and the main discussion can be found here TUTORIAL: how to center a site using css A quick tutorial
0

#5 User is online   zed 

  • Web Guru
  • Group: Moderators
  • Posts: 4,941
  • Joined: 25-May 10
  • Reputation: 703
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 04 April 2011 - 03:36 PM

indeed. new lows.

there's a how to here http://www.webdesign...site-using-css/
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users