HomeLatest ThreadsGreatest ThreadsForums & GroupsMy SubscriptionsMy Posts
DU Home » Latest Threads » Forums & Groups » Main » Welcome & Help (Forum) » Unofficial DU3 Basic HTML... » Reply #18
Introducing Discussionist: A new forum by the creators of DU

Response to Make7 (Original post)

Thu Apr 4, 2013, 07:02 PM

18. Bored with DU's plain gray excerpt boxes?

Here's one that can be useful for quoting a whole DU post with a title or a DU Mail:

TITLE GOES HERE
[div class="excerpt" style="background-color:#dcdcdc; padding-bottom:5px; border:1px solid #bfbfbf; border-bottom:none; border-radius:0.4615em 0.4615em 0em 0em; box-shadow:3px 3px 3px #999999;"][b]TITLE GOES HERE[/b][/div][div class="excerpt" style="background-color:#f0f0f0; border:1px solid #bfbfbf; border-top:none; border-radius:0em 0em 0.4615em 0.4615em; box-shadow:3px 3px 3px #999999;"]MESSAGE GOES HERE[/div]


And this is what I'm using in my user style sheet (everyone's excerpts look like this in my browser):

[div class="excerpt" style="margin-left:1em; border:1px solid #bfbfbf; border-radius:0.4615em; box-shadow:3px 3px 3px #999999;"][/div]


And I often use this in my own posts as a double check that my excerpt code is actually doing something (i.e. slightly different than my user style sheet excerpt code):

[div class="excerpt" style="margin-left:1em; border:1px solid #bfbfbf; border-radius:0.4615em; box-shadow:-1px -1px 3px #999999 inset;"][/div]


Obviously there are too many possibilities for me to list what you can do by adding a little CSS to an div.excerpt element - for those wanting to try more, w3schools has a good CSS reference guide.

Reply to this post

Back to OP Alert abuse Link to post in-thread

Always highlight: 10 newest replies | Replies posted after I mark a forum
Replies to this discussion thread
Arrow 51 replies Author Time Post
Make7 May 2012 OP
rocktivity May 2012 #1
Make7 May 2012 #3
muriel_volestrangler May 2012 #4
Make7 Jun 2012 #6
JustanAngel Sep 2013 #36
maxcopper Jun 2013 #31
JustanAngel Sep 2013 #35
Scuba May 2012 #2
RainDog May 2012 #5
Fortinbras Armstrong Sep 2013 #33
RainDog Sep 2013 #34
Ohio Joe Jun 2012 #7
Lugnut Jun 2012 #8
Lookz Jun 2012 #9
Egalitarian Thug Dec 2012 #10
Make7 Dec 2012 #11
annabanana Dec 2012 #12
Make7 Mar 2013 #13
muriel_volestrangler Mar 2013 #15
Make7 Mar 2013 #16
Agschmid Mar 2013 #14
Make7 Mar 2013 #17
LineReply Bored with DU's plain gray excerpt boxes?
Make7 Apr 2013 #18
lumberjack_jeff Apr 2013 #26
Make7 Apr 2013 #28
lumberjack_jeff Apr 2013 #29
davidpdx Apr 2014 #47
Make7 May 14 #48
Ptah Apr 2013 #19
RainDog Apr 2013 #20
Make7 Apr 2013 #21
RainDog Apr 2013 #22
Make7 Apr 2013 #23
petronius Apr 2013 #24
Make7 Apr 2013 #25
petronius Apr 2013 #27
TexasTowelie May 2013 #30
params193 Aug 2013 #32
Name removed Sep 2013 #37
Name removed Nov 2013 #38
RainDog Jan 2014 #39
RainDog Jan 2014 #40
Make7 Jan 2014 #41
RainDog Jan 2014 #42
Make7 Jan 2014 #43
RainDog Jan 2014 #44
Make7 Jan 2014 #45
Paladin Mar 2014 #46
Name removed May 20 #49
tarheelsunc May 21 #50
Make7 May 24 #51
Please login to view edit histories.