Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Feature Requests (older versions - archive only) > Facilitate CSS control


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Facilitate CSS control

Newbie





Posts: 7
Registered: 1/2/2003
Status: Offline

  posted on 1/3/2003 at 10:12 PM
I'd also love to see some of the widgets produced by the commands be given a class or classes, so they can more easily be controlled with style sheets.

For example, let's take the [user-login].

Perhaps the text and checkbox inputs should be given something like class="autotheme_forminput", and the button (or image, since I guess it's interchangeable) class="autotheme_formbutton". And the form itself "autotheme_form". That way more control over the appearance is given to the user who knows HTML and CSS, but has no idea where to start hacking in the PHP files :-)

Another idea: User-nameable classes.

Instead of <!-- [user-login] -->, you'd have <!-- [user-login:class="stuff"] -->

Then, each widget gets a standard classname, "forminput" for inputs, "formbutton" for buttons, and so on.. but the user's name is also used, so individual elements which may be repeated many times in a document (like forms) can be controlled one at a time.

The result, <input type="text" class="autotheme_stuff_forminput"> and so on.

A bit complicated, but could be worth it for the level of control over display it would offer.

Autotheme is a great product. Keep at it. :-)

 
Reply With Quote

Junior Member




Posts: 41
Registered: 10/31/2002
Status: Offline

  posted on 1/8/2003 at 04:44 PM
is this a per theme thing or a site wide thing?
 
Reply With Quote

Moderator




Posts: 351
Registered: 3/11/2003
Status: Offline

  posted on 5/21/2003 at 08:04 AM
Couldn't you do this just with the theme html files?

Surround your commands with style tags and then put those tags in the CSS.

 

____________________
PostNuke Themes
PHPNuke Themes
AutoThemes
Your #1 source for FREE and custom AutoThemes!

 
Reply With Quote

Newbie




Posts: 4
Registered: 7/4/2003
Status: Offline

  posted on 7/28/2003 at 12:39 AM
For some things you can. But it's far better to have the class in the tag itself. I'd be content with a standard class for Search and similar unique names for other elements, but the above suggestion of <!-- [user-login]:class=classname --> isn't bad, similar with id=idname, but the more complex it's made, the more parsing required and possible system slowdown.

Martin

 
Reply With Quote

Moderator




Posts: 149
Registered: 2/24/2003
Status: Offline

  posted on 7/28/2003 at 04:07 PM
What about the opposit - taking some php-stuff into the css-file. Do you know if that is possible?

 

____________________
Franz Skaaning.
http://postnuke.lexebus.net

 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 103
Comments: 0

Powered by the AutoTheme HTML Theme System
Page created in 0.118498 Seconds