Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6475811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:44:58+00:00 2026-05-25T06:44:58+00:00

In chrome I had this CSS : input::-webkit-input-placeholder{color:blue;} input:-moz-placeholder{color:blue;} Idecided to optimize it to:

  • 0

In chrome I had this CSS :

input::-webkit-input-placeholder{color:blue;}
input:-moz-placeholder{color:blue;}

Idecided to optimize it to:

input::-webkit-input-placeholder, input:-moz-placeholder{color:blue;}

And the placeholder disappered! Why is this happenning – some kind of bug or what?

And the other problem is Opera:
‘placeholder’ in document.createElement(‘input’) returns true. So this means that it is available. But it is not showing.

The rest of the CSS for the input(if needed):

input[type=text]{
    color: blue;
    height: 24px; width: 75px;
    padding-left: 24px;
    outline: none;
    background-color: #ABABAB;
    background-image: url('searchtool-1.png');
    background-repeat: no-repeat;
    -webkit-border-bottom-right-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
       -moz-border-radius-bottomright: 6px;
       -moz-border-radius-bottomleft: 6px;
            border-bottom-right-radius: 6px;
            border-bottom-left-radius: 6px;
}

Edit: demo

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:44:59+00:00Added an answer on May 25, 2026 at 6:44 am

    While you can mix unknown CSS properties, you can not mix different unknown CSS selectors. If a browser sees an unknown selector, it will ignore the hole block.

    This is by CSS specification.

    You should also use: :-ms-input-placeholder for IE10.

    Opera should support the placeholder in input elements. Ca you make a fiddle?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Chrome v4 supports the placeholder attribute on input[type=text] elements (others probably do too). However,
So I had this working perfectly fine, but now for some reason I can't
I'm using jScrollPane and I had some issues in Chrome and Safari with the
I had recently (and unfortunately) uninstalled the google chrome browser from my computer -while
I noticed something in Chrome the other day- I had opened Developer Tools, and
Google chrome doesn't behave the same as other browsers when encountering this nugget: <?php
When using Google Chrome, I want to debug some JavaScript code. How can I
I just started using the chrome developer tools for some basic html websites and
I am building a firefox extension and need to insert some elements and css
I noticed that a site I'm maintaining had a little layout bug in FF/IE8/Chrome

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.