www.webdeveloper.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2003
    Posts
    138

    How can I push this image down?

    The top of the image on this payment page I'm working on won't lower so I can see it...

    Page here

    I don't understand it.....I always have difficulties...Anyone?

    In firefox, i might add. Image seems to be good in IE and Chrome.
    Last edited by mike444; 12-28-2008 at 08:31 PM.

  2. #2
    Join Date
    Jun 2007
    Posts
    16
    Hello,

    Try changing:

    background-position:center;

    to

    background-position:center 0;

    or

    background-position:center 10px;

    You can play with the second number to control how far down the image goes.

    hope that helps.

  3. #3
    Join Date
    Feb 2008
    Posts
    87
    replace your body css with this

    HTML Code:
    body{ 
    	background: url("http://www.xclusivexcursion.com/paymentbackground.png");
    	background-repeat: no-repeat;
    	background-size: 100%;
    	background-position:center top;
    	background-color: #000;
    	font-size 19px;
    	color: #fff; 
    	font-family:verdana, arial;
    }

  4. #4
    Join Date
    Feb 2003
    Posts
    138
    Thanks guys!

    I used willyp's solution and it worked right away!

    >)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles