No replies
SMantscheff's picture
Last seen: 11 years 9 weeks ago
Timezone: GMT+2
Joined: 2010-05-27
Posts: 1
Points: 2

I'd like to integrate several layout variants in one template.
It consists of a header and a body part with a fixed width of 200px.
The header is as either one full width image B (100x200px wide) or an image A on the left with 100x100px and image B pushed to the right with hidden overflow so that only the left part of image B shows.
The body consists of a menu on the left, width 100px, and content on the right side, also width 100px.
My question is: is it possible to code this into one html/css template which always displays the desired result, regardless whether only picture A or only picture B or both are present.
With only picture A present, the content should have the same top value as picture A.
Can this be done? Or do I have to live with at least two templates?
Layout scheme