"Ben" <no@spam.com> wrote in message
news:xAJOd.4899$Sq5.3541@twister.rdc-kc.rr.com...[color=blue]
>
> "Tony Marston" <tony@NOSPAM.demon.co.uk> wrote in message
> news:cuevbr$3f2$1$8302bc10@news.demon.co.uk...[color=green]
>>
>> "Ben" <no@spam.com> wrote in message
>> news:w2yOd.15195$0h5.3989@twister.rdc-kc.rr.com...[color=darkred]
>> >I hope this is on topic this looks like a pretty generic PHP group. If[/color][/color]
> not[color=green][color=darkred]
>> > I'm a nooB so be gentle.
>> >
>> > Question:
>> > Could anyone recommend a "best practice" for maintaining commonality of
>> > what
>> > the user sees on a medium scale PHP application? For example: button
>> > size,
>> > color, font, alignment, labels, etc.
>> >
>> > My intent is to build an application that has been pre-designed in[/color][/color]
> phases,[color=green][color=darkred]
>> > piece by piece and outsource most of the coding. There must be a
>> > common
>> > look and feel. Is there a better way then me simply listing them out?
>> > Ex:
>> > all buttons are 10px by 20px, all font arial 10pt, etc.[/color]
>>
>> Do NOT hard code any sizes like this as it should be left up to the user[/color]
> to[color=green]
>> decide what font sizes THEY want.
>>
>> There is no such thing as a "standard" way in which web pages should be
>> built, apart from the rules of (X)HTML. What "look and feel" you adopt
>> should, however, be consistent across ALL pages.
>>
>> Take a look at
http://www.tonymarston.co.uk/sample/index.html where you[/color]
> can[color=green]
>> run my sample application online for some ideas. Note that you are able
>> to
>> change font sizes at will.
>>
>> --
>> Tony Marston
>>
>>
http://www.tonymarston.net
>>[/color]
>
> Cool stuff! For this application I will need to hard code it though, or
> at
> least soft code using a SS that WE can change for them. After 15+ years
> in
> the industry I'm in I've learned there's a trade-off with certain built in
> flexibility. The more flexible, the more support. If we give users the
> right to change button size, fonts and colors we'll be flooded with calls
> because they can't see black on black, the buttons are too large, too
> small
> and so on.[/color]
Having the ability to change certain settings easily does not mean giving
the user direct access to those methods as they are liable to screw up You
could give them an offline sample so they could experiment in their own
"sandbox" and only put that modified CSS file in the live environment once
it had been thoroughly tested and approved.
[color=blue]
> I agree with you in general but we'll need to have control over
> this part, for this target bunch of users. Was simply curious if PHP had
> some sort of object you could build to control styles easily...and am
> pretty
> ignorant to PHP as some of my questions may lead you to believe![/color]
By outputting proper XHTML code all style is controlled from a CSS file, not
within any PHP code at all.
[color=blue]
> Really like the way you used tabs, will definately be incorporating a
> similar look to our app.[/color]
I got that idea from
http://www.alistapart.com/articles/slidingdoors/
--
Tony Marston
http://www.tonymarston.net