Monday 05 September 2005 5:04:32 pm
<i>I don't understand the problem of the size of the static text, as it seems to be specific to you layout. I put these elements into a float or fixed position near the top, or within a side column and that does the trick.</i> I'll try to illustrate the layout as best I can, this may give you a better idea of how the page elements interact...
|----------Home page layout template-----------|
| |
|----------Navigation--------------------------|
| |
| |--------Static image-------| |---Promo----| |
| | | | | |
Z Z Z Z Z Z
| |---------------------------| |------------| |
| |
| |-Static link| |-Static link| |-Latest News| |
Z Z Z Z Z Z Z Z
| |------------| |------------| |------------| |
| |
| |-----Possible Text (XMLblock output)------| |
| | | |
Z Z Z Z
| |------------------------------------------| |
|----------------------------------------------|
The problem I have is that any text inserted via the XMLblock should display at the bottom of the page, so if the promo is embedded in the XMLblock it will be difficult to make it appear at the top of the page. I know I can do this with CSS but I would prefer it if I don't have to resort to absolute positioning. So fetching the related object from the template would be the best way as far as I can tell. As for the static content would you suggest that I insert this via the CMS? One thing I find very frustrating about inputting elements via the XMLblock is the lack of support for block level elements like div tags. If I could input divs via the XMLblock I think this page would be extremely easy to layout. I'm most likely making this all more confusing than it really is but I have very little experience with Ez, so finding the right way to do things the first time is a tad tricky. Also is there any chance you could point me to a good example for retreving the promo? I have seen so many variations of the code that I'm not sure which is the best way to do it. Cheers!
Pardon me while I burst into flames...
|