Welcome to my development templates, when I build a site I create these pages for two main reasons:
The CSS uses a modular 'framework' type approach and 95% of styles have already been built and should be found on these pages.
We have several classes that combine to affect layout, dimensions and presentation.
These classes define how the boxes behave in the layout, floating etc.
These classes apply width to layout divs and are also used to apply dimensions to the contained content elements, so for example narrower columns have less spacing for P tags etc.
These classes define colours and background, something added ideally with brand-specific CSS so we have only put several examples here so as not to clutter the template.
Popup link – Indicates that a window will pop
stuart@s2digital.co.uk – An email link
07000 000000 – A phone number
www.google.co.uk – A link leading to an external site
Edit – A link that edits an item
Speech bubble – with an img.
You will see an image floated to the right. This has a class of "Floater". It can applied to most elements and these styled elements can be stacked. Links in paragraphs are underlined
Below you will see the Call To Action module in action! This is a div that holds anchor tags, these can be buttons or styled links. the default alignment is right, as this is the best place for CTA's but a class of "fLeft" attached to the anchor aligns the button left - make sure you have the elements in the correct order for this effect however!
Testing a 'cta' div nested in a list:
this 'Inset' class simply adds padding to the top, left, and right and possibly a default coloured background. Lorem ipsum dolor sit amet, emphasis consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Demo off-site link here turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.
This is a definition list division. You must put the definition description in a nested p tag like this one to maintain the coloured background.
This is a definition list division with a background colour.
This is a definition list division with a background colour.
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident,
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident,
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident,
...and you get an expandable list. Place a div (with properly markup html in it) after the h3. The first item is always loaded open
Place a div (with properly markup html in it) after the h3 in a dropList and you will get a drop down function
Place a div (with properly markup html in it) after the h3 in a dropList and you will get a drop down function
Table cells are aligned right by default, because our design standard is that numeric data is aligned right and the majority of table data is numeric. The borders are default also. Striping is applied via a 'Stripe' class applied to the table which uses javascript to applies an 'Odd' class to alternating rows.
| Table Header 1 | Table Header 2 | Table Header 3 |
|---|---|---|
| row header 'bodyTH' | default numeric row cell aligns right | text row cell 'tableText' |
| row header row style 'Odd' | default numeric row cell aligns right | text row cell 'tableText' |
| row header | default numeric row cell aligns right | text row cell 'tableText' |
| Table Header Capped no border left | Table Header 2 | Table Header 3 |
|---|---|---|
| row header 'bodyTH' | default numeric row cell aligns right | text row cell 'tableText' |
| row header row style 'Odd' | default numeric row cell aligns right | text row cell 'tableText' |
| row header | default numeric row cell aligns right | text row cell 'tableText' |
Lorem superscript dolor subscript amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. cite. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. NBA Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. AVE
So we have our 'RightStd' or standard right div. This carries content that stacks up happily oblivious to the contents to the left. Please create a new 'Mid' division to create a new block of content that aligns across the middle and right section. This div carries a 'NarrowStd' class which defines many default dimensions and sizes for HTML elements
This is an 'Inset' division, in a 'NarrowDim'd div. Content dimensions will be defined by this relationship
Say we want another block of main column content with related content aligned to the right, we create another 'Mid' section for this purpose.
Tel: 07000 000000
Mob: 07000 000000