Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,174
    Thanks
    19
    Thanked 66 Times in 65 Posts

    header backgrounds...

    This code I've seen used in many places, and I've used it myself a few times but its just not working in FF atm. In IE everything is fine.

    This is the css

    Code:
    #thirdleft h1{
    background-image:url(../images/eventsh.gif);
    background-position: 3px 3px;
    background-repeat:no-repeat;
    width:48px;
    height:15px;
    margin:0px;
    }
    #thirdleft h1 span{
    display:none;}
    html:
    Code:
    <div id = "thirdbar"><div id = "thirdleft">
    	 <img src="images/dancing.jpg" width="159" height="120" alt = "teens breakdancing" align = "left" />
    	 <h1><span>Events</span></h1>
    	</div>
    </div>

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Why even put the span in there? What part isn't working? Is it not showing the image? Do you have a link to the site? Are you sure you used the proper notation for going back directories?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •