inherit
220198
0
Mar 27, 2024 9:50:24 GMT -8
gb9454
Life is too short. Don't waste it reading this.
516
April 2015
gb9454
|
Post by gb9454 on Feb 6, 2019 7:33:20 GMT -8
Forum URL: talkaboutfootballforum.comHello I'm trying to control the line spacing inside a sidebar but without any luck. On the left side of my forum, I've created a simple calendar, but I want to 'group' the dates so that they stand out better. For example, from the way it looks now, to this: Thu 7 Feb - Sun 10 Feb AT&T Pebble Beach Vic Open Weekend Games Tue 12 Feb - Wed 13 Feb Championship Predictions Champions League Predictions Europa League Predictions Thu 14 Feb - Sun 17 Feb ISPS Super 6 Genesis Open Weekend Games Thank you
|
|
#eb7100
1480
0
1
Apr 30, 2024 2:10:42 GMT -8
Craig
208,869
September 2001
cmdynasty
|
Post by Craig on Feb 6, 2019 7:49:12 GMT -8
If i could add an opinion, i think it stands out pretty well as you have it.
So if i am understanding right, you essentially want to remove the table from the sidebar, and just keep the div:
<div style="background-color:#d9d9d9 ;width:354px; height:500px;overflow:auto;">
</div>
And you can add the content into that div, so:
<div style="background-color:#d9d9d9 ;width:354px; height:500px;overflow:auto;"> Thu 7 Feb - Sun 10 Feb<br /> AT&T Pebble Beach<br /> Vic Open<br /> Weekend Games<br /> <br /> Tue 12 Feb - Wed 13 Feb<br /> Championship Predictions<br /> Champions League Predictions<br /> Europa League Predictions<br /> <br /> Thu 14 Feb - Sun 17 Feb<br /> ISPS Super 6<br /> Genesis Open<br /> Weekend Games<br /> </div>
The <br /> tells it to line break. That is without any styling, which you can add to make it look 'better'.
|
|
inherit
220198
0
Mar 27, 2024 9:50:24 GMT -8
gb9454
Life is too short. Don't waste it reading this.
516
April 2015
gb9454
|
Post by gb9454 on Feb 6, 2019 7:56:22 GMT -8
Thank you, Craig. I'll play about with your code but also take on board your suggestion to leave it as it is.
|
|