Style Sheet

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Paul D. Buck
Posts: 38
Joined: Fri Dec 31, 2004 11:13 pm
Location: USA
Contact:

Style Sheet

Post by Paul D. Buck »

Well, I kinda got the style sheet to do what I want. My one comment is that *I* believe that it is needlessly complex. It seems to use a lot of overrides so you have to change things slowly and carfully, and even then it may not come out the way that you expect.

My recommendation is that you consider making the style sheet simpler. Each major section of the page gets their own class for each of the elements that you use. An advantage of this is that changes to one section will not change other sections.

It is also easier to change as you go and change, say, the anchor format for the header, it does not affect any other anchor on the page other than the ones in the header.

So forth and so on ... just for grins I would suggest you look at the style sheet that I have for my site. Each definition in the style sheet is completely independent of all of the others.

Just my opinion ... :)
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you're partly right.

We need to write more documentation about the stylesheet to make it easier to edit for everyone.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Paul D. Buck
Posts: 38
Joined: Fri Dec 31, 2004 11:13 pm
Location: USA
Contact:

Post by Paul D. Buck »

I know, you said that this is in the works. javascript:emoticon(':D')

I am just suggesting that you actually simplify the structure so each and every element gets its very own definition. Yes this increases the number of places where you have to change things if you do want them to have the same colors (for example).

But the greatest benefit is that a change to one element in one section does not farble up the settings for the same element in another section. Even better, the ability to make both light and dark portions of the rendered page is increased.

Well, it is one of those asthetic things, so we may not ever reach agreement. javascript:emoticon(':(')
Post Reply