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: 9,661
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: 5,146
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/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

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

 



- Lo-Fi Version Time is now: 26th April 2024 - 10:03 PM