开发者

Pages rendering differently in Google Chrome and FireFox

开发者 https://www.devze.com 2023-01-25 17:42 出处:网络
I\'m trying to figure out why the front page of my blog (http://www.ulblog.org) renders differently between Google Chrome and FireFox. It appears \'broken\' in Google Chrome, but renders without issue

I'm trying to figure out why the front page of my blog (http://www.ulblog.org) renders differently between Google Chrome and FireFox. It appears 'broken' in Google Chrome, but renders without issues in FireFox.

Other pages on the site, however, appear to render fine in both (stack overflow apparently will only allow me to include one link, so unabl开发者_开发知识库e to provide link to a working page).

Any help appreciated!


On line 238 you have <p>&nbsp;</p. It should be <p>&nbsp;</p> (i.e. you're missing an end angle bracket.)


(seems broken in my Firefox 3.6)

Replace the margin-left on your #sidebar with a float: left.

Remove the sidebar div from #maincontent and place it below it rather than within it.

This should fix most of your Chrome related issues (and FF for me).

Oh. As stated by @Kieran, try validating your code.

0

精彩评论

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