Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By TheGAME1264

Thread: Image size reducing

  1. #1
    Junior Member
    Join Date
    Jun 2016
    Posts
    1
    Member #
    54393

    Image size reducing

    Hey everyone - first poster here

    I am trying to teach myself web design but I have hit a snag that is driving me mad and looks really unprofessional for myy blog.

    For some reason, everything is reducing in size as you scroll down the page, it is fine in dreamweaver but as soon as you put it in a browser it starts to shrink by around 5% each image so assuming CSS (Probably wrong)

    It looks much worse on a phone as it also reduces the the text down to one line

    any help is appreciated Savannah 19 limited

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Code:
    <style type="text/css">
    body {
    background-image: url(img/bg.jpg);
    background-repeat: 100%;
    }
    </style>
    You may have meant background-size, not background-repeat.
    ConnerJohn121 likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member ConnerJohn121's Avatar
    Join Date
    Jul 2016
    Location
    London
    Posts
    11
    Member #
    54610
    Liked
    2 times
    Correct. The background repeat property is used to display the image over and over in either x, y or both axis's. It is placed according to the background-position property. If no background-position is specified, the image is always placed at the element's top left corner.


Remove Ads

Posting Permissions

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

Tags for this Thread

All times are GMT -6. The time now is 03:18 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com