RESOLVED: Help setting height on div with scroll bar

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Content Nerd
Jr. Propeller Head
Posts: 1
Joined: Mon Dec 17, 2018 12:25 pm

RESOLVED: Help setting height on div with scroll bar

Post by Content Nerd »

Figured this out. My style attributes were ok (except that missing;), but there was another build error that was preventing my style changes from taking effect.
====================
HTML5 output. Responsive layout. Finally figured out what div tag to set Overflow: Scroll on, but it puts a vertical scroll bar the entire length of the text in the div, which kind of defeats the purpose of a vertical scroll bar. I've tried adding the height parameter in the style code below, and have tried various percentages and pixels, but I either get no text visible, or all of the text visible. Can anyone enlighten me on the correct attributes to set a fixed-height scrolling area in a div? It's taken me all morning to get this far so I'd appreciate an assist to the finish here. Thank you!

div.info-section > div:nth-child(2)
{
width: 16.667%;
height: 100px
margin-left: 2%;
overflow: scroll
}
Post Reply