CSS what am I missing here?
-
Hey there,
Thanks for a great plugin Zach! The perfect fit for a new project I am working on.
I am far from a CSS guru and just can’t seem to figure something out – please someone assist 🙂
In my catablog item description I am trying to display this text inline “N.33.002 5 1856 0 King Oscar 8 Skilling $22.00”
I used this html/css and it displays perfectly as in any browser when saved as a file on its own.
‘<!–Added to ‘catablog/css/catablog.css’
#listinglotno {float: left; wclassth: 64px; height:auto; background-color:pink; text-align: center;}
.listingscottcat {float: left; wclassth: 36px; height:auto; background-color:green; text-align: center;}
.listingyear {float: left; wclassth: 35px; height:auto; background-color:red; text-align: center;}
.listingcondition {float: left; wclassth: 93px; height:auto; background-color:yellow; text-align: center;}
.listingdescription {float: left; wclassth: 334px; height:auto; background-color:gray; text-align: center;}
.listingprice {float: left; wclassth: 45px; height:auto; background-color:purple; text-align: center;}
–>`<div id="listinglotno">N.33.002</div> <div class="listingscottcat">5</div> <div class="listingyear">1856</div> <div class="listingcondition">0</div> <div class="listingdescription">King Oscar 8 Skilling</div> <div class="listingprice">$22.00</div>
However, when I use the exact same code it my Catablog description I get line breaks and each text string gets placed one under the other?
- The topic ‘CSS what am I missing here?’ is closed to new replies.