Feeds:
Posts
Comments

-If the Third World War is fought with nuclear weapons, the fourth will be fought with bows and arrows.

By: Lord Louis Mountbatten

-I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.

By: Albert Einstein

There are prophecies and oracles from around the world that all seem to point to December 21, 2012 as New World Age ( World is not going to end but millions of people could die in the process of New Age Transition). The ancient Mayan Calendar, the medieval predictions of Merlin, the Book of Revelation and the Chinese oracle of the I Ching all point to this specific date as the end of civilization. A new technology called “The Web-Bot Project” makes massive scans of the internet as a means of forecasting the future… and has turned up the same dreaded date: 2012. Skeptics point to a long history of “Failed Doomsdays”, but many oracles of doom throughout history have a disturbingly accurate track record.

Prophesies from many traditions from all over the world over speak of a great transformative shift that is happening in the years around 2012. The Mayan calendar comes to a close on December 21st 2012. The Q’ero Shamans of Peru speak of this same timeframe in their prophecy called Pacha Kuti which is the time in which they say that the luminous ones will return and the world will be turned right side up again. The Muslims, Hindus, Buddhists, Cherokee, Maori, Jews, Christians and many others have ancient prophesies that speak to the nature of this very crucial and amazing moment in time. We are documenting much of this traditional knowledge and more in this research project.

Mastering CSS Basics

We’ll start with what you could call the fundamental properties and capabilities of CSS, ones that we commonly use to build CSS-based websites:

  1. Padding vs. margin
  2. Floats
  3. Center alignment
  4. Ordered vs. unordered lists
  5. Styling headings
  6. Overflow
  7. Position

1. Padding vs. Margin

Most beginners get padding and margins mixed up and use them incorrectly. Practices such as using the height to create padding or margins also lead to bugs and inconsistencies. Understanding padding and margins is fundamental to using CSS.

What Is Padding and Margin?

Padding is the inner space of an element, and margin is the outer space of an element.

The difference becomes clear once you apply backgrounds and borders to an element. Unlike padding, margins are not covered by either the background or border because they are the space outside of the actual element.

Margin and padding values are set clockwise, starting from the top.

2. Floats

Floats are a fundamental element in building CSS-based websites and can be used to align images and build layouts and columns. If you recall how to align elements left and right in HTML, floating works in a similar way.

According to HTML Dog, the float property “specifies whether a fixed-width box should float, shifting it to the right or left, with surrounding content flowing around it.”

The float: left value aligns elements to the left and can also be used as a solid container to create layouts and columns. Let’s look at a practical situation in which you can use float: left.

The float: right value aligns elements to the right, with surrounding elements flowing to the left.

3. Center Alignment

The days of using the <center> HTML tag are long gone. Let’s look at the various ways of center-aligning an element.

Horizontal Alignment

You can horizontally align text elements using the text-align property. This is quite simple to do, but keep in mind when center-aligning inline elements that you must add display: block. This allows the browser to determine the boundaries on which to base its alignment of your element.

1 .center {
2 text-align: center;
3 display: block; /*--For inline elements only--*/
4 }

To horizontally align non-textual elements, use the margin property.

The W3C says, “If both margin-left and margin-right are auto, their used values are equal. This horizontally centers the element with respect to the edges of the containing block.”

Horizontal alignment can be achieved, then, by setting the left and right margins to auto. This is an ideal method of horizontally aligning non-text-based elements; for example, layouts and images. But when center-aligning a layout or element without a specified width, you must specify a width in order for this to work.

4. Ordered vs. Unordered Lists

An ordered list, <ol>, is a list whose items are marked with numbers.

An unordered list, <ul>, is a list whose items are marked with bullets.

By default, both of these list item styles are plain and simple. But with the help of CSS, you can easily customize them.

To keep the code semantic, lists should be used only for content that is itemized in a list-like fashion. But they can be extended to create multiple columns and navigation menus.

