html - Body and Div height/overflow issues -
i'm working on project using vue.js 2.0 framework , bit of bootstrap 3. project has required me work more on front-end used wondering if here give me useful insight few css issues appear having.
the project can found here: http://rgmotorhomehire.com/project
if give source quick inspection, notice body element height of navbar, , container div's various 'pages' totally outside of parent body element.
the main thing i'd know is:
- how can force body 100% height via css, wraps it's child elements properly, , can add footer html.
please note have tried:
html, body { margin: 0; height: 100%; }
however, if try in inspector, notice introduces new issue of html element having empty space below it.
this whole scenario has left me more little lost , confused. hoping out there can inform me on whats causing issues.
note: i'd apologise in advance pointless info post contains (including note), i've had complaints in past questions not being direct enough i've tried best clear , concise possible, thank you.
update: literally straight after post, discovered solution use clearfix on wrapper divs had 0 height bug. post can closed now. found solution here: http://www.jqui.net/tips-tricks/css-clearfix/
clearfix bootstrap class. clear out float property. right or left.
if have div of calling float left property.
for class pull-right have property float right. next div want clear floating property called before, call clearfix clear floating property. works fine.
Comments
Post a Comment