Need help with html codes, please? |
Need help with html codes, please? |
Sew Magic |
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 |
Christian J |
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...
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? |
Frederiek |
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/
|
Lo-Fi Version | Time is now: 26th April 2024 - 10:03 PM |