I am having trouble learning how to float images to the left and text to the right.
For some reason not working now. have tried display block and in-line block plus floats
Trying to get basket image to float left total next to it and cart under total.
I am just teaching my self how not sure probably something simple I missed
Dude….how many times do I have to tell you?
**YOU CAN’T USE AN LI WITHOUT A UL AROUND IT**
A list item is not a div…they aren’t interchangeable.
You’re having some listitems (LI’s) that are not wrapped in a UL.
LI’s should ALWAYS be nested in a UL or OL.
> YOU CAN’T USE AN LI WITHOUT A UL AROUND IT
Yes you can. OL work too. :)
Just stripping out the li tags that you shouldn’t be using (especially because they aren’t list items) gets you half way there: http://codepen.io/Paulie-D/pen/kftrB
>Yes you can. OL work too. :)
OK…strike CAN’T for SHOULDN’T
Although I’d be interested in seeing a `ol li` working properly without an ` ol` wrapper. :)
I would rephrase to: YOU CAN’T USE AN LI WITHOUT A UL OR AN OL AROUND IT
@mwbcomputers, take note of that.
Thanks All Will take note an keep trying its one of the things all ways tend to have trouble with
found this ul.menuinfo li:nth-child(8) think use this kinda thing now
Yep. That makes total sense.
You must be logged in to reply to this topic.