View Single Post
  #9  
Old 09-03-2013, 08:27 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 609,729
Hall of Famer is on a distinguished road
Default

Well for each HTML form element, you can look up its ID or class by viewing page source from FF/Chrome, then add CSS element for these particular ID/Class. You can modify the script, and add a class for each HTML element manually. This is one example:

PHP Code:
$image = new Image("image.png");
$image->setClass("daycare_image"); 
It can be a bit tricky though, to locate the image GUI object in a script file and operate on this very object. In Mys v1.3.4 I've provided a new feature called additional css, which can be manipulated through ACP. This way you can create different css for various pages, read the blogpost for more information if you are interested:
http://www.mysidiaadoptables.com/forum/blog.php?b=82
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote