The frustrating thing with coding with divs instead of tables is trying to get them to "act" like they're inside each other.
I have a container div, and three sub-divs.
First contains a plus sign
Second contains a Title
Third contains a price
-
-
<div class="adCont">
-
<div id="expandAd1" class="adSign">+</div>
-
<div class="adTitle">Title</div>
-
<div class="adPrice" >$9<span class="cent">.95 /mo</span></div>
-
</div>
-
-
When I declare the three inner divs to float:left (I want them next to each other) , the display of course automatically treated as inline, even if you explicitly declare it as block.
I've played the clear attribute and couldn't get it to work.
What happens in FF (my standard) is that the container just collapses if there's no "real" hard content in it such as plain text, images, or a div that doesn't have the float attribute.
I'm no CSS expert, but I find my way except when it comes to problems like this.
Any help is appreciate it. Trying to finish this tonight,
Dan
PS: Span tag instead of div? I'll try that. but I think span acts just like a div with display inline.