O.Kuz O.Kuz - 7 months ago 56
CSS Question

margin of nested elements

I need CSS code to place all elements with some indents, example first element must place on the left part of page, than image with some indent and etc.

<div class="container-fluid">
<div class="row header_row">
<div class="col-md-12">
<a href="main.html">Main</a>
<img src="images/rose+garland.png" class="navi_images">
<a href="portfolio.html">Portfolio</a>
<img src="images/rose+garland.png" class="navi_images">
<a href="#">Contacts</a>


Just read about how margin and padding are made in CSS. If you want to place your elements next to each other you can use display: inline-block or float. You will find enough examples when you search for spacing or positioning with CSS.