5. Styling Headings

The heading HTML tag is important for SEO. But regular headings can look dull. Why not spice them up with CSS and enjoy the best of both worlds?

Once you have the main styling properties set for your headings, you can now nest inline elements to target specific text for extra styling.

6. Overflow

The overflow property can be used in various ways and is one of the most useful properties in the CSS arsenal.

What Is Overflow?

According to W3Schools.com, “the overflow property specifies what happens if content overflows an element’s box.”

Visually, overflow: auto looks like an iframe but is much more useful and SEO-friendly. It automatically adds a scroll bar (horizontal, vertical or both) when the content within an element exceeds the element’s box or boundary.

The overflow: scroll property works the same but forces a scroll bar to appear regardless of whether or not the content exceeds the element’s boundary.

And the overflow: hidden property masks or hides an element’s content if it exceeds the element’s boundary.

Quick tip: have you ever had a parent element that did not fully wrap around its child element? You can fix this by making the parent container a floated element.

In some cases, though, floating left or right is not a workable solution — for example, if you want to center-align the container or do not want to specify an exact width. In this case, use overflow: hidden on your parent container to completely wrap any floated child elements within it.

7. Position

Positioning (relative, absolute and fixed) is one of the most powerful properties in CSS. It allows you to position an element using exact coordinates, giving you the freedom and creativity to design out of the box.

You have to do three basic things when using positioning:

  1. Set the coordinates (i.e. define the positioning of the x and y coordinates).
  2. Choose the right value for the situation: relative, absolute, fixed or static.
  3. Set a value for the z-index property: to layer elements (optional).

With position: relative, an element is placed in its natural position. For example, if a relatively positioned element sits to the left of an image, setting the top and left coordinates to 10px would move the element just 10 pixels from the top and 10 pixels from the left of that exact spot.

Relative positioning is also commonly used to define the new point of origin (the x and y coordinates) of absolutely positioned nested elements. By default, the base position of every element is the top-left corner (0,0) of the browser’s view port. When you give an element relative positioning, then the base position of any child elements with absolute positioning will be positioned relative to their parent element — i.e. 0,0 is now the top-left corner of the parent element, not the browser’s view port.

An element with a value of position: absolute can be placed anywhere using x and y coordinates. By default, its base position (0,0) is the top-left corner of the browser’s view port. It ignores all natural flow rules and is not affected by surrounding elements.

The base position of an element with a position: fixed value is also the top-left corner of the browser’s view port. The difference with fixed positioning is that the element will be fixed to its location and remain in view even when the user scrolls up or down.

The z-index property specifies the stack order of an element. The higher the value, the higher the element will appear.

There are exciting new features in the pipeline for Cascading Style Sheets that will allow for an explosion of creativity in Web design. These features include CSS styling rules that are being released with the upcoming CSS3 specification. Realistically, you won’t be able to use these on your everyday client projects for another few years, but for design blogs and websites aimed at the Web design community, these features can help you push the boundaries of modern Web design today, adding that extra spice to your design and helping the industry move forward.

Here are five techniques snatched from the future that you can put into practice in your website designs today.

1. Border Radius

Probably the most common CSS3 feature currently being used is border-radius. Standard HTML block elements are square-shaped with 90-degree corners. The CSS3 styling rule allows rounded corners to be set.
pre class=”brush: css;”
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;

Border-radius can also be used to target individual corners, although the syntax for -moz- and -webkit- is slightly different:
pre
-moz-border-radius-topleft: 20px;
-moz-border-radius-topright: 20px;
-moz-border-radius-bottomleft: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-top-right-radius: 20px;
-webkit-border-top-left-radius: 20px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;

Supported in Firefox, Safari and Chrome.

As used by: Twitter.

See also:

2. Border Image

