Warning: Table './db79366_designmess/sessions' is marked as crashed and should be repaired query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = '2465d9709b567009d43de49359df17c5' in /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/database.mysqli.inc on line 128

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/database.mysqli.inc:128) in /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/bootstrap.inc on line 1037

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/database.mysqli.inc:128) in /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/bootstrap.inc on line 636

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/database.mysqli.inc:128) in /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/bootstrap.inc on line 637

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/database.mysqli.inc:128) in /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/bootstrap.inc on line 638

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/database.mysqli.inc:128) in /nfs/c05/h04/mnt/79366/domains/designmess.com/html/includes/bootstrap.inc on line 639
Post Style Guide | Designmess

Post Style Guide

Properly styling your content can really liven up the post and make it interesting for the reader. This is a basic guide which will cover all the styles available to you whenever you post. Making use of these options can make or break your article or tutorial.

The Basics

  • All line breaks will occur automatically.
  • You do not need to wrap your text in "p" tags.
  • Any HTML or other code that is not allowed will be excluded automatically when you post.
  • Web links and email addresses will turn into links automatically.
  • Don't worry about email addresses, they will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.
  • Don't worry about manually resizing images. Either uploading to Designmess via the "Add Image" button, or adding a set width to your image tag (we recommend width="630" ) and Designmess will automatically create a thumbnail of your image.

Put Emphasis on your Text

This is strong.

  1. This is <strong>strong</strong>

(Also interchangeable with bold)
  1. Also interchangeable with <b>bold</b>

Let's use italics.

  1. Let's use <i>italics</i>.

How about some emphasized text?

  1. How about some <em>emphasized text</em>?

How about some Headings?

The heading above is the h3 tag.

  1. <h3>How about some Headings?</h3>

I'm the h4 heading!

  1. <h4>I'm the h4 heading!</h4>

Alright, now that you know the headings, lets move on.

Lists

You can use both the ordered and unordered list tags.

  • I'm part of an unordered list!
  • Good for making quick points about something
  • And much much more!

  1. <ul>
  2. <li>I'm part of an unordered list!</li>
  3. <li>Good for making quick points about something</li>
  4. <li>And much much more!</li>
  5. </ul>

Now let's try the ordered list.

  1. Everything will automatically be numbered.
  2. Useful for tutorials
  3. And other step by step instructions

  1. <ol>
  2. <li>Everything will automatically be numbered.</li>
  3. <li>Useful for tutorials</li>
  4. <li>And other step by step instructions</li>
  5. </ol>

Highlighting Syntax Code

If you are looking to show the code you used, here are the available options.

Make sure to line break your tag when you use the syntax filters.

  1. <html-code>
  2. Put your XHTML code here!
  3. </html-code>

  1. <css-code>
  2. Insert CSS Code here
  3. </css-code>

  1. <javascript-code>
  2. Got some javascript code?
  3. </javascript-code>

  1. <mysql-code>
  2. What about MySQL code?
  3. </mysql-code>

  1. <php-code>
  2. How about some PHP code?
  3. </php-code>

  1. <asp-code>
  2. Even ASP code!
  3. </asp-code>

  1. <actionscript-code>
  2. Insert actionscript code here.
  3. </actionscript-code>

  1. <actionscript3-code>
  2. Please use this for actionscript 3 code.
  3. </actionscript3-code>

  1. <apache-code>
  2. Put Apache server code here.
  3. </apache-code>

  1. <python-code>
  2. Python code goes here.
  3. </python-code>

  1. <ruby-code>
  2. Insert Ruby code here.
  3. </ruby-code>

  1. <sql-code>
  2. SQL code goes here!
  3. </sql-code>

  1. <xml-code>
  2. Got some XML code?
  3. </xml-code>

Using Lightbox functions

To enrich the user experience, we allow certain lightbox functions. These can be particularly useful when showcasing a certain image or website in your article or tutorial.

Image links with rel="lightbox" in the 'a' tag will appear when clicked on.
Click me!

  1. <a href="http://designmess.com/custom-theme/sample-image.jpg" rel="lightbox">Click me!</a>

Links to HTML content with rel="lightframe" will also work.
Check out our friends at Firefox!

  1. <a href="http://firefox.com" rel="lightframe">Check out our friends at Firefox!</a>

Other Styles

Looking to spruce up your post even more? Using these tags will really highlight your information and grab the reader's attention.

Do you have some information to highlight? Use the following code below.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent fermentum velit et orci suscipit id venenatis elit molestie. Mauris ullamcorper, mauris eget volutpat adipiscing, tellus tortor feugiat quam, eget feugiat dui lorem ut augue. In mollis lacinia magna at vehicula.

The block and its content will be floated to the left.

  1. <div class="info-block-left">
  2. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent fermentum velit et orci suscipit id venenatis elit molestie. Mauris ullamcorper, mauris eget volutpat adipiscing, tellus tortor feugiat quam, eget feugiat dui lorem ut augue. In mollis lacinia magna at vehicula.
  3. </div>

This is heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent fermentum velit et orci suscipit id venenatis elit molestie. Mauris ullamcorper, mauris eget volutpat adipiscing, tellus tortor feugiat quam, eget feugiat dui lorem ut augue. In mollis lacinia magna at vehicula.

Unlike the left info block, this block and its contents will be floated to the right of the text. Also shown is the use of a heading inside the block. We allow the use of the h4 heading tag inside these blocks.

  1. <div class="info-block-right">
  2. <h4>This is heading</h4>
  3. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent fermentum velit et orci suscipit id venenatis elit molestie. Mauris ullamcorper, mauris eget volutpat adipiscing, tellus tortor feugiat quam, eget feugiat dui lorem ut augue. In mollis lacinia magna at vehicula.
  4. </div>

Need to highlight an excerpt or a quote? Use the quote-left and quote-right tags.

I have a dream...

The quote inside this tag will be floated to the left of the content.

  1. <div class="quote-left">
  2. I have a dream...
  3. </div>

...That one day IE will be forever banned.

Once again, unlike the quote-left tag, the quote in here will be floated to the right of the content.

  1. <div class="quote-right">
  2. ...That one day IE will be forever banned.
  3. </div>

Finally, if you have something important to say, or if this is a very important step, you can use the notice tag.

I have something important to say. I just forgot what it was...

  1. <div class="notice">
  2. I have something important to say. I just forgot what it was...
  3. </div>

Some final tips

While styling your posts is fun and helps grab the reader's attention, in the end, its the content that matters. If you create interesting and original content; and combine that with proper styling, then you create something that is a great read.

Sorry if its gonna be slow content wise for a week or so. Working on a free wordpress theme. Consider writing for us?