Monday, February 19, 2007

Manually edit your friendster profile [2]

The basics first. CSS is a language used to describe how an HTML document should be formatted. A very simple language.

To add a background image, you simply add background-image property to an element. For example,
p {background-image: url(http://www.imagehost.com/image.jpg)}

You can change
p with another element like body, div, table, etc and/or class or id of an element. In html file class is written like this class="class_name", while in css file class is a dot(.). Id is written like this id="id_name" in html, while in css is a #. For example: p .name_of_class {background-color: blue; }, or
body #name_of_id {background-color: blue; }

To edit your profile CSS code, login with your account and go to
http://www.friendster.com/editskin? directory. Choose an element you want to change, edit it, click save on the bottom-left of the page and view your profile to see the change you've made.

Source:
htmlhelp.com, www.orafaq.com

No comments: