Hi,
I am trying to split horizontally the TOP block into two.
- First I added a new position named top-right in the templateDetails.xml.
- Then, I added the corresponding lines in the blocks/topsl.php file, to load the modules in that position if there is any.
- Finally, I modified the css/layout.css files in the next way:
#ja-topsl {text-align: center;}
#ja-top {
position: absolute;
width: 50%;
}
#ja-top-right {
padding-left: 490px;
width: 50%;
}
The problem is that now, the top block does not capture the high of the modules automatically. I assume this is because of the “absolute” tag.
But If I set it as “relative”, then the two blocks appear one beneath the other.
First question:
How can I do to put them in line, but also to capture the high automatically?
Second question:
Could you point to any good reference where all those attributes are well explained in detail?
Thanks!