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 4 of 4
  1. #1
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    I have set the background-color to transparent and the h1 and h2 settings to transparent however these don't validate. even states its ok to do in the wc3 site

    every time i set the background color of the div or h1(2) it cover the image.

    can i use css to show the image on top all the time?

    heres the css

    Code:
    #header {
    	height: 170px;
      	color : #aaa;
     	width: 675px;
     	background :  transparent url('Images/nevis sm.jpg')no-repeat right;
    }
    h1{        font-size : 2.0em;
               color : #3300ff;
               background-color : inherit;
               margin : 0;
               padding : 15px 0 0;
    }
    h2 {
               clear : left;
               margin : 15px 5px 0px 0px;
               font-size : 1.7em;
               color : #000;
               background-color : inherit;
               text-decoration : underline;
    }

    can anyone help?

  2.  

  3. #2
    Senior Member
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    435
    Member #
    8983
    Code:
    background : #ffffff URL('Images/nevis sm.jpg') NO-REPEAT right;
    this should work
    Thee Pyro Wolf

  4. #3
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    i tried that but because i set the color for h1, h2 i had to set a background color of h1, h1 which covers part of the image.

  5. #4
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    its cool i managed to fix it

    the #header didn't need

    color: #aaa

    therefore not needing a background color.

    :classic:


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