Hi there
I have set up div which are supposed to contain one tshirt and the cart for each one. However the float doesnt seem to work, they hang in a line. Anyone know where i am going wrong?
Hi there
I have set up div which are supposed to contain one tshirt and the cart for each one. However the float doesnt seem to work, they hang in a line. Anyone know where i am going wrong?
In your style.css, add 'float: left;' to .leftproduct, and add a similar definition for .rightproduct.
.leftproduct {
float: left;
}
.rightproduct {
float: left;
}as far as i can see, there is no float:left; or float:right; on the styles for .leftproduct or .rightproduct
You should redo everything from 0 and think about organizing your CSS class/id.
Thanks so much vtxyzzy, it worked! really appreciate everyones help :))
Glad it worked. Now, please use the dropdown at top right to mark this topic 'Resolved'.
This topic has been closed to new replies.