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.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    15
    Member #
    14056
    Hi there, am new to all this so please be gentle.
    Have been fiddling with some templates to see how different codes and CSS files work and that. Using a template with CSS2.0 compliant code, I tried to insert some picture files for background etc.
    It looks fine in IE7, but not IE6. It just looks like basic black and white scrolling page, not images or special characters etc. I know IE6 has issues with CSS but how do I make it work in BOTH versions? Here's the problem code, any thoughts?.........
    <style type="text/css">

    #container{background:#f0f0f0 url(filename.jpg) repeat-x;}
    #mainmenu a:hover{background:#f0f0f0 url(filename1.jpg) top left repeat-x;}
    #mainmenu a.current{background:#f0f0f0 url(filename2.jpg) top left repeat-x;}
    .style2 {color: #CC3300}
    </style>

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Well ... I think we're gona need more code than that. Do you have this online so we can actually see it? That would be best since the main problem is images.
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Junior Member
    Join Date
    Oct 2006
    Posts
    15
    Member #
    14056
    how much do you want? All of the page?

  5. #4
    Junior Member
    Join Date
    Oct 2006
    Posts
    15
    Member #
    14056

  6. #5
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,720
    Member #
    5580
    Liked
    718 times
    I see what's happening ...

    You need to upload ALL of the files to your webspace and
    give them all the correct paths to wherever you're uploading them.

    Right now, all of the paths are to your hard-drive, which we of
    course cannot access.

    Like this line:

    <link rel="stylesheet" href="file:///C|/Documents and Settings/Administrator/Desktop/Templates/andreas09/andreas09.css" type="text/css" media="screen" />

    Upload "andrea09.css" to the same directory as your HTML file and change
    this line to:

    <link rel="stylesheet" href="andreas09.css" type="text/css" media="screen" />

    or ...

    <link rel="stylesheet" href="andreas09.css" type="text/css" media="all" />

    (not sure why media is set to "screen")

    You then need to set the proper paths for all of your images too.


  7. #6
    Junior Member
    Join Date
    Oct 2006
    Posts
    15
    Member #
    14056
    Ah excellent, thanks! I will post again once I've made the changes

  8. #7
    Junior Member
    Join Date
    Oct 2006
    Posts
    15
    Member #
    14056
    Hmmmm still having problems, anything else still wrong? Can't see it all in IE6 still. The .css file is in the root directory on the server, the images are in the alt-img folder as it says in the code. Dreamweaver is no longer showing conflict errors on these code lines. Is it possible there's a problem with the .css file itself?

  9. #8
    Junior Member
    Join Date
    Oct 2006
    Posts
    15
    Member #
    14056
    HURRAH! I think I've got it, only done the homepage so far. Please let me know if everything seems OK. I hadn't edited the css file correctly.
    mlseim thanks loads for your help!

  10. #9
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,720
    Member #
    5580
    Liked
    718 times
    That looks much better.

    At the bottom, where you have:
    "Designed for Internet Explorer 7"

    take that off ...

    Your site should be designed for all browsers,
    and it can be designed for all browsers.


  11. #10
    Junior Member freeTheInternet's Avatar
    Join Date
    Sep 2006
    Location
    Denver/Pueblo, Colorado
    Posts
    8
    Member #
    13971
    Thank you for giving a shout out for designing Cross-Browser. It is all too often skipped over as meaningless.


Page 1 of 2 1 2 LastLast

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