The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Need help with html codes, please?
Sew Magic
post Jul 19 2012, 12:28 PM
Post #1





Group: Members
Posts: 1
Joined: 19-July 12
Member No.: 17,468



I am new here and really needing some help with codes. I have a website that I want to change the colors. I only know a few basic html codes such as changing the colors, text and a simple marquee/scrolling text.

It is under the Custom CSS if that helps. Thanks for taking a look/helping!

My problem:

What are these codes & what does it do?

#kvBg{


and

#styleNav .primary-webcomMenuItem.selected .primary-webcomMenuItem-middle{
font-family: Arial;
color: #33ffff
}

and

.webCom-color-primary {color: #99ffcc;}
.webCom-backgroundColor-primary {backgroundcolor: #99FFcc;}


Cheers,
Sew Magic

This post has been edited by Sew Magic: Jul 19 2012, 12:38 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 19 2012, 01:40 PM
Post #2


.
********

Group: WDG Moderators
Posts: 4,776
Joined: 10-August 06
Member No.: 7



This is about CSS, so I move the thread here...

QUOTE(Sew Magic @ Jul 19 2012, 07:28 PM) *

I have a website that I want to change the colors.

For more specific advice, please post a URL.

QUOTE

What are these codes & what does it do?

#kvBg{

That's an ID selector (but the style declarations after the curly brace are missing). See also http://htmlhelp.com/reference/css/structure.html

CODE
#styleNav .primary-webcomMenuItem.selected .primary-webcomMenuItem-middle{
            font-family: Arial;
            color: #33ffff
}

That's a (rather complex) CSS rule using both ID and CLASS selectors.

CODE
.webCom-color-primary {color: #99ffcc;}
.webCom-backgroundColor-primary {backgroundcolor: #99FFcc;}

These are more simple rules, though the naming convention seems odd -is it generated by some site creation tool? unsure.gif



User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Jul 20 2012, 04:51 AM
Post #3


Programming Fanatic
********

Group: Members
Posts: 3,547
Joined: 23-August 06
From: Europe
Member No.: 9



Also take a look at the CSS 2.1 Selectors series starting at http://www.456bereastreet.com/archive/2005...lectors_part_1/


--------------------
"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th May 2013 - 10:20 AM