Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
Napalm
 
2010-02-22

I need some fresh eyes to look at this. It's a joomla template, with 2 or 3 columns.

Now on the 2 columns the text is perfect, but once a third column is added it ignores the class applied, and the text is flush to the edge. Once a third colum is introduced a class "contentrite" is applied instead of "content"

Heres the template:

<?php if($this->countModules('right or user3 or user4')) {?> <!-- Text banners Start --> <!-- Text banners end --> <?php } else { ?> <!-- Text banners Start --> <!-- Text banners end --> <?php } ?>

Here's the css

.content { margin: 20px 75px 20px 75px; background: url(images/rightend.gif) no-repeat; background-position: bottom right; } .contentrite{ margin: 20px 75px 20px 75px; background: none; }

wowbagger[tip]
 
2010-02-22

Can't see anything relevant in what's provided. The class change only removes a background, presumably a corner or border image. Maybe you can give the source of the output with the includes rendered ?

wowbagger[tip]
 
2010-02-22

I would ditch the scrollbars and add 25 padding to .contentrite and set the .contentrite #scroll height to 100%

If you want to keep the srcolled pane :

.contentrite #textbanners{ margin:25px 25px 0 25px; } .contentrite .blog{ margin:0 25px; }

Napalm
 
2010-02-22

Thanks - unfortunately the scrollbars has to stay. I'll try your suggestion out, and will let you know.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.