advertisement
advertisement

CSS help [Archive] - MousePad

View Full Version : CSS help


Andrew
07-06-2005, 03:02 PM
:embarrassed:

Something broke in the CSS declarations on my Web site (http://www.project-insomnia.com/). It's causing the blog posts to appear below the bottom of the sidebar. I don't know what happened, what changed or when, though I think it was within the last couple of days. If I disable the sidebar altogether [ div#sidebar{display:none;} ] the problem goes away (but of course so does the sidebar). Adding the sidebar subsections in one by one causes the problem to reappear as soon as any--doesn't matter which--subsection crosses the horizontal plane of the first blog post.

Anyone with a smattering of CSS knowledge want to take a look? I'd really appreciate it!

Javanod
07-06-2005, 04:21 PM
My first guess - the div for the body has been renamed or had its class/id changed/removed so it doesn't match your style declaration anymore (case sensitive?).

For example, if the body text is enclosed in a div like so


<div id="content">
<div class="feature">
<img src="" alt="" width="280" height="200">
<h3>Feature Title </h3>
<p>
Lorem ipsum dolor sit amet...


if the "class='feature'" is removed or typo'd, the text slips below the image, because the .feature declaration contains the padding, height, float, etc.


advertisement
advertisement