Mam taki problem mam sobie stronę i chodzi o to, żeby divy były osob siebie w jednym divie a one są pod spodem.
<div class="centerPage">
<div class="row centerPage guest" style="width: 80%;" >
@include ('adminlte.logoGuest')
<div class="right">
@foreach ($listCategorie as $list)
<div class="co-2 br center ">
<a href="{{ route("guest.listIssue",$list->id) }}">{{$list->name}}</a>
</div>
<br>
@endforeach
</div>
</div>
</div>
style.css
div.br {
background-color: red;
float: left;
}
div.center {
}
div.centerPage {
margin-left: auto;
margin-right: auto;
}
td.center {
text-align: center;
}
div.logo {
width: 260px;
margin-left: auto;
margin-right: auto;
}
table.center {
margin-left: auto;
margin-right: auto;
width: 500px;
}
div.right {
width: 80%;
background-color: green;
float: left;
}
div.guest {
}
I teraz chodzo o to, że to te divy mają być osob siebie
<div class="co-2 br center ">
<a href="{{ route("guest.listIssue",$list->id) }}">{{$list->name}}</a>
</div>