Skip to main content

April 2009

CSS: Changing Font Properties

CSS can give you practically unlimited ways to change how your text is displayed. From changing the size to making it bold or underlined. You can also change what font the text is displayed to the user. Do you like Times New Roman or Verdana? While most of the examples so far have been manipulating text colors, size and format. This section will be more in depth about changing font properties.

CSS: Changing Background Properties

body {background-image: url(picture.png);}

This will cause your browser to look for a file (in the same folder as your HTML document) named picture.png. This is a form of relative linking. Another example would be to add a sub folder before the actual picture: url(/images/picture.png) You can also use absolute linking to set an image:

body {background-image: url(http://www.newbtopro.com/images/picture.png);}

Regardless of what way you link to your picture, your image will show at the top left of the screen.

CSS: Basic Syntax

The basic syntax of a CSS rule is as follows:

selector {property: value;}

The selector is simply the HTML tag you wish to style, the property is what you want to change and the value is the new setting. Curly brackets start and end the selectors rule for all properties.

There is also two key punctuation marks that are used within your CSS:

CSS: Adding CSS to your HTML Documents

There are three methods of adding CSS to your HTML documents: external, internal and inline. This section will go through the pro's and con's of each of these.

External Method

The external method is used when you store all of your CSS in another file such as “external.css”. You would then create a link within your HTML document that says: “use the external.css file to style my document”. In order to link your CSS file to your web page, you will need to use the <link> tag:

Introduction to CSS

Welcome to the world of Cascading Style Sheets (CSS). Without CSS, HTML documents can look boring to say the least. Put it another way, if HTML is a naked person than CSS is that person's clothing. Depending on the web designer's skill, those clothes could be anything from a cheap and ugly outfit to an Armani suit. Sure, you could “present” yourself in your birthday suit, but wouldn't you want to wear a fitted suit instead? CSS allows you to go from naked to noteworthy.

The Linux Boot Process

One of the more powerful features of Linux is how the system boots. Linux can run in many different ways and with specific goals. Do you want to run a graphical user interface (GUI) such as KDE or do you strictly want to run only enough applications to get you to a command line? Linux is highly flexible and can run under many different conditions.

This section will give you a basic understanding as to what is happening when a Linux system is powered on and what Linux will do in order for it to become functional to the end user.

Premium Drupal Themes by Adaptivethemes