Table of contents: diferència entre les revisions
De Recursos docents
(Es crea la pàgina amb «<div style="display: flex; flex-direction: row; gap: 20px;"> <!-- Left Column: Table of Contents --> <div style="flex: 1; max-width: 200px; padding: 10px; background-color: #f9f9f9; border: 1px solid #ccc; border-radius: 5px;"> __TOC__ </div> <!-- Right Column: Main Content --> <div style="flex: 3;"> <h2>Section 1</h2> <p>Content for section 1 goes here.</p> <h2>Section 2</h2> <p>Content for section 2 g...».) |
Cap resum de modificació |
||
Línia 6: | Línia 6: | ||
<!-- Right Column: Main Content --> | <!-- Right Column: Main Content --> | ||
<div style="flex: 3;"> | <div style="flex: 3;padding=0"> | ||
<h2>Section 1</h2> | <h2>Section 1</h2> | ||
<p>Content for section 1 goes here.</p> | <p>Content for section 1 goes here.</p> |
Revisió del 10:35, 27 gen 2025
Section 1
Content for section 1 goes here.
Section 2
Content for section 2 goes here.
Section 3
Content for section 3 goes here.