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: Images in CSS

  1. #1
    Senior Member ChrisTheCracka's Avatar
    Join Date
    May 2004
    Location
    Bellevue, WA
    Posts
    114
    Member #
    6036
    Ok, i have a file www.taggedfirst.com/Green/images

    i want those images in a CSS file, those images are used in a layout www.taggedfirst.com/Green/TFgreen.php , im lost on how to put them in the CSS file, how can i put them all in one div, then have in my html, <div id="images"></div> , then still have all my content in the right places? would i make a individual div for each image, then refer to them in place of the HTML i have for the images to show? what would be the best way to do all of this, how do i keep all the images aligned yet still have my content, navigatin, etc divs still be between the images?
    thanks for the help,

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Code:
    .images { background-image: file.jpg }
    I think this is what you need. Be sure to specify widths and heights too.


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 11:55 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com