By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,447 Members | 1,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,447 IT Pros & Developers. It's quick & easy.

customize color

P: 13
hello web developer .
how i can customize background color and font color using html or css ,
this customization must to be from my page .
Feb 24 '08 #1
Share this Question
Share on Google+
7 Replies


P: 15
hello web developer .
how i can customize background color and font color using html or css ,
this customization must to be from my page .
Background Color properties is
background-color : #eeeeee;

Background Image properties is
background-image: url('images');
background-repeat: values [values have repeat,repeat-x,repeat-y,no-repeat];
background-attachment : values [values have fixed,scroll];
background-position: top center;

Example background image
background-image:url(http://www.agoda.com/img/aaaa.gif);
background-attachment: fixed;
background-repeat: no-repeat;
background-position: top center

Font Color
color:#000000;

Best regards,
Angkana Jivaphaiboolsak
Feb 24 '08 #2

just a feeling
P: 87
Nice going, Angkana.
Here are some examples that might help u ( from W3C schools ).

Css Color Example.
[HTML]<html>

<head>
<style type="text/css">
h1 {color: #00ff00}
h2 {color: #dda0dd}
p {color: rgb(0,0,255)}
</style>
</head>

<body>
<h1>This is header 1</h1>
<h2>This is header 2</h2>
<p>This is a paragraph</p>
</body>

</html>[/HTML]
Css Background Color Example.
[HTML]
<html>
<head>
<style type="text/css">
span.highlight
{
background-color:yellow
}
</style>
</head>

<body>
<p>
<span class="highlight">This is a text.</span> This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. <span class="highlight">This is a text.</span>
</p>
</body>
</html>[/HTML]

Hope it Helps.
Feb 24 '08 #3

P: 15
Excellent,just a feeling

Good example ^-^
Feb 25 '08 #4

P: 13
Nice going, Angkana.
Here are some examples that might help u ( from W3C schools ).

Css Color Example.
[HTML]<html>

<head>
<style type="text/css">
h1 {color: #00ff00}
h2 {color: #dda0dd}
p {color: rgb(0,0,255)}
</style>
</head>

<body>
<h1>This is header 1</h1>
<h2>This is header 2</h2>
<p>This is a paragraph</p>
</body>

</html>[/HTML]
Css Background Color Example.
[HTML]
<html>
<head>
<style type="text/css">
span.highlight
{
background-color:yellow
}
</style>
</head>

<body>
<p>
<span class="highlight">This is a text.</span> This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. <span class="highlight">This is a text.</span>
</p>
</body>
</html>[/HTML]

Hope it Helps.
thanx [quote=just a feeling] for reply but , but i maen how i can enable users to customize the page preferences(font colors,size .....etc) using special control panel .
Feb 26 '08 #5

harshmaul
Expert 100+
P: 490
Either using javascript on the client side, or PHP to store the customisations on the server side. but not derectly with html.
Feb 26 '08 #6

P: 13
Either using javascript on the client side, or PHP to store the customisations on the server side. but not derectly with html.

thaaaaaaaaaaaaaaaaaaaaaaanx
Feb 27 '08 #7

harshmaul
Expert 100+
P: 490
thaaaaaaaaaaaaaaaaaaaaaaanx
your weeeeeeeeeeeeeeeeeeeeeeeeeeeelcome
Feb 27 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.