What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

Div wont expand with content

danny971

New member
Joined
Apr 27, 2024
Messages
1
Reaction score
0
HTML Coins
0
I have an issue my div won't expand with the content being loaded to it. I used this same concept in other parts of the application it works but not for my multi-step form

here is the code giving me issues

<h4>Order Section</h4>
<section>

<div class="container-fluid">


<div class="card">

<div class="card-header">
<h4 class="card-title">Order Section</h4>
</div>

<div class="card-body">

<div class="table-responsive">

<!-- Table starts here -->
<table id="table" class="table student-data-table m-t-20" >
<thead>
<tr>
<th scope="col">CATEGORY</th>
<th scope="col">ITEM NAME</th>
<th scope="col">REEV</th>
</tr>
</thead>
<tbody>
@foreach($FID as $data)
<tr>
<td>{{ $data->category_name }}</td>
<td>{{ $data->product_name }}</td>
<td>
<input type="number" name="" id="" min="0" class="form-control">
</td>
</tr>
@endforeach
</tbody>
<tfoot>
<tr>
<th>CATEGORY</th>
<th>Item Name</th>
<th>Reev</th>
</tr>
</tfoot>
</table>
<!-- Table ends here -->

</div>
</div>


</div>


</div>

</section>


here is the css


.table-responsive {
display: block;
width: 100%;
overflow-x: auto;
background-color:red;

-webkit-overflow-scrolling: touch; }
.table-responsive > .table-bordered {
border: 0; }
.frm-container {

overflow-y: auto;

}

its not even showing the footer of the table
 

Attachments

  • issues.JPG
    issues.JPG
    93 KB · Views: 2
div tags are just used to define a section or section of an html document. You'll have to add your own border layouts to each section of the document then you can get what you specifically want on how a document should look.
l
Is the CSS fitted to the html document? By that I mean the class files in the database, is it tailored to the correct page size? Whatever that was. For example, png files.
 
Last edited:

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back