Color scheme using CSS  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| |
I'm building a website as an extra credit project. The subject is Art. I need a few peoples opions on what the color scheme should be. (Note to the MODS: Since styling involves CSS I decided to put this thread in here).
Here's my Home Page's XHTML, and then the CSS. - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd">
-
-
-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-
-
<head>
-
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
-
<title>Art-Home Page</title>
-
<link rel="stylesheet" href="C:\Art\Body.css" />
-
<link rel="stylesheet" href="C:\Art\Headings.css" />
-
</head>
-
-
<body>
-
-
<ul>
-
<li><a href="C:\Art\Art-HomePage.html">Home</a></li>
-
<li><a href="C:\Art\Art-ArtPage.html">Art</a></li>
-
<li><a href="C:\Art\Art-ArtistPage.html">Artist</a></li>
-
<li><a href="C:\Art\Art-AboutArtPage.html">About-Art</a></li>
-
<li><a href="C:\Art\Art-HistoryPage.html">History</a></li>
-
</ul>
-
-
<h1>Art</h1>
-
-
<p>
-
Art refers to a diverse range of human activities and artifacts, and may be used to cover all or any of the arts, including music, literature and other forms. It is most often used to refer specifically to the visual arts, including mediums such as painting, sculpture, and printmaking. However it can also be applied to forms of art that stimulate the other senses, such as music, an auditory art. Aesthetics is the branch of philosophy which considers art.
-
</p>
-
-
<p>
-
Visual art is defined as the arrangement of colors, forms, or other elements "in a manner that affects the sense of beauty, specifically the production of the beautiful in a graphic or plastic medium". The nature of art has been described by Richard Wollheim as "one of the most elusive of the traditional problems of human culture". It has been defined as a vehicle for the expression or communication of emotions and ideas, a means for exploring and appreciating formal elements for their own sake, and as mimesis or representation. Leo Tolstoy identified art as a use of indirect means to communicate from one person to another. Benedetto Croce and R.G. Collingwood advanced the idealist view that art expresses emotions, and that the work of art therefore essentially exists in the mind of the creator. Art as form has its roots in the philosophy of Immanuel Kant, and was developed in the early twentieth century by Roger Fry and Clive Bell. Art as mimesis or representation has deep roots in the philosophy of Aristotle.
-
</p>
-
-
<p>
-
Traditionally the term art was used to refer to any skill or mastery, a concept which altered during the Romantic period, when art came to be seen as "a special faculty of the human mind to be classified with religion and science".
-
</p>
-
-
<p>
-
Generally art is a (product of) human activity, made with the intention of stimulating the human senses as well as the human mind; by transmitting emotions and/or ideas. Beyond this description, there is no general agreed-upon definition of art, since defining the boundaries of "art" is subjective.
-
</p>
-
-
<p>
-
The evaluation of art has become especially problematic since the 20th century. Wollheim distinguishes three approaches: the Realist, whereby aesthetic quality is an absolute value independent of any human view; the Objectivist, whereby it is also an absolute value, but is dependent on general human experience; and the Relativist position, whereby it is not an absolute value, but depends on, and varies with, the human experience of different humans.
-
</p>
-
-
<p>
-
An object may be characterized by the intentions, or lack thereof, of its creator, regardless of its apparent purpose. A cup, which ostensibly can be used as a container, may be considered art if intended solely as an ornament, while a painting may be deemed craft if mass-produced.
-
</p>
-
-
</body>
-
-
</html>
Here's Body.css. I use it for all the value of the "body" of the page. - body {
-
background-color:#ffffff;
-
font-family:Arial, Verdana, Helvetica, sans-serif;
-
font-size:small;
-
}
Here's Headings.css, as the name suggests it's used for the value of the headings.
I look forward to all of your suggestions, Thanks, Death
PS(This is to drhowarddrfine) - Yes this is the same project we talked about earlier, however, thanks to your percistency I decided to change it. Happy Now? :)
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS
Comon people any suggestions at all?
Needed a bump, Death
|  | Member | | Join Date: Aug 2007 Location: Saudi Arabia
Posts: 87
| | | re: Color scheme using CSS
These might help ZenGarden Templates Art Templates
BTW, why don't u make it only one style sheet that is applied to the page, instead of having one for headers and one for body !!
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS
Thanks for the links.
The reason I have it that way is because I don't want to scroll through every single rule to find what goes to the body, what goes to the heading. Also by the time i'm finished i'll have more CSS than what I do now, alot more.
Thanks, Death
|  | Member | | Join Date: Aug 2007 Location: Saudi Arabia
Posts: 87
| | | re: Color scheme using CSS
I see, but still I don't think that separating them in different stylesheets is a practical solution, neither I have seen that before. Don't forget that u r gonna end with 5 or 10 stylesheets for a single page !!
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS
Exactly it's way more organized.
- Death
|  | Moderator | | Join Date: Jun 2007 Location: York, England, with wolves.
Posts: 5,134
| | | re: Color scheme using CSS Quote:
Originally Posted by Death Slaught Exactly it's way more organized.
- Death Extremely unorganized way of doing it.
Imagine having to open 10 different stylesheets to change the appearance when you could do it all when opening just one! And not to mention the extra loading times this will cause.
'Organized', my ass.
That's like creating a new directory for every user that signs up on your website, when you could just insert their info into a database and extract it dynamically.
Organized.
PAH!
|  | Expert | | Join Date: Sep 2006
Posts: 5,830
| | | re: Color scheme using CSS
There are a couple of ways to organize your css rather than having to split them into seperate files. The problem with seperate files is that the browser will request each file one at a time which is slower.
You could combine all your style groupings into one css file but keep the groupings together. I like to group them like this:
typography.css
layout.css for general layouts,
form.css for basic form styling,
general.css for further general rules
or whatever other categories that make sense.
Another thing you can do is write the css in a block programming style:
#content {float:left;}
#content p { ... }
#sidebar {float:left;}
#sidebar p { ... }
#footer {clear:both;}
#sidebar p { ... }
That would make it easier to scan down a long list to find 'body'.
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS Quote:
Originally Posted by markusn00b Extremely unorganized way of doing it.
Imagine having to open 10 different stylesheets to change the appearance when you could do it all when opening just one! And not to mention the extra loading times this will cause.
'Organized', my ass.
That's like creating a new directory for every user that signs up on your website, when you could just insert their info into a database and extract it dynamically.
Organized.
PAH! I find it easier to find large amounts of CSS by seperating them, wether it's organized or not, is nothing more than a matter of opinion.
- Death
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS Quote:
Originally Posted by drhowarddrfine There are a couple of ways to organize your css rather than having to split them into seperate files. The problem with seperate files is that the browser will request each file one at a time which is slower.
You could combine all your style groupings into one css file but keep the groupings together. I like to group them like this:
typography.css
layout.css for general layouts,
form.css for basic form styling,
general.css for further general rules
or whatever other categories that make sense.
Another thing you can do is write the css in a block programming style:
#content {float:left;}
#content p { ... }
#sidebar {float:left;}
#sidebar p { ... }
#footer {clear:both;}
#sidebar p { ... }
That would make it easier to scan down a long list to find 'body'. I was thinking of something similiar to that (the 4 groups you were talking about).
Surely though you of all people must see what I'm talking about? Having a giant page of CSS, compared to having about 3-6 is far more trouble than it's worth, even with endention, and spacing.
- Death
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS
Besides drhowarddrfines next reply, this disscusion is over. I ask that we go back to the original topic, or i'll request a removal of this thread.
Thanks, Death
|  | Expert | | Join Date: Sep 2006
Posts: 5,830
| | | re: Color scheme using CSS Color "schemers" are everywhere but it still comes down to personal reference.
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS Quote:
Originally Posted by drhowarddrfine Color "schemers" are everywhere but it still comes down to personal reference. Thanks for the link.
My personal preference in this case would make me fail :). My teacher isn't supportive of the colors black, red, or white, odd isn't?
I just started this thread to see other peoples opinions, but it seems as if their imaginations have had a sip or two of red bull.
Oh well I guess i'll just think of a few random colors and throw them together, i've only got one more week to finish it.
- Death
|  | Expert | | Join Date: Sep 2006
Posts: 5,830
| | | re: Color scheme using CSS
Remember the primary colors. Red, blue and green and everything in between. You can't go wrong with the triad where you start in the center of that color circle and three equidistant arrows pointing out from the center. rotate left or write and you get yellow, purple and orange. But you can use shades of gray and stick with one or two colors alone.
For print it's almost the same. cmyk: cyan, magenta and yellow (k for gray level).
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS
Thanks, but I decided to use my schools colors (maroon, and white). Take a look and tell me what you think about it.
[HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<style type="text/css">
body {
background-color:#a00000;
font-family:Arial, Verdana, Helvetica, sans-serif;
font-size:small;
color:#ddd;
}
#contents {
position:absolute;
top:150px;
left:140px;
margin-right:200px;
padding:3em;
background-color:#800000;
}
h2, h3, h4, h5 {
font-size:190%;
color:#111;
}
h1 {
position:absolute;
top:80px;
left:400px;
font-size:190%;
color:#111;
}
ul {
position:absolute;
left:270px;
margin:0;
padding:0;
float:left;
}
a {
float:left;
text-decoration:none;
padding:0.4em 0.9em;
color:#ddd;
border:1px solid #500000;
}
a:hover {
border:1px outset #500000;
background-color:#800000;
}
a:active {
border:1px inset #500000;
}
li {
display:inline;
}
</style>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>Art-Home Page</title>
</head>
<body>
<ul>
<li><a href="C:\Art\Art-HomePage.html">Home</a></li>
<li><a href="C:\Art\Art-ArtPage.html">Art</a></li>
<li><a href="C:\Art\Art-ArtistPage.html">Artist</a></li>
<li><a href="C:\Art\Art-AboutArtPage.html">About-Art</a></li>
<li><a href="C:\Art\Art-HistoryPage.html">History</a></li>
</ul>
<h1>Art</h1>
<div id="contents">
<p>
Art refers to a diverse range of human activities and artifacts, and may be used to cover all or any of the arts, including music, literature and other forms. It is most often used to refer specifically to the visual arts, including mediums such as painting, sculpture, and printmaking. However it can also be applied to forms of art that stimulate the other senses, such as music, an auditory art. Aesthetics is the branch of philosophy which considers art.
</p>
<p>
Visual art is defined as the arrangement of colors, forms, or other elements "in a manner that affects the sense of beauty, specifically the production of the beautiful in a graphic or plastic medium". The nature of art has been described by Richard Wollheim as "one of the most elusive of the traditional problems of human culture". It has been defined as a vehicle for the expression or communication of emotions and ideas, a means for exploring and appreciating formal elements for their own sake, and as mimesis or representation. Leo Tolstoy identified art as a use of indirect means to communicate from one person to another. Benedetto Croce and R.G. Collingwood advanced the idealist view that art expresses emotions, and that the work of art therefore essentially exists in the mind of the creator. Art as form has its roots in the philosophy of Immanuel Kant, and was developed in the early twentieth century by Roger Fry and Clive Bell. Art as mimesis or representation has deep roots in the philosophy of Aristotle.
</p>
<p>
Traditionally the term art was used to refer to any skill or mastery, a concept which altered during the Romantic period, when art came to be seen as "a special faculty of the human mind to be classified with religion and science".
</p>
<p>
Generally art is a (product of) human activity, made with the intention of stimulating the human senses as well as the human mind; by transmitting emotions and/or ideas. Beyond this description, there is no general agreed-upon definition of art, since defining the boundaries of "art" is subjective.
</p>
<p>
The evaluation of art has become especially problematic since the 20th century. Wollheim distinguishes three approaches: the Realist, whereby aesthetic quality is an absolute value independent of any human view; the Objectivist, whereby it is also an absolute value, but is dependent on general human experience; and the Relativist position, whereby it is not an absolute value, but depends on, and varies with, the human experience of different humans.
</p>
<p>
An object may be characterized by the intentions, or lack thereof, of its creator, regardless of its apparent purpose. A cup, which ostensibly can be used as a container, may be considered art if intended solely as an ornament, while a painting may be deemed craft if mass-produced.
</p>
</div>
</body>
</html>[/HTML]
Thanks, Death
|  | Expert | | Join Date: Sep 2006
Posts: 5,830
| | | re: Color scheme using CSS
Not bad. Try this: -
body {
-
background-color:#a00000;
-
font-family:Arial, Verdana, Helvetica, sans-serif;
-
font-size:small;
-
color:#ddd;
-
}
-
-
#contents {
-
margin:0 140px;
-
padding:3em;
-
background-color:#800000;
-
}
-
-
h2, h3, h4, h5 {
-
font-size:190%;
-
color:#111;
-
}
-
-
h1 {
-
text-align:center;
-
font-size:190%;
-
color:yellow;
-
}
-
-
ul{
-
text-align:center;
-
margin:0;padding:0;
-
}
-
-
li {
-
display:inline;
-
}
-
-
a {
-
text-decoration:none;
-
padding:0.4em 0.9em;
-
color:#ddd;
-
border:1px solid #500000;
-
}
-
-
a:hover {
-
border:1px outset #500000;
-
background-color:#800000;
-
}
-
-
a:active {
-
border:1px inset #500000;
-
}
|  | Site Addict | | Join Date: Aug 2007 Location: Tennessee
Posts: 952
| | | re: Color scheme using CSS
Nice I love the way it takes the tops off of them so they look like tabs. (was that what it was supposed to do)?
Thanks, Death
PS - I can't believe I had forgotten about the text-align property, I hit myself in the face when I noticed it. Yay! Now I get to make the navagation follow the the user when they scroll!
|  | | | | Forums
Visit our community forums for general discussions and latest on Bytes
/bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 229,155 network members.
|