We use cookies to provide you with the best online experience. By continuing to browse this site you are agreeing to the use of cookies. Click this banner for more info. Accept and close
Comrz - Social Commerce Specialists
19 May 2013
Forums
Team Time / Online
Comrz Rated
Partner Store - Secured
What's New
     
  Reset Password  

 | HelpSite Map


Return to Home Head Back Go Forth!
Welcome to Comrz
[Login Now]

Social Tools











Quick Smart Digest Subscribe to feed | Subscribe by email

Formatting Affino Entry Fields

Stefan
by Stefan
12:43 28 October 2009 | Add Comments | 601
Print Article Send eCard Add to Notebook
Highlights

CSS Tags

Field Formatting

Font Formatting

Image Formatting
Custom Style Affino Design Elements
Many people have asked me for CSS guidance for formatting search / login fields, so here are the essentials

I have split the CSS Tags into Field and Font Formats, you simply input a string of tags, as per the following example which is the second one from the above visual:

 

border-style: none; background: transparent !important; color: #cccccc !important; font-size: 11px;

 

There are of course several more tags available, but I’ve only included the more obvious ones I have had cause to use at some time over the last 10 years or so. Do NOTE that since Affino 5, you need to set button background as transparent for background image to show through. Otherwise, it’s all pretty straightforward. If you require further guidance, I recommend you access the ’W3 Schools CSS Reference’ for the full CSS tag library.

 

Field Formatting Tags:

  • Background Colour = background-color: #ffffff; | (NOTE - use - background-color: #ffffff !important;)
  • Border Colour = border-color: #cccccc; (NOTE - use - border-color: #cccccc !important;)
  • Border Style = border-style: none; | solid;
  • Border Width = e.g. border-width: 1;
  • Height = height: 24px;
  • Transparency = background: transparent; | (NOTE - use - background: transparent !important;)
  • Width = width: 80px;


Font Formatting Tags:

  • Alignment = text-align: left; | right; | centre; | justify;
  • Colour = color: #000000; | (NOTE - use - color: #000000 !important;
  • Font = font: verdana; | arial; | helvetica; | etc.
  • Font Family = font-family: verdana; | sans-serif; | etc.
  • Indent = text-indent: 5px;
  • Size = font-size: 11px; | small; | medium; | large; | etc.
  • Style = font-style: normal; | italic; | Oblique;
  • Transform = text-transform: none; | capitalize; | uppercase; | lowercase;
  • Vertical Alignment = vertical-align: baseline; | bottom; | middle; | sub; | super; | text-top; | text-bottom; | bottom;
  • Weight = font-weight: normal; | bold; | bolder; | Lighter;

 

Image formatting

  • Background Image = background-image: url(name.gif); (NOTE - you can usually just make cell have transparent background so it shows through Affino Cell selected background image)
  • Repeat = background-repeat: no-repeat; | repeat;

 

NOTES

As Form Style is set to override settings for:

Background Colour, Border Colour, (Text) Colour and Transparency - your manual field settings need to be appended with !important - in order to override the overrides!




Subscribe to feed Subscribe to feed Subscribe by email Subscribe by email
Share: Tweet Facebook Digg Delicious Reddit StumbleUpon
 
Add New Comment
Add to Notebook Send eCard Print this Article
Call Comrz on +44 (0)20 3393 3240
Email Comrz via engage@comrz.com or by clicking this button and filling in the resulting form
Make arrangements for an Audit or Demonstration
Make an appointment to meet with a Comrz Specialist
Register on comrz.com for enhanced access and engagement

Contact






Director,Webmaster
Stefan Karlsson
Stefan Karlsson
Director of Marketing





Get in Touch











Related Resources











Featured Articles






Personal Recommendations are what really Sells

The Amazing SEO Power of Topic Channels

Monetising a Community

The need for online store certification and accreditation

Creating the ultimate band, musician or DJ website

Creating the ultimate Fashion retail experience

Smart SEO - Affino Style

Social Networking is the new CRM / CRM 2.0

The Art of Topical Slipstreaming

Affino Newsletter Skin Anatomy






Article Highlights






Tags Comments




Comrz Expertise Icons
Contact Us Site Map Return to Home Head Back Go Forth!