Archive for the ‘HTML’ Category
  • PSD TO XHTML Slicing Service
    by Alex
    Posted October 6th, 2008 at 11:26 am

    Finding a good and fast PSD to XHTML slicing service  can be quite a hassle with all the slicing websites existing on the market today. Markup-Service.com provides hand-coded conversion of your designs into high quality, W3C valid XHTML/CSS in less than 8 hours.

    The XHTML / CSS services they provide are :

    • W3C Valid and compliant
    • Cross browser compatible (IE 6+, FF 2+, Opera 9+, Safari 2+, Google Chrome)
    • SEO Semantic
    • Pixel precise
    • Optimized for load speed
    • Logically structured
    • Easy to update
    • Self explanatory in terms of class names
    • Accessible for people with disabilities

    With Markup-Service you can get out of you design just about any technical requirements you like : XHTML 1.0 Strict / Transitional, CSS 2.1 (CSS3), Search Engine Optimization, Tableless coding, Commented code, Dynamic HTML: hover states, dynamic drop down menus, Fluid width layouts, Font options: relative font sizes, sIFR, SSI (PHP) includes, Microformats, Accessibility (WCAG 1, Section 508/ DDA) .

    Markup-Service.com

    The delivery time for each project is 8 hours for the homepage and 3-6 hours for each inner page and the services are available 24/7.

    For placing an order you have a variety of options and discounts available on a very detailed order page like 50% discount on each inner page and 10% discount on bulk orders, and an abundance of cool additional options like: Dynamic Drop Down Menus, sIFR, SSI templates and Rollover Implementation. Markup Service offers 3 packages – Standard, Professional and Deluxe, each having its own set of options.

    Markup-Service.com Order Page

    For potential customers that would like to get an exact quote there’s a contact page with an upload form for a precise estimate based on your design.

    They also have a page with their clients’ testimonials and examples of their work. Here’s a great example of the quality of services Markup-Service.com offers :

    Markup-Service.com Testimonials and Examples

  • Designing a stylish contact form for your portfolio
    by Alex
    Posted July 12th, 2008 at 2:06 am

    This tutorial will show you how to design a stylish, custom contact form for your website / portfolio from scratch. It will cover all the aspects of the design including the CSS and HTML coding and PHP programming.

    The result will be a fully functional, personalized contact form and will look like this :

    Designing a stylish contact form final result

    As you can see the contact form consists of 2 parts : one containing the contact information of the sender, labeled “Your contact information” and one part regarding the sender’s message, labeled “Your message“. Each part represents, as you will see below, a fieldset tag, and both are integrated in a form tag. The form also integrates a very simple and basic captcha system that you will see works pretty well, considering most spammers aren’t concerned about portfolio websites, so they don’t use advanced spam robots to trick these contact forms. A more advanced captcha system can be developed using a database and an array in PHP or can be found can be found on the internet (for example here).

    The HTML part

    For the HTML part you will need some basic knowledge of some HTML tags like : form, fieldset, label and input. As I said before the form is composed by 2 fieldsets. The first fieldset, “Your contact information“consists of 3 text inputs, namely “Name“, “E-mail“, “Subject“. As you can see in the code below we are using labels to name the inputs and p tags to align them 70px to the right (this can also be done via the CSS file).

    The most important thing regarding the input tags is their name attribute. We named each input according to what it does, “name“, “email“, “subject“. Remember these as we will use them in the PHP file.

    The second fieldset contains the message box defined by a textarea tag with 7 rows and 50 cols (these are attributes that define the textarea’s height and width) . It also includes the input for the captcha and a special kind of input, for the submit button. For this fieldset too it’s important to remember the name attributes of each input and textarea, namely “comments“, “spam” and “submit“.

    <form action="contact.php" method="POST">
    <fieldset>
    <legend>Your contact information</legend>
    <p style="margin-left:70px">
    <label><strong>Name:</strong></label>(required)<br />
    <input type="text" name="name" value=""  />
    </p>
    <p style="margin-left:70px">
    <label><strong>E-mail:</strong></label>(required)<br />
    <input type="text" name="email" value="" />
    </p>
    <p style="margin-left:70px">
    <label><strong>Subject:</strong></label>(required)<br />
    <input type="text" name="subject" value="" />
    </p><br />
    </fieldset>
    <fieldset>
    <legend>Your message</legend>
    <p style="margin-left:70px">
    <label><strong>Message:</strong></label>(required)<br />
    <textarea name="comments" rows="7" cols="50" ></textarea>
    </p>
    <p style="margin-left:70px">Security code : <strong>56728</strong><br />
    <label><strong>Please enter the code you see above :</strong></label>(required)<br />
    <input type="text" name="spam" value="" />
    </p>
    <p style="margin-left:70px">
    <input class="button" name="submit" type="submit" value="Send" />
    </p>
    </fieldset>
    </form>

    As you can see the form calls a file called “contact.php“. This is the PHP file that we’ll actually use to send the email message.

    The CSS part

    We created the HTML form. It’s time to dress it up a little. We”ll do this by defining proprieties for the inputs and textareas in the CSS file.

    As you can see we defined 3 proprieties for the inputs and textarea, one in the normal state, one on hover (when the mouse is over it) and one on focus (when you actually click on it and start typing text). The hover and focus states are identical in this case, but you can define them individually. As you can see when we hover over the inputs and textareas this image is loaded in the top right corner. Also the color of the border changes from #666666 to #000000. There are virtually unlimited possibilities on what you can in terms of style with these textareas and inputs and depends only on one’s creativity.

    input, textarea {
    border:1px solid #666666;
    font-family:Verdana,Tahoma,Arial,Sans-Serif;
    font-size:1em;
    margin:0;
    padding:4px;
    background:#fff;
    }
     
    input:focus, input:hover,textarea:focus, textarea:hover{
    border: 1px solid #000;
    background:url(../images/contact_crazyleaf.gif) top right no-repeat;
    }
     
    label {
    margin:2px;
    }
     
    input {
    width:300px;
    }
     
    .button {
    margin:0 0 15px 0;
    background:url(../images/div_back_contact.gif);
    color:#000;
    font-weight:bold;
    width:310px;
    }

    Minor alignment adjustments are also a must so everything aligns perfectly. The contact form is the last thing standing between you and the client. You want it to be as perfect as it can be.

    The PHP part

    This is the really tricky part.

    First off you need to create a file (with Notepad or other text editor) called contact.php You can name this file anyway you like, just remember the name of the file must be identical to what you input in your action attribute on your HTML form. Additionally you have to create 2 more HTML files, one called thankyou.html, and one error.html. The first file will be loaded if the information from the form has been send successfully and the second one in there were errors.

    The PHP file consists of multiple parts. The first part defines some constants, like the email address the information will be sent to ($mailto), the URL that contains the HTML form that is collecting the information ($formurl), the URL of the thank you page ($thankyouurl), and the URL for the error page ($errorurl).

    The second part reads the information sent by the HTML form. Remember when I said it’s important to remember the name attributes of each input and textarea? Well, this is where we use them. This part of the script takes each value inserted in each input and textarea and inserts it into a PHP variable.

    The third part verifies with two PHP if instructions if the required fields have been completed and if the basic captcha has been entered correctly. If so the script passes to the final part, if not the error page will be displayed.

    The forth and last part of the script composes the message and sends it to you (to the mail address defined in the first part of the script, in the configurable area).

    <?
    $mailto = 'name@name.com' ;
    $subject = "Contact form message - Crazyleafdesign" ;
    $formurl = "http://www.yoursite.com/contact.html" ;
    $errorurl = "http://www.yoursite.com/error.html" ;
    $thankyouurl = "http://www.yoursite.com/thankyou.html" ;
     
    // -------------------- END OF CONFIGURABLE SECTION ---------------
     
    $name = $_POST['name'] ;
    $email = $_POST['email'] ;
    $subject = $_POST['subject'] ;
    $comments = $_POST['comments'] ;
    $spam=$_POST['spam'] ;
    $http_referrer = getenv( "HTTP_REFERER" );
     
    if (!isset($_POST['email'])) {
    	header( "Location: $formurl" );
    	exit ;
    }
    if (empty($name) || empty($email) || empty($subject) || empty($comments) || $spam!="56728") {
       header( "Location: $errorurl" );
       exit ;
    }
    $name = strtok( $name, "\r\n" );
    $email = strtok( $email, "\r\n" );
    $subject = strtok( $subject, "\r\n" );
    if (get_magic_quotes_gpc()) {
    $comments = stripslashes( $comments );
    }
     
    $messageproper ="---------- Crazyleafdesign.com message ----------\n\n" . "\nSent by : " . $name . "\nEmail : " . $email . "\nSubject : " . $subject . "\n\n\nMessage : " . $comments;
     
    mail($mailto, $subject, $messageproper, "From: \"$name\" <$email>\r\nReply-To: \"$name\" <$email>\r\nX-Mailer: chfeedback.php 2.04" );
    header( "Location: $thankyouurl" );
    exit ;
    ?>

    That’s about it. The form is complete. You can see it in action on our site.

    A custom contact form with an upload field will be available in one of our future tutorials.

  • Redirect your HTML pages without using Javascript or PHP
    by Alex
    Posted July 10th, 2008 at 2:19 pm

    This tutorial will show you to redirect users to another webpage without using header and other PHP methods. It’s actually very simple, just one line of HTML code.

    Place the code in the head tag of you HTML page :

    <meta http-equiv="Refresh" content="1 url=http://www.yoursite.com/newpage.html">

    In the Content attribute there is the number 1, and an URL. The number 1 represents the number of seconds until the redirection is made, and the URL is the web address the user is redirected to.

    For more tutorials head over to our tutorial site

  • Sunday Design Resource - Issue 2
    by Alex
    Posted November 11th, 2007 at 8:17 pm

    For the second issue of the Sunday Design Resource, we’ll be pointing out some HTML Tutorial websites. These websites cover all aspects of web design, beginning with the basics and going through hints, tricks and optimizing your code to make it W3C Compliant.

    W3C Website. Probably the first, most complete and up-to-date HTML tutorials website. W3C is the abbreviation to World Wide Web Consortium, and it’s an international consortium where Member organizations, a full-time staff, and the public work together to develop Web standards. W3C’s goal is :

    To lead the World Wide Web to its full potential by developing protocols and guidelines that ensure long-term growth for the Web.

    Sunday Design Resource Issue 2

    On this website you’ll find everything you need to know about HTML, and not only HTML. There are extensive resources about CSS, also. The downside is accessing that information. The site’s navigation is pretty basic, being organized just like the contents of a book (organized by chapters). Getting to the HTML part requires some dose of intuition, but once you get there all your questions will be answered. The information database is vast containing everything you need to know about HTML, including the latest developments in this field (HTML5). As a conclusion, navigation aside this is the website you wanna visit if you want to learn all about HTML.

    Ads
    If you’re looking for web design and other services for your company, our site can help promote your online business with business checks and magnets as well.

    W3Schools is a website containing information about all aspects of web development, from basic HTML training to advanced .NET tutorials.

    W3Schols

    The website’s navigation is very good and intuitive, consisting of a left column with the topic you want to learn about (HTML, XHTML, CSS, PHP, ASP etc). The HTML part is excellently organized using the same navigation style as stated before. It’s divided into 2 main chapters (Basic and Advanced). After reading the basic and advanced tutorials you have the opportunity to check you knowledges by taking a quiz, or even by taking an exam (for about 60$) which will grant you the title of Certified HTML Developer at the end. What we liked about this website were the HTML examples. The example database is quite extensive and covers all the aspects of HTML. As a conclusion W3Schools in an excellent website with tons of information, but a bit hard to read because each page is a bit too “loaded”.

    HTML Code Tutorial. This website is not as complete as the other two. It’s build as a beginners guide to HTML and CSS.

    HTML Code Tutorial

    Although not as complex as W3C and W3Schools, the website has an excellent navigation system. The content is organized by topics. An interesting thing is that the website offers a Popular Articles Section. A big minus is the site’s search system. It’s not self implemented, it’s a Google Search Box. What we really loved about this website is the forum. It’s pretty big, with lots of helpful users and topics. You find here answers to any problem you may have. Concluding, HTML Code Tutorial is a good website with a decent amount of information, an excellent navigation system (needed as the search function is pretty basic) a great forum with lots of helpful members, but with a bit too much advertising.

    Additional HTML resources :

  • Cool CSS animated menu - MacOS style
    by Alex
    Posted November 9th, 2007 at 7:39 pm

    Ever wondered how they made that cool MacOS bottom menu, with icons that become larger when the cursor is on top of them? Well .. with some neat tricks.

    Cool CSS animated menu - MacOS style

    This CSS Animated Menu does exactly that. It’s based on JQuery Java script library and Fisheye component from Interface. It’s 100% compatible with IE 6, IE 7, Opera 9, Firefox 2, and Safari 2. You may see a demo here and you can download and find out how to implement it in your HTML page here.

 Page 1 of 3  1  2  3 »
Sponsors
PSD to HTML
PSD to HTML
Elegant Wordpress Themes PSD to HTML
Favicon Ads
Share your design news Free Joomla Templates Free mediawiki skins Free pligg templates Flash web templates Web Design and Graphic Design Forum CLD Vectors - Free Vectors for Download Free Vectors
RSS Feed
Around The Site
Sponsor
The World's Best Web Design
Sponsors
Need templates ?
Thousands of themes and templates
User Links Panel
RSS User Links
Friends
We recommend
Sponsor

Money Saving Tips
Find cheap business cards printing, postcard printing and brochure printing by searching for online coupons. Search terms like "print flyers coupon code" in your favorite search engine.