473,472 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Professional Stylesheet Examples

Hello,

I have taken over a webpage, and have no idea how to work with
stylesheets, and won't be able to learn ;-(.

Does anyone have any good examples, which I can just cut and paste over
my stylesheet, so that my website looks really professional.

Here is the stylesheet which I have at the moment:
a:link {
color: #A62858;
text-decoration: none;
}

a:visited {
color: #A62858;
text-decoration: none;
}

a:active {
color: #A62858;
text-decoration: none;
}

a:hover {
background: #A73969;
color: white;
}

body
{
background: white;
}

..menu
{
background: white;
}

..banner
{
background: #white;
}

table
{
border-style: inset;
border-color: white;
}

th
{
font-size: x-small;
font-weight: bolder;
text-align: center;
color: black;
background: white;
}

tr
{
background: #d8d8d8;
font-size: x-small;
}

..layout
{
background: white;
border-style: none;
}

..errmsg
{
color: red;
font-weight: bolder;
}

..success
{
color: green;
font-weight: bolder;
}

The "red" is not nice, and the tables don't look very good.


Many many thanks,
Allan

Jul 24 '05 #1
4 6504
On 8 May 2005 12:29:20 -0700, "Allan" <al*********@ntlworld.com> wrote:
I have taken over a webpage, and have no idea how to work with
stylesheets, and won't be able to learn ;-(.
Don;t worry, that isn't a stylesheet - it's just some ugly snippets
thrown together over about 5 minutes.

You should learn CSS. It's not hard to begin to get a start on it, such
that you can modify the basics of an existing site. I recommend this
book, not because it's the most detailed, but because it's very readable
for beginners.

Lie & Bos "Cascading Style Sheets"
<http://www.amazon.co.uk/exec/obidos/ASIN/0201596253/codesmiths>

There's what looks like a new edition too - I haven't read it yet, but
it might be a better buy (anyone read it yet ?)
<http://www.amazon.co.uk/exec/obidos/ASIN/0321193121/codesmiths>
Does anyone have any good examples, which I can just cut and paste over
my stylesheet, so that my website looks really professional.


No. That would require a site that was designed to _use_ a good
stylesheet. There's a certain level of "tie-in" you have to arrange.
This can be as simple as labelling the chunk in the middle as
"body-text" and the nav menu as "nav-menu", but you have to do a little
of this.

Find some well-designed CSS that you like, then re-factor your site's
HTML to make use of it (mostly by adding class attributes in a few
places)

Some sites you might find useful (plenty of others too)
http://www.bluerobot.com/web/layouts/
http://csszengarden.com
http://www.meyerweb.com/

It would also help if you told us what the site URL was

--
Cats have nine lives, which is why they rarely post to Usenet.
Jul 24 '05 #2
Allan wrote:
I have taken over a webpage, and have no idea how to work with
stylesheets, and won't be able to learn ;-(.

Does anyone have any good examples, which I can just cut and paste over my stylesheet, so that my website looks really professional.


It's far better to learn CSS (and CSS is very easy to learn compared to
HTML), but if you really don't want to learn it, then you can use one
of the W3C's 'Core Styles':

http://www.w3.org/StyleSheets/Core/

--
Safalra (Stephen Morley)
http://www.safalra.com/hypertext/

Jul 24 '05 #3
Tim
On 8 May 2005 12:29:20 -0700,
"Allan" <al*********@ntlworld.com> posted:
I have taken over a webpage, and have no idea how to work with
stylesheets, and won't be able to learn ;-(.


Then there's no point in asking. If you're not prepared to learn, then be
prepared to pay someone to do your work for you.

I frequently hear people saying they don't need to understand how to do
something, they just need to get *this* thing done. (And they'll go on
needing to do something, with no idea what they're doing, never learning
how to do it for themselves, for the rest of their life.) That's
attitude's an instant fail as far as I'm concerned.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 24 '05 #4

A> I have taken over a webpage, and have no idea how to work with
A> stylesheets, and won't be able to learn ;-(.

Than don't use them :)

A> Does anyone have any good examples, which I can just cut and paste over
A> my stylesheet, so that my website looks really professional.

We have to see your page before give you some examples.
A> a:link {
A> color: #A62858;
A> text-decoration: none;
A> }

A> a:visited {
A> color: #A62858;
A> text-decoration: none;
A> }

A> a:active {
A> color: #A62858;
A> text-decoration: none;
A> }

A> a:hover {
A> background: #A73969;
A> color: white;
A> }

Put a:active after a:hover.
'white' is equivalent to #FFF

A> body
A> {
A> background: white;
A> }

A> .menu
A> {
A> background: white;
A> }

A> .banner
A> {
A> background: #white;
A> }

A> table
A> {
A> border-style: inset;
A> border-color: white;
A> }

A> th
A> {
A> font-size: x-small;
A> font-weight: bolder;
A> text-align: center;
A> color: black;
A> background: white;
A> }

'black' is equivalent to #000

A> tr
A> {
A> background: #d8d8d8;
A> font-size: x-small;
A> }

A> .layout
A> {
A> background: white;
A> border-style: none;
A> }

A> .errmsg
A> {
A> color: red;
A> font-weight: bolder;
A> }

'red' is equivalent to #F00

A> .success
A> {
A> color: green;
A> font-weight: bolder;
A> }

A> The "red" is not nice, and the tables don't look very good.

And why does she need to look 'very good'? All she needs €€ work very
good.

Best way to change all your 'red','green' etc. colors is get some graphic
program that can work with RGB colors. I use Adobe Photoshop.

.... mini7 Design & Internet Solutions
Jul 24 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jamie | last post by:
Hi, Thanks for the excellent answer to my last question! One more: Does anyone have a method they follow for organizing stylesheets themselves? They seem like they can get bloated and hard to...
8
by: raykyoto | last post by:
Hi all, I must be re-inventing the wheel, but I can't seem to find a stylesheet for bibliographies. I'm probably inputting the wrong keywords into Google... Well, I gave up searching and since...
65
by: Nikolas Hagelstein | last post by:
Hi, First of all: i spend a lot of time on thinking and researching about how to make developing webapplications with php a more structured/systematic thing. I even fancied to switch over to...
3
by: Ron Vecchi | last post by:
I'm pretty new to Xml and Xslt so bear with. I cant seem to add the xsl prefix to my stylesheet and get it to work. Error: The wrong namespace was used for XSL. Use...
7
by: pintihar | last post by:
Hi, As a follow on from an earlier post I have another question about xslt. Is it possible to create the stylsheet programatically? Is this sensible? In the first phase I needed to map element...
2
by: PL | last post by:
According to the documentation I'm supposed to be able to use any classes in the ..NET framework inside a msxml:script block if I use a fully qualified path. I'm trying to test the XSL sheet...
6
by: Tim Meagher | last post by:
Can anyone help me figure out how to apply a stylesheet to a pushbutton defined in the asp:BoundColumn or asp:EditCommandColumn elements of a datagrid?
0
by: barney.b | last post by:
Hi, I'm trying to pre-process an XSL stylesheet with another stylesheet, before using the result to transform an XML document. i.e.: stylesheet(xsl) --> preprocessor(xsl) --> temp(xsl)...
6
by: _Who | last post by:
I use the code below to change to a style sheet that has: body { ....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.