DU Community Help
Related: About this forumQuestion about code
I'm trying to reformat the Top 10 so it's easier to read, and I was wondering how do you get the stylized block quote like in the Hate Mailbag? Is it HTML code or is it more advanced DU code?
http://www.democraticunderground.com/?com=view_post&forum=1002&pid=8465045
Control-Z
(15,684 posts)but if you highlight your text/paragraph and click on excerpt (right below the reply title - above the message text box) you'll get this:
Make7
(8,546 posts)That stands for Cascading Style Sheets - an evolution in web programming to make formatting things more flexible and independent of the content. Here is the code EarlG is using:
[div class="excerpt" style="margin-right:3px; border:1px solid #bfbfbf; border-radius:0.4615em; box-shadow:-1px -1px 3px #bfbfbf inset;"][div style="padding: 20px; background-color: #f6f6f6; border-radius: 10px; box-shadow: 0px 2px 4px 1px #aaa;"][div style="font-family: arial, helvetica; color: #e60000; font-weight: bold; border-bottom: 1px dotted #999; padding-bottom: 10px;"]HEADING HERE[/div][br]Body text here[/div]
You can copy that and just replace the two text sections (HEADING HERE and Body text here) with whatever content you are using. There are lots of possibilities to tailor the presentation of text here using inline CSS - usually if you can describe what you want to do, someone will come along to try and help you figure out what code to use.