Hi all - I've made some basic changes to my drupal theme but I've got div problems in IE that i can't for the life of me work out.

The right colum is dropping below the left content region when it should be sitting alongside.

Any help would be a godsend (-:

http://www.abelsong.com

Comments

victorkane’s picture

Check the total width of the parent content div

It may be exceeded by something in the content div (left column + content + right column > parent div container width), like a large image.

Try the webdeveloper plugin for Firefox, for example, to check out the hierarchy of div's, then check the CSS specified widths.

Victor Kane
http://awebfactory.com.ar

gondwanan’s picture

thanks for the reply - I have tried that and can't see the problem ... interestingly though, it looks ok on this page http://www.abelsong.com/?q=/reviews but not on other pages.

dz-1’s picture

ive had this issue before when using a WYSIWYG text editor in a node and having the preview cut the generated html in half thereby leaving a div tag open..

i would suggest you go to a page that is not user created so that you know the content isnt the issue, try:
http://www.mysite.com/user (while logged out)

see if that page loads properly.. if it does then it is probably more a problem with your content and not your template..

if it is still broken then i would suggest you leave that page open, and modify your template to add (or remove) the last div tags before you reach the div tag for your column that is wrapping..

typically if you are using a 3 column layout and the 3rd column is wrapping to be below the other two then it is probably because you have an extra div tag, or one to few div tags, before the start of the 3rd column div.

hope that helps, that issue can be a pain.

edit: oh yeah.. once my issue was in one of my blocks, and i spent a day trying to find the issue.. what i finally ended up doing was saving the page (file > save in your browser) and removing all the content section by section making sure that for every div tag there was a closing div tag.. it took me so long that by the end all that i had left was a skeleton of the site, but i figured out the issue, and made the change to the template.

luthien’s picture

problem solved.

gondwanan’s picture

I've given up on the gespaa template and tried a different one and interestingly, the only page that was working properly before is now the only page that is not!

http://www.abelsong.com/reviews

Sigh.

dz-1’s picture

yeah, your content is causing the issue, not the template.. the problem in your content (blocks, nodes, etc.) is going to react differently in different templates.. check out my suggestions above!

gondwanan’s picture

I 'm using all default files now though .... I can't find a wayward div tag anywhere.

The page causing the trouble now is an aggregate of content

http://www.abelsong.com/taxonomy/term/14