Forums / Setup & design / Linking to a message in eZ Forums removes top content

Linking to a message in eZ Forums removes top content

Author Message

Henrik Jagels

Wednesday 05 December 2007 4:02:27 am

Hi,

I have a major problem when I use anchors to link to text on a long page. Check out this page:

http://www.uia.no/no/portaler/aktuelt/debattforum/universitetets_rolle_i_regionen#msg35329

(The link to this page is here: http://www.uia.no/no/portaler/aktuelt/debattforum
under "siste svar" (most recent post))

This links to a specific message in a discussion. I thought it should be possible to scroll up to see the whole discussion? As you can see, the top of the webpage is just cut off...

In this forum (yes the forum you are reading now ;), this is not a problem. But clicking on the latest post actually takes you to the start of the topic. I expected to come directly to the latest post when I clicked on it.....

Anyone with some info on this subject ?

Paul Leclercq

Wednesday 05 December 2007 5:11:00 am

Hello,

This is a stylesheet error and not really related to eZpublish.

if you look at the code of your page you will see that your "content" class has overflow set to hidden.

If you de-activate this then you will not get this error anymore. But this will probably impact the rest of the site.

#content {uia.css (line 132)
background:#FFFFFF none repeat scroll 0%;
border-top:1px solid #BAB0A4;
clear:both;
height:100%;
overflow:hidden;
}

Henrik Jagels

Wednesday 05 December 2007 5:22:43 am

Hi Paul,

Thanks for the answer! Just tested and everything works fine if I remove the overflow: hidden.

As you said, this breaks other stuff on our site. But atleast now I know what I need to fix to get this working... ;-) Thanks again!