I created a doc page using Flare and forced breadcrumbs to stay fixed below the top nav. The page works as it is, but I want the div to stretch across the page. Please see current design below:
Click to see example screenshot
I can stretch the div to 100% if I remove the min-width
in the child div, but it stretches only to the right, while keeping the breadcrumbs where I want. Example below:
Click to see example screenshot
Or I can make it stretch 100% by adding left:0;
on the parent div, but then the breadcrumbs move out of place. I can use margin-right or right to position the div to desirable areas, but div does not sync with the rest of the content when resizing browser.
Thank you for your replies. Here are the html and css:
Html:
CSS:
Th tool I use is Flare, which does not have the fixed breadcrumbs feature. Breadcrumbs are automatically generated; I only changed the CSS values and added an extra div with the
.crumbs_wrapper
class. Other classes are automatically generated by the software.If I remove the
max-width
the div only stretches to the right, and if I addleft: 0;
to the parent div, the breadcrumbs move to the left. I can bring the breadcrumbs to the position where I want usingmargin
, but it does not stay fixed when the browser is resized. Also, the paddings and margin-top are used to keep the breadcrumbs below the top nav and aligned with the rest of the content.