473,405 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Back Ground Color

i want to know is there any command to put many colors for html page background or a pic im a beginer plz help me
Oct 24 '06 #1
1 2285
rsteph
71
The easiest (that I can think of anyway) would be to make an image with whatever color scheme you want. Then use the image as the background. You can do this via .css by adding something like this into you stylesheet:

#body {
background-image: url(/images/image01.png);
}

Then simply adding the id="body" attribute to your <body> tag:
<body id="body">

As far as making a stylesheet, in a very basic sense, just add the #body code to a page in Notepad. Then name it something like style.css.

That makes it a .css page. then in the top of your html page between the <head> tags add this code:

<style type="text/css" media="all">
@import "style.css";
</style>

Make sure in this case that your style sheet is in the same folder as your web page.

I'm sure others could explain it better, and may even know a better way to do it. But that's the quick and dirty method.
Oct 24 '06 #2

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

Similar topics

8
by: Beatrice Rutger | last post by:
Hi, I am a previous Micro$oft desertee (moved from VB/VC++ to Java before this whole DOTNET thing) because I had several issues with Micro$oft. I am not completely in love with Windoze, but I...
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
26
by: gswork | last post by:
i hadn't designed a web page from the ground up for about 9 years, then i was asked to do one. I'd dabbled with html and vaigly kept up with some of the developments but other than that i've been...
3
by: mcnewsxp | last post by:
how can i set a back ground image property on an MDI main form to stretch?
1
by: supriya | last post by:
Hi all, Is there any way to set the back ground color of text in rich text box.. I dont want to set the entire back ground color of text box but only the place where i have text. actually using...
1
by: DBC User | last post by:
I have a process that I am writing, which receives the requests through filewatcher. Once I get the request, I need to start a thread asyn. I shouldn't start the thread again until the running...
2
by: James | last post by:
When property 'Enabled' is set to 'false', the text back ground color always turn to gray. Can I change this color? From http://developmentnow.com/g/36_2003_7_0_0_0/dotnet-languages-csharp.htm ...
3
by: viral123 | last post by:
Hi all, does any one know how to get the functionality of get focus and lost focus using ASP.Net like VB.Net I want to change the textbox back ground color when it has the focus. I used...
2
by: davehirend | last post by:
i have porblem for change the back ground of the TextBox in ASP.NET 2.0
176
by: . | last post by:
9/11 Mysteries http://video.google.com/videoplay?docid=-8172271955308136871 http://www.911weknow.com Ignore those who would go to great effort and expend much of heir time in poo-pooing this...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.