Jump to content

Input fields bg color


legacy800

Recommended Posts

Hello,I have made an contact form for my website but 3 fields are having a blue background without me having done any css work on them.So it's pretty much automatically set to a lightblue background.here is the html:<form method="post" action="contactengine.php"><label for="Name">Naam:</label> <input type="text" name="Name" id="Name" /> <label for="City">Stad:</label> <input type="text" name="City" id="City" /> <label for="Email">Email:</label> <input type="text" name="Email" id="Email" /> <label for="Message">Bericht:</label><br /> <textarea name="Message" rows="20" cols="20" id="Message"></textarea> <input type="submit" name="submit" value="Verzenden" class="submit-button" /> </form>The message area doesn't have this lightblue background, can anyone clarifiy why the top 3 input fields do have a bg color though.If needed I can provide a screenshot.

Link to comment
Share on other sites

Most likely you have a CSS stylesheet linked to the page that defines a background color for input[type=text] .
It even seems to happen with all css disabled, is this something firefox does automatically?Problem is when trying to define another background color it doesn't want to accept any.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...