Egg shape created with a DIV tag and a few CSS properties (without image file).
Code:
<style type="text/css">
/* http://css-tricks.com/examples/ShapesOfCSS/ */
#egg {
 display:block;
 width: 180px;
 height: 240px;
 background-color: #09fb09;
 -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px;
 border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* Content in egg */
#eggsp div {
 position:absolute;
 padding:89px 2px 2px 9px;
}
</style>

<div id="egg"><div>CSS Course<br/>http://CoursesWeb.net</div></div></div>
Demo:
CSS Course
http://CoursesWeb.net

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which meta tag provides a short description of the page?
<meta content="..."> <meta description="..."> <meta http-equiv="...">
<meta name="description" content="70-160 characters that describes the content of the page" />
Which CSS property is used to stop the wrapping effect of the "float"?
clear text-align position
#some_id {
  clear: both;
}
Click on the method which gets an array with all the elements in the document that have a specified tag name.
getElementsByName() getElementById() getElementsByTagName()
var divs = document.getElementsByTagName("div");
var nr_divs = divs.length;
alert(nr_divs);
Indicate the PHP function which returns the number of elements in array.
is_array() count() strlen()
$arr = array(7, 8, "abc", 10);
$nri = count($arr);
echo $nri;        // 4
Egg shape with CSS

Last accessed pages

  1. Drag Racer V3 (24706)
  2. addChild and removeChild (4194)
  3. Ajax-PHP Chat Script (33166)
  4. SHA512 Encrypt hash in JavaScript (7619)
  5. Qwop (55289)

Popular pages this month

  1. Qwop (10207)
  2. Drag Racer V3 (6100)
  3. Flash Games - Free online Games (2084)
  4. List with All the Games (2030)
  5. Bubbles3 (1892)