Currently, I am utilizing an Html5 template. The template is a onepager and there is a specific section that I would like to include for displaying 'business hours'. Ideally, this section should list three days with their corresponding times on each line. The layout I have in mind involves having one line of divs for Monday, Tuesday, and Wednesday; followed by another line with divs for Thursday, Friday, and Saturday; finally concluding with a line for Sunday.
An example of the div structure I have in place:
<div>
<strong> Monday </strong><br>
09:15 - 10:00 .. <br>
11:15 - 12:00 ..<br>
17:30 - 18:15 .. <br>
19:15- 20:00 ..
</div>
<br>
All these divs are children elements within:
<section id="schedule" class="times">
Despite trying to style it using the following CSS selector:
section.times> div {
background-color: #e8edec;
display: inline-block;
}
I am puzzled as to why the contents still appear stacked vertically instead of side by side?