HomeLatest ThreadsGreatest ThreadsForums & GroupsMy SubscriptionsMy Posts
DU Home » Latest Threads » Forums & Groups » Main » Community Help (Forum) » Unofficial DU3 Basic HTML... » Reply #48

Response to davidpdx (Reply #47)

Wed May 14, 2014, 09:02 PM

48. I'm not sure what you mean by "the color of the box (outside)".

You can pretty much do whatever you want with the <div> element used for the excerpt. You can make the background, border, text, and shadow any color you wish. Use more or less of a shadow, different types of borders, more or less rounded corners, etc.

[div class="excerpt" style="background-color:#bbddff; color:#002288; margin-left:1em; border:2px dotted #88aacc; border-radius:1em; box-shadow:6px 6px 6px #3388aa;"][div class="excerpt" style="background-color:#bbddff; color:#002288; margin-left:1em; border:2px dotted #88aacc; border-radius:1em; box-shadow:6px 6px 6px #3388aa;"]Your text here.[/div]

All of this is done with Cascading Style Sheets (CSS). For a good reference on the subject, check out w3schools CSS reference.

If that didn't answer the question, you might have to draw me a picture. Literally.

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 68 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
JUSTIN JOSEPH Sep 2017 #65
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
Make7 Apr 2013 #18
lumberjack_jeff Apr 2013 #26
Make7 Apr 2013 #28
lumberjack_jeff Apr 2013 #29
davidpdx Apr 2014 #47
LineLineLineReply I'm not sure what you mean by "the color of the box (outside)".
Make7 May 2014 #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 2014 #49
tarheelsunc May 2014 #50
Make7 May 2014 #51
laserhaas Dec 2014 #52
Make7 Apr 2015 #53
Initech Jan 2017 #61
Name removed Oct 2015 #54
ColesCountyDem Oct 2015 #55
w0nderer Oct 2015 #56
Name removed Nov 2015 #57
Name removed Mar 2016 #58
blueseas Jan 2017 #59
Make7 Jan 2017 #60
nikibatts Feb 2017 #62
Name removed Jun 2017 #63
steve2470 Sep 2017 #64
Denzil_DC Oct 2017 #66
steve2470 Oct 2017 #67
progree Oct 2017 #68
Please login to view edit histories.