SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Jun 2009
    Posts
    820
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    don't get these erorrs...

    I'm getting errors on this code...

    Code:
    nav ul a, nav ul a:visited, nav ul a:active, a#toTop {
    
    	color:#037aac;
    
    	padding:8px 24px 8px 24px;
    	padding:.4em .8em;
    	
    	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
    	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
    	box-shadow:inset 0px 1px 0px 0px #ffffff;
    	-moz-border-radius:8px;
    	-webkit-border-radius:8px;
    	border-radius:8px;
    	background:#ededed;
    	border:1px solid #ccc;
    	text-shadow:1px 1px 0px #fff;
    	
    	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
    	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
    	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    }
    
    
    nav ul a:hover, nav ul a.selected, a#toTop:hover { 
    	color:#848484;
    	background:#dfdfdf; 
    	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
    	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
    	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    	}



    are there any "real" erorrs here? these are errors I'm getting:


    attempt to find a semi-colon before the property name. add it
    Property progid doesn't exist : DXImageTransform
    Parse Error DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    Parse Error }
    attempt to find a semi-colon before the property name. add it
    Property progid doesn't exist : DXImageTransform
    Parse Error DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    Parse Error }



    I don't see missing colons; and some of the other stuff mentioned.. now this code is from this button-gen page:
    http://www.cssbuttongenerator.com/

    would appreciate suggestions, insights....:-)

    thank you..

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,839
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Looks like that error is on the proprietary filter statement for Internet Explorer. - you can disregard that error until the CSS3 filter statement starts to get supported in browsers after which the IE proprietary one will cause issues.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Guru
    Join Date
    Jun 2009
    Posts
    820
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    awesome.... thank you very much....


Bookmarks

Posting Permissions

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