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 5 of 5
  1. #1
    Regular Coder
    Join Date
    Mar 2008
    Posts
    235
    Thanks
    6
    Thanked 21 Times in 20 Posts

    Input changes not effecting IE6/7

    Hi I have an input box id="btnSubmit" and this is the CSS:

    Code:
    #header #btnSearch {
    			float:left;
    			margin-top:12px;
    			background-image:url("./images/btn-search.jpg");
    			width:17px;
    			height:17px;
    			display:bock;
    		}
    Any ideas why this doesnt appear to be working in IE6/7?
    Andrew Sharman
    Web designer, developer and programmer.

    If you found my post helpful, why not give thanks! :)

  • #2
    Regular Coder Pepe, the bull's Avatar
    Join Date
    Feb 2005
    Location
    Vancouver, WA
    Posts
    163
    Thanks
    1
    Thanked 16 Times in 16 Posts
    Code:
    display:block;
    Maybe? What do you mean by "not working"?
    Pepe, the bull

  • #3
    New Coder
    Join Date
    May 2008
    Location
    Sydney, Australia
    Posts
    45
    Thanks
    0
    Thanked 8 Times in 8 Posts
    Wanna link us to a live version, I'll be able to help you a bit more then.

  • #4
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    Quote Originally Posted by udjamaflip View Post
    Hi I have an input box id="btnSubmit" and this is the CSS:

    Code:
    #header, #btnSearch {
    			float:left;
    			margin-top:12px;
    			background-image:url("./images/btn-search.jpg");
    			width:17px;
    			height:17px;
    			display:bock;
    		}
    Any ideas why this doesnt appear to be working in IE6/7?
    I'm assuming you wanted the code for BOTH id items, right?
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #5
    Regular Coder Pepe, the bull's Avatar
    Join Date
    Feb 2005
    Location
    Vancouver, WA
    Posts
    163
    Thanks
    1
    Thanked 16 Times in 16 Posts
    The way he has it just means that #btnSearch has to be in the #header section. If he had two #btnSearch sections (which he shouldn't with an id, but if he did), one in the #header and one out, then only the one in the #header would be affected.
    Pepe, the bull


  •  

    Posting Permissions

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