Re: Can I use style 1,2,3 on positions advrt 1,2,3,4

  • rali
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #4893 by rali
Sorry not everything is ok but I will try your code. :)

Please Log in to join the conversation.

  • rali
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago - 13 years 11 months ago #4894 by rali
The last code doesnt work.

:)


But this:


<script type="text/javascript">
jQuery(document).ready(function(){
if(jQuery('.upper')[0]){
var positions = jQuery('.upper').children('.modulerow4');
if(positions.length > 0){
if(positions.length > 1){
for(var i = 0; i < positions.length;i++)
{
jQuery(positions).css('width', 'auto');
}
}
jQuery(positions[positions.length - 1]).css('float', 'right');
}
}
});
</script>

Does the trick but longer rows are pushing the banner.

Rali
Last edit: 13 years 11 months ago by rali.

Please Log in to join the conversation.

  • rali
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #4897 by rali
I found what was causing the problem in layout.css there is a row that was

.modulerow4 {
width:24.9%;
float:left;
}

And after changing the 24.9% to 22% and puting your last code everything seem ok now.

Rali

Please Log in to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum