It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming CSS Forum

using CSS templates

using CSS templates

Postby Learninglife on Mon Mar 10, 2008 9:22 pm

Hi
I have just started with HTML & CSS...I would highly appreciate if u could help me...
I'm familiar with basic HTML tags...& now I'm trying to use a css template from http://www.freecsstemplates.org but tried but could not get the desired output....like here in altruism template preview.

I want to display the text at the centre with different background than the sides like here is off-white backgroud where text is displayed and with a pattern (in green) displayed at sides...
Thanks
Learninglife
 
Posts: 3
Joined: Mon Mar 10, 2008 9:07 pm

Re: using CSS templates

Postby rangana on Tue Mar 11, 2008 2:07 am

Learninglife wrote:I want to display the text at the centre with different background than the sides like here is off-white backgroud where text is displayed and with a pattern (in green) displayed at sides...


This will be done using the background:url(images.jpg); property of CSS.

To display the text in the center, use text-align:center.

Could you post a link to your site so that we will visually see what you really want to achieve. ;)
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines

Postby Learninglife on Tue Mar 11, 2008 5:26 am

Thanx......

I'm trying to use the CSS used here in this link...


http://www.freecsstemplates.org/preview/altruism

can u help me figuring out what all I need in HTML source code...I'm just lost...
Thanks
Learninglife
 
Posts: 3
Joined: Mon Mar 10, 2008 9:07 pm

Postby rangana on Tue Mar 11, 2008 5:33 am

Find this in style.css:

#page
{
width: 800px;
margin: 0 auto;
padding: 28px 50px 0px 50px;
background: #FFFFFF;
}


Change the highlighted with the color you wish.
If you want to use image, use background-image:url('myimage.jpg'); instead.

See if it helps ;)
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 0 guests