Thursday, September 17, 2009

Some CSS tips I used

I was not that much recognized in CSS but nowadays I found that CSS has a great power to turn the website into an online space. Here is something I worked:

1. padding> padding used to shift the text from the original space it was supposed to stay.
padding-left:10px;
2. no wrap>It removes line break inside the text


my value


view:
myvalue

CSS File:

.mytext
{
padding-left:10px;
white-space:nowrap;
}

Often these two things are very useful.

Masud (17-07-2009)

No comments:

Post a Comment