0
I’m trying to create a bar like the one in the image, the bar that has product etc. I have the following code:
<div id="topcart">
<thead>
<tr>
<th>ISBN</th>
<th>Book</th>
<th>Price</th>
<th>Quantity</th>
<th>Subtotal</th>
<th> </th>
</tr>
</thead>
</div>
and then in CSS I have the following;
#topcart{
overflow: hidden;
display:block;
}
but it is not doing anything. it is not overflow that causes the bar to appear as in the image?
Overflow serves to indicate to the browser what it should do with the content that does not fit within a layer, according to the dimensions assigned to it. Hidden: This value indicates that contents that, by layer size, do not fit in it, should be hidden.
– user60252
Could you kindly tell me what is the CSS element that allows you to do the blue bar? I searched and couldn’t find it.
– Diana Madeira
<style>#topcart { background-color: #0000FF }</style>
– user60252
the color of the product bar is +- this #71658B
– user60252
I don’t want the color but how to make the bar!
– Diana Madeira
the css element that allows you to make the bar in blue is background-color.
– user60252
for though I have realized it, the problem is that in my code it is not working. because it will be?
– Diana Madeira
can I chat with Voce? a question has arisen?
– Diana Madeira
Let’s go continue this discussion in chat.
– user60252