CSS div with span that is stuck to top?

I'm still new to CSS but I've been trying to find the answer to this problem for a couple of days now and I just cannot hit on the right site or search phrase to uncover the information. Or I am just not getting what I'm reading. What I want is to have like a title bar across the top of the DIV. I'll have some elements that are children to this DIV and then one or more DIVs .insertAfter'd each other. These title bar DIVs will also be used to collapse and expand to hide and show their children if that makes any difference. How would I do that with a CSS class? Like class="titleDiv" then .titleDiv { text: left align; span: right align; }
Title Text Left Aligned Item Count Right Aligned
Title Text Left Aligned Item Count Right Aligned
Title Text Left Aligned Item Count Right Aligned

I'm using the latest stable/release version of Chrome exclusively if that matters.

以上就是CSS div with span that is stuck to top?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