legacy800 Posted November 1, 2010 Share Posted November 1, 2010 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 More sharing options...
jeffman Posted November 1, 2010 Share Posted November 1, 2010 Most likely you have a CSS stylesheet linked to the page that defines a background color for input[type=text] . Link to comment Share on other sites More sharing options...
legacy800 Posted November 1, 2010 Author Share Posted November 1, 2010 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 More sharing options...
thescientist Posted November 1, 2010 Share Posted November 1, 2010 well, what's the HTML/(complete) CSS that you have now? Do you have a link? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.