Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

DU Community Help

In reply to the discussion: Question about code [View all]

Make7

(8,547 posts)
2. The actual code being used is called CSS.
Fri Jan 20, 2017, 12:32 AM
Jan 2017

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.

Recommendations

0 members have recommended this reply (displayed in chronological order):

Latest Discussions»Help & Search»DU Community Help»Question about code»Reply #2