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 2 of 2

Thread: Image help

  1. #1
    Junior Member
    Join Date
    Apr 2020
    Posts
    4
    Member #
    61527

    Image help

    Ok, so I started over from scratch on my buddies website. (thankfully there is no deadline). My original page had a photoshopped image for the header but I am trying to just use html and css to layout my page. So I am trying to layout the header and everything is good except for the image. I know how to make it so that it doesn't repeat, but I cannot seem to change the size of the image to stretch it out. I can resize the header if I need to because the image gets distorted, right now its just changing the width of the image.

    Side note, after the image url I added the width attribute and the image just completely disappeared.

    Thanks in advance.
    Attached Images Attached Images

  2.  

  3. #2
    Junior Member
    Join Date
    Apr 2020
    Posts
    4
    Member #
    61527
    Apparently you can't read the pictures but here is my css code.

    .header{
    background-image: url("pictures/garagetekcover.jpg");
    border: 2px inset white;
    border-radius: 25px;
    width: 50%;
    height: 300px;
    margin: auto;
    color: white;
    text-align: center;
    font-size: 200%;
    }


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
  •  
All times are GMT -6. The time now is 05:38 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com