Skip to main content

2 Style Contact form for Blogger/websites

2 Style Contact form for Blogger/websites
Having Contact form in blogsite and website is very important. You can here about what is site users feedback, recommendation, request even orders. There is a lot of way you can find to add contact form in your Blogger blog or websites. Using 'mailto:your email' tag to contact directly by email is pretty popular and this process use by various popular site all around the web. This 'mailto:your email' can be turned into a custom input field base contact form using HTML and CSS. And here I developed two colored contact form made up with HTML, CSS, CSS3, script and HTML5 markup, these contact forms looks neat, compilable with all web browsers, and got input fields of Name, Email, Subject and text area with warning! Below two styled contact form's code and configuration info given. Let's see how these looks, how to add in Blogger blogs or websites and configure.

Live demo- (Here you go)

Black contact form for Blogger/websites


Preview-

Black contact form for Blogger/websites


Codes for copy-

<style>/*crawlist.net CSS starts*/
.ks-confor { width: 425px; text-align: left; padding:20px 20px; color:#ccc; background:#000000; border:1px solid #000; border-radius:5px;}
.ks-confor .inject { display: block; width: 400px; height: 24px; padding: 6px 10px; margin-bottom: 20px; font: 14px Calibri, Helvetica, Arial, sans-serif; color: #ccc; background: #444; border: 1px solid #222; outline: none; -moz-border-radius:    5px; -webkit-border-radius: 5px; border-radius:         5px; -moz-box-shadow:    inset 0 0 1px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1); -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow:         inset 0 0 1px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1); -moz-background-clip:    padding; -webkit-background-clip: padding-box; background-clip:         padding-box; -moz-transition:    all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -o-transition:      all 0.4s ease-in-out; -ms-transition:     all 0.4s ease-in-out; transition:         all 0.4s ease-in-out; behavior: url(PIE.htc); }
.ks-confor textarea.inject { width: 400px; height: 200px; overflow: auto; }
.ks-confor .inject:focus { border: 1px solid #7fbbf9; -moz-box-shadow:    inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #7fbbf9; -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #7fbbf9; box-shadow:         inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #7fbbf9; }
.ks-confor .inject:-moz-ui-invalid { border: 1px solid #e00; -moz-box-shadow:    inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #e00; -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #e00; box-shadow:         inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #e00;}
.ks-confor .inject.invalid { border: 1px solid #e00; -moz-box-shadow:    inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #e00; -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #e00; box-shadow:         inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px #e00; }
.ks-confor .form-button { padding: 0 15px; height: 30px; font: bold 12px Calibri, Helvetica, Arial, sans-serif; text-align: center; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7); cursor: pointer; border: 1px solid #0d3d6a; outline: none; position: relative; background-color: #1d83e2; background-image: -webkit-gradient(linear, left top, left bottom, from(#1d83e2), to(#0d3d6a)); /* Saf4+, Chrome */ background-image: -webkit-linear-gradient(top, #1d83e2, #0d3d6a); /* Chrome 10+, Saf5.1+, iOS 5+ */ background-image:    -moz-linear-gradient(top, #1d83e2, #0d3d6a); /* FF3.6 */ background-image:     -ms-linear-gradient(top, #1d83e2, #0d3d6a); /* IE10 */ background-image:      -o-linear-gradient(top, #1d83e2, #0d3d6a); /* Opera 11.10+ */ background-image:         linear-gradient(top, #1d83e2, #0d3d6a); -pie-background:          linear-gradient(top, #1d83e2, #0d3d6a); /* IE6-IE9 */ -moz-border-radius:    16px; -webkit-border-radius: 16px; border-radius:         16px; -moz-box-shadow:    inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.7); -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.7); box-shadow:         inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.7); -moz-background-clip:    padding; -webkit-background-clip: padding-box; background-clip:         padding-box; behavior: url(PIE.htc); }
.ks-confor .form-button:active { border: 1px solid #1d83e2; background-color: #0d3d6a; background-image: -webkit-gradient(linear, left top, left bottom, from(#0d3d6a), to(#1d83e2)); /* Saf4+, Chrome */ background-image: -webkit-linear-gradient(top, #0d3d6a, #1d83e2); /* Chrome 10+, Saf5.1+, iOS 5+ */ background-image:    -moz-linear-gradient(top, #0d3d6a, #1d83e2); /* FF3.6 */ background-image:     -ms-linear-gradient(top, #0d3d6a, #1d83e2); /* IE10 */ background-image:      -o-linear-gradient(top, #0d3d6a, #1d83e2); /* Opera 11.10+ */ background-image:         linear-gradient(top, #0d3d6a, #1d83e2); -pie-background:          linear-gradient(top, #0d3d6a, #1d83e2); /* IE6-IE9 */ -moz-box-shadow:    inset 0 0 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1); -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow:         inset 0 0 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1); }
.ks-confor input[type=submit]::-moz-focus-inner { border: 0; padding: 0;}
.ks-confor label { margin-bottom: 10px; display: block; width: 300px; color: #ccc; font-size: 14px; font-weight: bold;  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;}
.ks-confor label span { font-size: 12px; color: #888; font-weight: normal; }/*crawlist.net CSS ends*/
</style>
<script>
// Replicate placeholder for input boxes and textarea in older browsers

$(function(){
    $('input[placeholder], textarea[placeholder]').each(function(){
        var $placeInput = $(this);
      
        if( 'placeholder' in document.createElement('input') ) {
            var placeholder = true;
        }
        else {
            var placeholder = false;
            $placeInput.val( $placeInput.attr('placeholder') );
        }
      
        if( !placeholder ) {
            $placeInput.focusin(function(){
                if( $placeInput.val() === $placeInput.attr('placeholder') ) {              
                    $placeInput.val('');              
                }
            })
            .focusout(function(){
                if( $placeInput.val() === '' ) {
                    $placeInput.val( $placeInput.attr('placeholder') );
                }
            });
        }      
    });
});
</script>
<!-- crawlist.net contact form starts -->
    <form action="mailto:you@email.com" class="ks-confor">
      <label for="name">Name <span>(required)</span></label>
      <input type="text" name="name" class="inject" required />
      <label for="email">Email <span>(required)</span></label>
      <input type="email" name="email" class="inject" required />
      <label for="subject">Subject <span>(optional)</span></label>
      <input type="text" name="subject" class="inject" />
      <label for="message">Message <span>(required)</span></label>
      <textarea name="message" class="inject" required></textarea>
      <input class="form-button" type="submit" value="Send Message" />
    </form>
<!-- crawlist.net contact form ends -->

 

White contact form for Blogger/websites


Preview-
white Contact form for Blogger and websites


Codes for copy-

<style>/*crawlist.net CSS starts*/
.ks-conforlight { width: 425px; text-align: left; padding:20px 20px; color:#FFF; background:#fff; border:1px solid #ccc; border-radius:5px;}
.ks-conforlight .inject { display: block; width: 400px; height: 24px; padding: 6px 10px; margin-bottom: 20px; font: 14px Calibri, Helvetica, Arial, sans-serif; color: #333; background: #fff; border: 1px solid #ccc; outline: none; -moz-border-radius:    5px; -webkit-border-radius: 5px; border-radius:         5px; -moz-box-shadow:    inset 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.5); -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.5); box-shadow:         inset 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.5); -moz-background-clip:    padding; -webkit-background-clip: padding-box; background-clip:         padding-box; -moz-transition:    all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -o-transition:      all 0.4s ease-in-out; -ms-transition:     all 0.4s ease-in-out; transition:         all 0.4s ease-in-out; behavior: url(PIE.htc); }
.ks-conforlight textarea.inject { width: 400px; height: 200px; overflow: auto; }
.ks-conforlight .inject:focus { border: 1px solid #7fbbf9; -moz-box-shadow:    inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #7fbbf9; -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #7fbbf9; box-shadow:         inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #7fbbf9; }
.ks-conforlight .inject:-moz-ui-invalid { border: 1px solid #e00; -moz-box-shadow:    inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #e00; -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #e00; box-shadow:         inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #e00;}
.ks-conforlight .inject.invalid { border: 1px solid #e00; -moz-box-shadow:    inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #e00; -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #e00; box-shadow:         inset 0 0 1px rgba(0, 0, 0, 0.3), 0 0 3px #e00; }
.ks-conforlight .form-buttonz { padding: 0 15px; height: 30px; font: bold 12px Calibri, Helvetica, Arial, sans-serif; text-align: center; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); cursor: pointer; border: 1px solid #1972c4; outline: none; position: relative; background-color: #1d83e2; background-image: -webkit-gradient(linear, left top, left bottom, from(#77b5ee), to(#1972c4)); /* Saf4+, Chrome */ background-image: -webkit-linear-gradient(top, #77b5ee, #1972c4); /* Chrome 10+, Saf5.1+, iOS 5+ */ background-image:    -moz-linear-gradient(top, #77b5ee, #1972c4); /* FF3.6 */ background-image:     -ms-linear-gradient(top, #77b5ee, #1972c4); /* IE10 */ background-image:      -o-linear-gradient(top, #77b5ee, #1972c4); /* Opera 11.10+ */ background-image:         linear-gradient(top, #77b5ee, #1972c4); -pie-background:          linear-gradient(top, #77b5ee, #1972c4); /* IE6-IE9 */ -moz-border-radius:    16px; -webkit-border-radius: 16px; border-radius:         16px; -moz-box-shadow:    inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.5); -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.5); box-shadow:         inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.5); -moz-background-clip:    padding; -webkit-background-clip: padding-box; background-clip:         padding-box; behavior: url(PIE.htc); }
.ks-conforlight .form-buttonz:active { border: 1px solid #77b5ee; background-color: #1972c4; background-image: -webkit-gradient(linear, left top, left bottom, from(#1972c4), to(#77b5ee)); /* Saf4+, Chrome */ background-image: -webkit-linear-gradient(top, #1972c4, #77b5ee); /* Chrome 10+, Saf5.1+, iOS 5+ */ background-image:    -moz-linear-gradient(top, #1972c4, #77b5ee); /* FF3.6 */ background-image:     -ms-linear-gradient(top, #1972c4, #77b5ee); /* IE10 */ background-image:      -o-linear-gradient(top, #1972c4, #77b5ee); /* Opera 11.10+ */ background-image:         linear-gradient(top, #1972c4, #77b5ee); -pie-background:          linear-gradient(top, #1972c4, #77b5ee); /* IE6-IE9 */ -moz-box-shadow:    inset 0 0 5px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.5); -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.5); box-shadow:         inset 0 0 5px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.5); }
.ks-conforlight input[type=submit]::-moz-focus-inner { border: 0; padding: 0;}
.ks-conforlight label { margin-bottom: 10px; display: block; width: 300px; color: #444; font-weight: bold; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5); font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; }
.ks-conforlight label span { font-size: 12px; font-weight: normal; color: #999; }/*crawlist.net CSS ends*/
</style>
<script>
// Replicate placeholder for input boxes and textarea in older browsers

$(function(){
    $('input[placeholder], textarea[placeholder]').each(function(){
        var $placeInput = $(this);
      
        if( 'placeholder' in document.createElement('input') ) {
            var placeholder = true;
        }
        else {
            var placeholder = false;
            $placeInput.val( $placeInput.attr('placeholder') );
        }
      
        if( !placeholder ) {
            $placeInput.focusin(function(){
                if( $placeInput.val() === $placeInput.attr('placeholder') ) {              
                    $placeInput.val('');              
                }
            })
            .focusout(function(){
                if( $placeInput.val() === '' ) {
                    $placeInput.val( $placeInput.attr('placeholder') );
                }
            });
        }      
    });
});
</script>
<!-- crawlist.net contact form starts -->
  <form action="mailto:you@email.com" class="ks-conforlight">
    <label for="name">Name <span>(required)</span></label>
    <input type="text" name="name" class="inject" required />
    <label for="email">Email <span>(required)</span></label>
    <input type="email" name="email" class="inject" required />
    <label for="subject">Subject <span>(optional)</span></label>
    <input type="text" name="subject" class="inject" />
    <label for="message">Message <span>(required)</span></label>
    <textarea name="message" class="inject" required></textarea>
    <input class="form-buttonz" type="submit" value="Send Message" />
  </form>
<!-- crawlist.net contact form ends -->

How to add in Blogger-
  • First log into your Blogger account, select your blog, 
  • Go to 'Pages' tab and create a page name 'Contact us' 
  • Select 'edit page' top left of page editing (Compose/HTML) switch to (HTML) mode
  • And paste codes in text area, and configure

How to add in websites-
  • Go to your contact page's Stylesheet and paste following code and configure.

How to configure-
  • "you@email.com" replace with your email what you intent to use as contact with you.
So having trouble, any recommendation or anything about these contact form don't forget to mention. New and more advanced contact form will be release soon, stay subscribed.

Comments

Popular posts from this blog

How to use Google Font in Blogger post

Your Blogger template’s default fonts are basically Ariel, Georgia, Times, Trebuchet, Helvetica. These fonts are simple and not so attractive. If your blog running with these default fonts may be you will lost some audience, those audience who care about your blog design overall too. But these default fonts can be change easily. There are lots of font provider offers web fonts what can be easily integrate to your site. Google web font is one of best web font provider. In Google font’s collection more than 650+ font with various styles you can find. Using Google font in your post, you can customize your font style more specifically, like font thickness, slant, width, line height, font weight, font script etc. Let’s add Google font in your Blogger, this process is easy and difficulty is beginner. Read on-

How to use/install Google Font in Blogger post
Step 1: Choosing Fonts
Go to Google web font (Here), See demo of font family by Word, Sentence, Paragraph. Use Filter (Left side) for find …

Add Cool Social Media Sharing icons below posts in Blogger

Change the taste of random looking social sharing button below posts in Blogger, here you can find a different and cool social media sharing widget what I named it Coldblodded! This social sharing widget loads faster than other icon base social shares, it's icons change color with mouse hover with flipping effect, it got the major social media sites share, main color is black colored what looks artistic and attractive.
Coldblodded social media sharing widget offers shares a post to Facebook, Twitter, Google plus, Pinterest and bookmark a post on Delicious, Evernote, Stumble upon, Digg, Blogger, Yahoo bookmarks additional feedburner email subscription. It made with CSS, HTML and icons uses only a piece of image what will draw all icon process calls CSS image transition CSS Sprite, This widget also reduce HTTP request unlike other icon base sharing choices. Will be fit to any kind of Blogger blog, no matter they are professional blogs, gallery or other features sites. Let's see…

How to Auto tweet and Auto post to Facebook your Blogger blog’s post

Letting your social networking fan know about your new published post instantly ‘Auto tweet and auto post to Facebook’ your post is very effective and time saving. For Wordpress - using plugin can solve this auto tweet and auto post job but Blogger doesn’t have option like this. But there is also solution exists. Let’s see what I’m talking about Auto tweet and Auto post to Facebook your blogger blog’s post.


How to Auto tweet and Auto post to Facebook your Blogger’s post

Twitter Feed, does the job easily. All you need to do is set up your blog URL at their service. Here is a quick overview: How to submit you blog at Twitter Feed for Auto tweeting and Auto posting to Facebook your Blog post.

Below walk through steps are written; just read on:-
Open an account at Twitter Feed, confirm your email, and visit dashboard.Click on ‘Create new feed’, you will direct to setup pageIn setup page ‘Name your feed’ and ‘add your source URL’ you’ll be fill up with your site’s feed. Every site has feed…

Easily Get 50000 free Backlink for your website

Backlinks are heart of SEO. Without backlink your website will not get a good position in search result and won't get indexed quickly. As you already knew there is two ways you can get backlinks one is Natural linking and another is paid or automated linking. Natural linking is worth to doing and it takes a while but if you don’t have enough time, running a professional business website and need to reach a destination quickly, automated backlinking going to be your last choice. To make automated backlinks you will need to buy paid link package or if you just don’t willing to buy links right now let’s start with free. Here such kind of free backlink maker, free backlink generator listed. And definitively you have a chance to create 50000+ free backlink for your website. But you should also remember Google doesn't like it, I mean Google doesn't recommend it at all. Read on-

+ 50000 free backlink for your websiteIndex kings
Rapid website submitter index kings it will submit y…

How to remove 'You may use these Html tags and attributes'

You may use these HTML tags and attributes makes our Wordpress comment box/form noisy, ugly and wired! Some visitor just gets shocked with these messy HTML note tag and attributes using request and don't like to comment in your site anymore. To remove this HTML tag note, all you need to embed a code phrase in to your Wordpress theme. Actually this will not really remove or delete this ugly HTML tag using request from comment form, This CSS code phrase embedding will disallow/disable HTML tag note from Wordpress comment box of your theme.

This code phrase is-

 .form-allowed-tags { display:none; }

How to remove You may use these HTML tags and attributes
I am using Twenty Fourteen Wordpress default theme for this tutorial (actually it will work on any theme because Stylesheet contains all CSS codes and this code just will disallow/hide up this comment HTML note)

Step 1 : Select the theme you use Log in to your Wordpress, From dashboard hover mouse on Appearance menu, Select 'Themes…