tags:

views:

66

answers:

3

hello , i have a problem with a css in a joomla module , the site is www.bacauacum.ro , the module that has this problem is "TITLURILE ZILEI" the module from the bottom of the page,it allways gets the value "height : 30px" i looked in all the css and there is no such value .

A: 

edit the css, or the html and add the following attribute:

height:auto !important;

the value is set by one of your scripts. i cant easily tell which one, you have lots going on, and some of your scripts are minified

mkoryak
didn't fix the problem..
i noticed that the div didnt have a class or id. how did you add the above markup?
mkoryak
A: 

Something's giving the element a manual style of height: 30px. I don't see it in the source; it's probably a script somewhere on the page.

Thom Smith
Why the downvote? Is there a mistake in my answer?
Thom Smith
+1  A: 

Its certainly one of the Javascript file's that's doing it - I'll see if I can find which one for you

it's in http://www.bacauacum.ro/templates/rt%5Fmixxmag%5Fj15/js/rokmodtools.js although I cannot narrow it down without heave decompression of the packed code there.

Phill Price
not sure why this is moderated down - it is in fact part of the above JS - I ran through the JS in Firebug and found it...
Phill Price
if give u the js above can you fix the problem?
i put it on http://www.bacauacum.ro/rokmodtools.zip
sorry! you'll have to go back to the theme builder - they've minified it essentially turning it to garbage
Phill Price
isn't there any alternative solution to this , i mean , why aren't the other modules affected by this ?...
i don't really think this is a js problem... ...
its a js problem, as everyone has pointed out. js changes the height of the div after it runs
mkoryak
if i delete the <div height="120" style="float:left"> from the module it works ...
the code for every news item is , </br><div class="feature-thumb"><img class="feature" width="150" height="120"src="{introimage}" border="0" alt="{title}" title="{title}" /><span style:"a color:#000"><a href="{link}">Citeste mai mult</a></span></div><span class="highlight-bold">{title}</span><p>{introtext} <a href="{link}">Citeste mai mult</a></p>but it looks like hell , look now to see that it works
but now the problem si , how do i fix it so it looks ok