开发者

WordPress Side-Note

开发者 https://www.devze.com 2023-03-16 20:22 出处:网络
I\'m trying to put footnotes on the side 开发者_开发百科of my page in WordPress, like http://www.grantland.com/story/_/id/6640925/time-lebrondown-part-ii

I'm trying to put footnotes on the side 开发者_开发百科of my page in WordPress, like

http://www.grantland.com/story/_/id/6640925/time-lebrondown-part-ii

Here's my website: http://www.drfus.com/

As you can tell, I edited the CSS and it works. But for me, only in Firefox and Safari. Not Chrome and IE. Why is that? What am I doing wrong?


You have a bunch of xhtml errors, like a missing closing </div> from the wrapper <div>that is probably throwing the sidebar out - very common in Wordpress themes - as well as bad nesting inside of <ul> elements.

See [Invalid] Markup Validation of drfus.com - W3C Markup Validator. Scroll down in the validation report to see line numbers and source code.

If you want the vertical position of the footnotes in the sidebar in relation to the text on the entry-content <div> - whoch I'm guessing you want to do - one idea is to use some sort of jQuery on document ready to look for the footnote number in the <div> and position the sidebar text.

0

精彩评论

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