Web designer logo web designer nepal freelance web developer nepal web developer nepal

freelance web designer and developer in sydney australia

Home Tags CSS
Tags >> CSS
Jul 04
2012

HTML5 Past, Present and Future: Explaining Reality of HTML5

alfredwinston

HTML5 Past, Present and Future, Explaining Reality of HTML5, web and mobile application, html5 development

Dot Com Infoway (DCI) has released an infographic on HTML5 titled 'HTML5 Past, Present & Future' which sheds new light on the evolution, features and functionalities of HTML5. The published infographic illustrates the evolution of HTML from its inception in 1990 to HTML5 in 2009 with the help of a timeline. The key features and the uses of HTML5 are also listed briefly. HTML 5 aims to improve upon its predecessors by enhancing the language and support while still being compatible and understandable by current media devices and web browsers.

Sep 01
2011

10 Excellent tools for CSS Grid-Based Layouts in web designing

admin

css, grid based web design, css layout designer, web designer nepal

As we know web pages essentially revolve around boxy shapes called rectangles. These rectangles  come together in some way to form a well-formed design. Few years ago, when i started designing web, i learned to design a web in table based layout. But now table based layout has become old fashioned. Cascading Style Sheets (CSS) has been already introduced to improve the capabilities of web presentation.

Aug 21
2009

Drop shadows

admin
CSS2 doesn't have a property to add a shadow to a box. You can try to add a border to the right and bottom, but it won't look right. However, if you have two nested elements, you can use the outer one as a shadow for the inner one. For example, if you have a text like this (HTML):

<div class=back>
  <div class=section>
    <h2>Die Rose duftet - doch ob sie empfindet</h2>
    <address>Heinrich Heine (1797-1856)</address>

    <p>Die Rose duftet - doch ob sie empfindet<br>
    ...
  </div>
</div>

you can use the outer DIV as a shadow for the inner one. The result might look like this separate page. First, give the BODY a background (light green in this example), the outer DIV a somewhat darker background (green-gray) and the inner DIV another background (e.g., yellow-white):

body {background: #9db}
div.back {background: #576}
div.section {background: #ffd}

Next, by using margins and padding, you offset the inner DIV a little to the left and up from the outer DIV:

div.back {padding: 1.5em}
div.section {margin: -3em 0 0 -3em}

You also have to move the outer DIV a little to the right. And if you have multiple sections, you probably want some space between them, too:

div.back {margin: 3em 0 3em 5em}

That's basically it. You can add a border around the inner DIV if you want. You'll probably also want some padding inside it, e.g.:

div.section {border: thin solid #999; padding: 1.5em}

Of course, you can vary the size of the shadow to your taste.
Aug 21
2009

Styling Your forms with CSS and Labels

admin
Here's how you would use the label tag and some CSS to create a stylin' form with very little markup:

<style>
label { position: absolute; text-align:right; width:130px; }
input, textarea { margin-left: 140px; }
label.check, label.radio { position:relative; text-align:left; }
</style>
<form>
<label for="name">Your Name:</label>
<input type="text" name="name" id="name" /><br />
<label for="email">Your Email:</label>
<input type="text" name="email" id="email" /><br />
<input type="checkbox" name="subscribe" id="subscribe" />
<label for="subscribe" class="check">Subscribe</label>
</form>

If you don't want to apply this styling to ALL forms on your website what I usually do is give my form an id, and then use the ID in the style sheet such as:

#myFormID input, #myFormID textarea { ... }

Publish Article

Welcome!

Nirmal: Freelance web designer and developer from nepalMy name is Nirmal, a Freelance Front-end Web Developer based on Sydney, Australia. I am currently working as a Chief Technology Officer at Marketing Eye, Sydney and also pursuing Web Technology Specialization degree from Macquarie University, Australia.  I am well versed with Open source CMS and portal frameworks like Joomla, Drupal, Wordpress.

If you have something to share about Information Technology, this site is open for guest blogging. Register here or contact me directly.

Nirmal's Travel Photo Blog

Nirmal's Nepali Blog on Information technology

Nirmal's Programming Blog, JAVA, oracle, c++, sql, vb.net

Nirmal's Modeling portfolio, Nepali Male Model Nirmal, Glamorous Photo of Nirmal

Popular Tags

Content View Hits : 10169198