This is a discussion on "[SOLVED] beginner's problem .. [wordpress template] One class ignored out of two" within the Web Page Design section. This forum, and the thread "[SOLVED] beginner's problem .. [wordpress template] One class ignored out of two are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] beginner's problem .. [wordpress template] One class ignored out of two
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Hello people.
I am having a problem which drives me crazy. I am making my third wordpress template now, the simplest EVER. but somehow, this simple one is the one who is giving me the hardest time. I am using only two classes on this page . "item" and " categor" , all the otehr classes are for the header part of the document (which has only one other and is very simple) The problem is , somehow the "categor" class is being ignored and gets the browser's default. no matter what i do. it is obviously a hirerchy problem of nested something , but what ? (Sorry I do not have a URL, it is being developed on Local machine) this is the PHP (or html)
|
|
|
|
#2
|
||||
|
||||
|
Re: begginer's problem .. [wordpress template] One class ignored out of two
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
#3
|
|||
|
|||
|
Re: begginer's problem .. [wordpress template] One class ignored out of two
Dude !!....
I don't know which side of the stick you got, but IT WORKED !! I changed
I still do not understand why in such a simple layout and css, One class is inside the "a" tag, and the other needs to be inside the "td" tag. They are practically identical tags, why can't they both be inside the "a" ? Thanks a lot again ... and if you know the answer to why it occured , I would sure like to know . |
|
#4
|
||||
|
||||
|
Re: begginer's problem .. [wordpress template] One class ignored out of two
I have no idea myself, but I'm sure others here will be able to give a better explanation.
EDIT: I might know why, You see for the class 'item' you use :link, :hover, etc. On the class 'categor' you didn't. When assigning things for links, you need to do it in the order: link visited hover active Or CSS Gets stressy. Easy way to remember: L o V e H A t e
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wordpress installation problem | marSoul | Website Planning | 7 | Jan 15th, 2008 09:24 |
| [SOLVED] Validate Form Class | soloam | JavaScript Forum | 2 | Nov 28th, 2007 14:51 |
| [SOLVED] div class and div id | danny322 | Web Page Design | 1 | Nov 22nd, 2007 12:52 |
| [SOLVED] Wordpress | Phixon | Web Page Design | 4 | Oct 30th, 2007 13:27 |
| [SOLVED] Web design class | thewebkid | Starting Out | 1 | Oct 27th, 2007 04:32 |