Elxis CMS Forum
Extensions => Templates => Topic started by: tallone on February 26, 2008, 20:30:06
-
Hi,
I have seen a similar post https://forum.elxis.org/index.php?topic=757.0 for the same problem but I am not sure with the solution that is presented there.
The problem with that solution is that a user who can publish on the site may not have the necessary html skills to correct the page.
Anyway just to refresh the memories on the problem with the hope that someone can suggest a more permanent solution:
I'm using the gaia template with Newsflash on the right of the page. When the number of the published items to the Newsflash increases
the items go over the length of the main container on pages where the main container has little content.
One solution that I used is to increase the height of the #containerbg in css, with the hope that the user will not add too many
Newsflash items. But this is not a very good solution.
Another problem that I have is that long text in the main container goes under the right column.
Is there anyone who experienced similar problems?
Thank you
-
It is only a matter of CSS (template). The gaia template is a sample template. Customize it to suit your needs.
These css selectors might help you:
overflow: hidden; //hides elements that exceeds their wrapper
clear: both; //draws an invisible line that forces everything to be displayed bellow the current element.
display: block; //displays an element as a solid box forcing everything to be displayed bellow the current element.
What you should use depends on the template. Play a little with gaia's CSS and you will find the solution.
-
Hi Datahell
that's what I wanted to hear that is only a CSS issue and not PHP or Installation problem.
I think I can deal with the CSS, I have some skill with it.
I'll play around with the CSS selectors your are suggesting.
Thanks a lot.