CSS Background Position - How to Center a Background Image in Dreamweaver

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
19,203
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 24, 2010

http://superbadinternetmarketing.com - If you're trying to center a background image for your website using CSS in Dreamweaver, it's easy once you know where to look.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (iamsuperbadim)

  • I don't have "Edit Rule" for body can U help????

  • @XlyenAnimation

    In the bottom left corner, in the Properties toolbar, you should see two options - HTML and CSS. Make sure you click on "body", then CSS to display the edit rule button. If HTML is selected you won't see the button.

    If that's not the problem, you might have to create a div container before you see that option.

  • The bottom half of my background image is still cut off. Any ideas how to have the whole thing?

  • @stekkingerj Try changing your background position Y from "top" to "center." That will keep your image centered from top to bottom. If you want the image to resize with the browser, I don't know how to do that. Sorry.

Top Comments

  • u need to tell us how to make div container dude, beginner here

see all

All Comments (29)

Sign In or Sign Up now to post a comment!
  • Thank You Sir one problem fixed, hey would you be able to tell me why when I go editCSS/Background Image and pick the same Image I made for it in FIreworks, the image comes out cut, and with the bottom half on top?

  • Thank you. That helped a lot :)

  • thank you

  • Man, Thank You so much! You're my Hero!

  • freaking cool.. love u man!!! helps me a lot!

  • nice was helpfull

    

  • how the fuck do u get a div container

  • Thanks! your video helped me a lot.

  • thanks a lot , right place indeed

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more