Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Templates
(Moderators:
Coursar
,
ks-net
) »
Newsflash go over the length of the main container
« previous
next »
Print
Pages: [
1
]
Author
Topic: Newsflash go over the length of the main container (Read 5718 times)
tallone
Newbie
Posts: 49
Newsflash go over the length of the main container
«
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
Logged
datahell
Elxis Team
Hero Member
Posts: 10358
Re: Newsflash go over the length of the main container
«
Reply #1 on:
February 27, 2008, 12:28:50 »
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.
«
Last Edit: February 28, 2008, 19:17:03 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
tallone
Newbie
Posts: 49
Re: Newsflash go over the length of the main container
«
Reply #2 on:
February 28, 2008, 13:02:47 »
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.
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Templates
(Moderators:
Coursar
,
ks-net
) »
Newsflash go over the length of the main container