Border-image, as the name suggests, allows an image file to be used as the border of an object. The image is first created in relation to each side of an object, where each side of the image corresponds to a side of the HTML object. This is then implemented with the following syntax:
pre
border: 5px solid #cccccc;
-webkit-border-image: url(/images/border-image.png) 5 repeat;
-moz-border-image: url(/images/border-image.png) 5 repeat;
border-image: url(/images/border-image.png) 5 repeat;

The {border: 5px} attribute specifies the overall width of the border, and then each border-image rule targets the image file and tells the browser how much of the image to use to fill up that 5px border area.

Border images can also be specified on a per-side basis, allowing for separate images to be used on each of the four sides as well as the four corners:
pre
border-bottom-right-image
border-bottom-image
border-bottom-left-image
border-left-image
border-top-left-image
border-top-image
border-top-right-image
border-right-image

Supported in Firefox 3.1, Safari and Chrome.

As used by: Blog.SpoonGraphics.

See also:

3. Box Shadow and Text Shadow

Drop shadows: don’t you just love them?! They can so easily make or break a design. Now, with CSS3, you don’t even need Photoshop! The usage we’ve seen so far has really added to the design, a good example being this year’s 24 Ways website.
pre -webkit-box-shadow: 10px 10px 25px #ccc;
-moz-box-shadow: 10px 10px 25px #ccc;
box-shadow: 10px 10px 25px #ccc;

The first two attributes determine the offset of the shadow in relation to the element, in this case, 10 pixels on the x and y axis. The third attribute sets the level of blurriness of the shadow. And finally, the shadow color is set.

Also, the text-shadow attribute is available for use on textual content:
pre
text-shadow: 2px 2px 5px #ccc;

Supported in Firefox 3.1, Safari, Chrome (box-shadow only) and Opera (text-shadow only).

As used by: 24 Ways.

See also:

4. Easy Transparency with RGBA and Opacity

The use of PNG files in Web design has made transparency a key design feature. Now, an alpha value or opacity rule can be specified directly in the CSS.
pre
rgba(200, 54, 54, 0.5);
/* example: */
background: rgba(200, 54, 54, 0.5);
/* or */
color: rgba(200, 54, 54, 0.5);

The first three numbers refer to the red, green and blue color channels, and the final value refers to the alpha channel that produces the transparency effect.

Alternatively, with the opacity rule, the color can be specified as usual, with the opacity value set as a separate rule:
pre
color: #000;
opacity: 0.5;

Supported in Firefox, Safari, Chrome, Opera (opacity) and IE7 (opacity, with fixes).

As used by: 24 Ways (RGBA).

See also:

5. Custom Web Fonts with @Font-Face

There has always been a set of safe fonts that can be used on the Web, as you know: Arial, Helvetica, Verdana, Georgia, Comic Sans (ahem…), etc. Now the @font-face CSS3 rule allows fonts to be called from an online directory and used to display text in a whole new light. This does bring up issues of copyright, so there are only a handful of specific fonts that can be used for @font-face embedding.

The styling is put into practice like so:
pre
@font-face {
font-family:’Anivers’;
src: url(‘/images/Anivers.otf’) format(‘opentype’);
}

