开发者

Can't target DIVs on page

I'm having problems targetting the DIVs on this test page I made at http://flexibletheme.tumblr.com/

In particular I have a div with an id of columns (div#columns), I can't get th开发者_C百科e background color to change.

Any ideas on how to get the background to render in div#columns?


Add overflow: hidden to #columns to clear the floats.

Another common way to clear floats is the clearfix class.

Take your pick of the two methods, but in general overflow: hidden is easier if it works for you.


In the source code on your page, you're missing a double-quote:

<div id=columns">

Try changing it to:

<div id="columns">
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