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

Thread: CSS help w/ DIV

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Posts
    23
    Member #
    18106
    hey guys I have a similar problem here...

    Some of my div background files are showing up and some are not. Everything shows up fine in safari but not in firefox. Haven't tested it in IE yet either.

    http://www.neilhallimen.com/websterhouse/index.html

    I've attached the CSS file

    Any ideas?

    -Neil

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    What is the purpose of this?

    #BG {
    background-image:url('../images/front.jpg');
    text-align:center;
    background-repeat:no-repeat;
    padding:0px;
    margin-left:auto;
    margin-right:auto;
    margin-top:0px;
    width:1000px;
    height:750px;
    }

    I don't know why you would have the same background image for both BG and "main".

    To center the main section with IE:
    body{
    margin:0px auto;
    text-align:center;
    }


  4. #3
    Junior Member
    Join Date
    Jan 2009
    Posts
    23
    Member #
    18106
    I don't. BG is front.jpg and main is site_main.png

    The problem I was asking was that front.jpg wasn't showing up. I actually figured it out though. I wasn't doing anything wrong. Something was wrong with the file front.jpg I just re-saved it in photoshop and that did the trick.

    thanks for IE trick. forgot about that one.


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