The rest of the font family, containing secondary options, is then called as usual:
pre
h1 { font-family: ‘Anivers’, Helvetica, Sans-Serif;

Supported in Firefox 3.1, Safari, Opera 10 and IE7 (with lots of fixes: if you are brave enough, you can make font-face work in IE (thanks for heads up, Jon Tan))

As used by: TapTapTap.

See also:

Although CSS3 is still under development, the rules listed here are supported by some browsers right now. Safari in particular has extensive support for these new features. Unfortunately, despite being a top-quality browser, Safari has a relatively low number of users, so it is probably not worthwhile adding extra features solely for this group of users. But with Apple’s Mac computers making their way into everyday life, Safari’s usage is likely to continually increase.

Firefox, on the other hand, now has a considerably large user base. What’s more, the soon-to-be-released Firefox 3.1 has added support for a range of CSS3 features. Assuming that most users of Firefox will update their browsers, there will soon be a large group of users with support for these new styling rules.

Google Chrome was released this year. Based on the WebKit engine, this browser has much of the same support as Safari. While Safari makes up a good proportion of Mac users, Chrome has burst onto the scene, making up a decent proportion of Windows users.

Percentage-wise, the W3’s browser statistics indicate that, as of November 2008, 44.2% of W3School’s users across the Web were browsing with Firefox, 3.1% with Chrome and 2.7% with Safari. That means almost 50% of all Internet users should be able to view these features. Within the Web design community in particular, which is much more conscious of browser choice, the range of users with CSS3 support is much higher, at 73.6% (according to the stats at Blog.SpoonGraphics).

6. The downside

Your website may now have a range of fancy new design features, but there are a few negatives to take into consideration:

  • Internet Explorer: 46% of Internet users won’t see these features, so don’t use them as a crucial part of the design of your website. Make sure that secondary options are in place, such as a standard border in place of border-image and a normal font in place of @font-face. Please notice that Internet Explorer supports @font-face with EOT (more details) since v4 (thanks for heads up, Jon Tan).
  • Invalid style sheets: These CSS3 features have not been released as a final specification. They are currently implemented with tags that target different browsers. This can invalidate your style sheet.
  • Extra CSS markup: Following the last point, having to add a different tag for each browser to specify the same rule, as well as include the standard rule for the final CSS specification, adds a lot of extra code to your CSS markup.
  • Potentially horrific usage: Just as is done with traditional Photoshop filters, the use of these new styling features could result in some eye-wrenching designs. Drop shadows in particular ring warning bells for us; we’re not looking forward to seeing the Marketing Department’s choices with that one!


While the western media and the western governments keep shouting about vulnerability of Pakistans nuclear arsenal and keep expressing the fears that these are likely to fall in the hands of extremists like Taliban, they have kept their eyes wide shut regarding the state of affairs of the nuclear weapons and nuclear capable missiles of neighbouring India where the situation is highly alarming, reveal the findings of The Daily Mails investigations into the matter.
According to The Daily Mails investigations, the Indian government, in bid to keep it maximum possible away from the striking capabilities of Pakistan that lies across Indias northern borders, decades back decided to install all its nuclear and missile facilities in the Eastern zone of the country. However, with the passage of time, the eastern region of India emerged as the most disturbed, fragile and ungovernable region of the country with a variety of insurgency movements including that of Naxal rebels, emerging in that very part of the country.
According to a map, graphed by Indias own security agencies, the eastern region and some other parts of the country have been declared as The Red Corridor of India due to being unstable,ungovernable and being highly fragile, security wise. According this Red Corridor map, there are some 51 districts that are very badly hit by the rebels while the total number of rebel struck districts remains around 164, ranging from Dehradhun to Kerala.
The Daily Mails investigations indicate that most of Indias top nuclear and missile facilities are located in the extremely Nexal terrorists struck districts of India, located deep down in the Red Corridor. According to The Daily Mails investigations, in the direction of Indian nuclear facilities, Uranium processing plant by the name of Uranium Corporation Of India Limited (UCIL) is located in adversely insurgency and terror struck region of Jharkhand where Nexal guerrillas are dominating and are on the rampage, Talcher Heavy Water Plant again in the same area, Institute of Physics(IOP) again in the same area while Atomic Minerals Directorate for Exploration and Research(AMD), Ceramatic Fuel Fabrication Facility(CFFF), Electronics Corporation of India Limited(ECIL), Mishra Dhalu Nigam Limited(MIDHANI), National Centre for Compositional Characterization of Materials(NCCCM), New Zirconium Sponge Plant(New ZSP), Nuclear Fuel Complex(NFC), Special Materials Plant, Uranium Fuel Assembly Plant and Zirconium Fabrication Plant, Seha Institute of Nuclear Physics and Variable Energy Cyclotron Centre(VECC) are located in the most Nexal warriors hit areas of Orissa, Andhra Pradesh and West Bengal. Similarly, Fast Breeder Test Reactor(FBTR), Fast Reactor Fuel Reprocessing Plant (FRFRP) General Services Organization(GSO), Indira Gandhi Centre for Atomic Research(IGCAR), Kalpakkam Atomic Reprocessing Plant(KARP), Kamini Research Reactor, Madres Atomic Power Station (MAPS), Prototype Fast Breeder Reactor(PFBR), Manuguru Heavy Water Plant, Institute of Mathematical Sciences(MSc), Southern Petrochemical Industries Corporation Limited(SPIC), Tuticorin Heavy Water Plant, Bharat Heavy Electricals Limited(BHEL), HMT Machine Tools Limited(HMT-MTL), Indian Institutes of Sciences(IISc) and Super Computer Education and Research Centre(SERC) are located in the areas, Indian government has included in the most disturbed Red Corridor while Apsra Research Reactor, Bhabha Atomic Research Centre(BARC), Boron Enrichment Plant(BEP), Central Workshops, Plutonium Reprocessing Plant, Purnima 1,II & III Research Reactors, Uranium Conversion Plant, Uranium Enrichment Plant, CIRUS Research Reactor, Dhruva Research Reactor, Hazira heavy Water Plant, Larson and Toubro, Hazira Water Works, Advanced Fuel Fabrication Facility(AFFF), Tarapur Atomic Power Station(TAPS), Power Reactor Fuel Reprocessing Plant(PREFRE), Beryllium Matching Facility(BMF), Construction Service and Estate Management Group(CSEMG), Directorate of Purchase and Stores(DPS), Heavy Water Board, Tata Institute of Fundamental search(TIFR), Rshtrya Chemicals & Fertilizers (RCF), Thal-Vaishet Heavy Water Plant, Centre for Development of Advanced Computing(C-DAC), Kiroskar Brothers Limited and Walchandnagar Industries Limited(WIL) are located in State of Maharashtra, which, though, is not included in the Red Corridor map of India, yet the whole world knows that Maharashtra is the hub of Extremist Hindu Militant Groups where Hindutva Brotherhood, Shiv Sena, Bajrang Dal, Durga Vahini and Sangh Parivar like terrorist organizations are on the rampage for past many years, without any check from authorities and all these Hindu militant organizations are very well known for their extreme anti-Pakistan policies and are full capable of getting hold of any of the Indian nuclear facility that exists in their respective state and region.

An apple a day

AppleAn apple a day deeps doctor away is a famous quotation about the secret of healthy life. But Infact the realistic approach is some what different from it. In my part of the world it is certainly difficult to keep yourself away from the doctor just by eating an apple a day. But yet this is not impossible. The main concern is to take care about hygiene while eating or drinking. It is unfortunate to reveal that in my county a majority of population has the exposure to drinking water which is unhygienic. Boiling tap water is a good solution to keep it safe from harmful bacterias but not all the people do this. Secondly unhygienic drinks in summers, as the temperature rises one can find the stalls of unhygienic drink sellers at every busy place & road side. Infect people knows that these drinks are unhygienic and are not good for health but they use it quench their thirst.

Today I am not going to blog about conventional health tips but I want you to be careful in summers, the contaminated water & drinks are the main reasons for throat & stomach complications. Lately i found one of my friends admitted in the hospital due to stomach problem, he lives in a highly populated city where the water is likely to be contaminated. So get yourself familiar to online pharmacy to know about latest health tips. If you are living in a city where the tap water is contaminated then don’t use it. Get a bottle of mineral water or boil the tap water before using it. Yes, make sure to you & your family away from unhygienic food & drinks. If you done with it, you have qualified to be benefited from an apple a day theory.