tags:

views:

105

answers:

2

I am having a troublesome issue of a disappearing DIV element on a specific panel of a jQuery Tools scrollable.

It is only hiding on the final panel of the slider, check out http://andstones.ca/company/ to see an example, and using either chrome or safari, see the div disappear.

The code calling the div is:

<div style="width: 900px ! important;" class="rule_water"></div>

And it seems to show up for a second, and then hide.

Can't seem to figure our this cross browser issue.

Thanks for the help,

Kory

+1  A: 

When I remove the float:left !important from .rule_water it doesn't seem to hide the div anymore

Gordon Tucker
This does not actually fix the issue, the float left is removed, but it still disappears. Interestingly, if you change any css property in browser, by using a dev tool like firebug, then it appears!But the float left is gone, and it still hides. If it isn't hiding for you on that page, try checking out another category like COMPANY and see that the last pane's water mark still disappears
Kory
A: 

I had the same problem: the div sidebar floating left was hidden by the main content div that had a 200px left margin and inherited the width from the parent div (I used a pre-made theme for a wordpress installation). The sidebar was called after the main content (more SEO-friendly) so I tried calling it first and indeed the sidebar was showing correctly. So, the problem is: the margin of the main content hides the div. You have two way to solve this: 1) you call the hidden div first or 2) you delete the main content margin and give it a precise width AND (most important) you assign it float: right; rule.

Hope this helps.

mg
Thanks for your response. I was able to get this all fixed with something similar to your solution. Broke apart the different elements and then fit them all together.
Kory