Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

2013-01-09-markup-text-alignment.md 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ---
  2. author: adamchlan
  3. categories:
  4. - Markup
  5. - Uncategorized
  6. date: 2013-01-09T16:00:39Z
  7. original_post_id:
  8. - "895"
  9. tags:
  10. - alignment
  11. - content
  12. - css
  13. - markup
  14. title: 'Markup: Text Alignment'
  15. parent: "Variables"
  16. url: /2013/01/09/markup-text-alignment/
  17. ---
  18. ### Default
  19. This is a paragraph. It should not have any alignment of any kind. It should just flow like you would normally expect. Nothing fancy. Just straight up text, free flowing, with love. Completely neutral and not picking a side or sitting on the fence. It just is. It just freaking is. It likes where it is. It does not feel compelled to pick a side. Leave him be. It will just be better that way. Trust me.
  20. ### Left Align
  21. <p style="text-align:left;">
  22. This is a paragraph. It is left aligned. Because of this, it is a bit more liberal in it&#8217;s views. It&#8217;s favorite color is green. Left align tends to be more eco-friendly, but it provides no concrete evidence that it really is. Even though it likes share the wealth evenly, it leaves the equal distribution up to justified alignment.
  23. </p>
  24. ### Center Align
  25. <p style="text-align:center;">
  26. This is a paragraph. It is center aligned. Center is, but nature, a fence sitter. A flip flopper. It has a difficult time making up its mind. It wants to pick a side. Really, it does. It has the best intentions, but it tends to complicate matters more than help. The best you can do is try to win it over and hope for the best. I hear center align does take bribes.
  27. </p>
  28. ### Right Align
  29. <p style="text-align:right;">
  30. This is a paragraph. It is right aligned. It is a bit more conservative in it&#8217;s views. It&#8217;s prefers to not be told what to do or how to do it. Right align totally owns a slew of guns and loves to head to the range for some practice. Which is cool and all. I mean, it&#8217;s a pretty good shot from at least four or five football fields away. Dead on. So boss.
  31. </p>
  32. ### Justify Align
  33. <p style="text-align:justify;">
  34. This is a paragraph. It is justify aligned. It gets really mad when people associate it with Justin Timberlake. Typically, justified is pretty straight laced. It likes everything to be in it&#8217;s place and not all cattywampus like the rest of the aligns. I am not saying that makes it better than the rest of the aligns, but it does tend to put off more of an elitist attitude.
  35. </p>