Random block causes different web page sizes.
batsy
Joined: 2005-04-19
Posts: 8 |
Posted: Tue, 2005-04-19 03:09 |
I'm having a problem with my standalone random block at: http://www.lancettefamily.com/gallery/ I'm using wrapper.header.default & wrapper.footer.default to create the wrap around gallery. Now that I've added my random block callout: <?php include('http://www.lancettefamily.com/gallery/block-random.php'); into the wrapper.footer.default file, my page sizes jump all over the place throughout the gallery. Prior to getting the block going the pages spanned the whole browser. Has anyone had this issue and been able to fix it? Help appreciated. ----------- |
|
Posts: 8
I'm scratching the whole site and starting over with 1.5. Thanks.
Posts: 8
Well, I started over from scratch and all the pages change to diffrent sizes with the random block and header/footer wrappers turned on. I'm not getting it on my own. Could someone help me understand what I'm doing wrong or missing to create this sizing issue? I also want to align the random block to the top of the sidebar. When I do that it messes up the wrapper. See first post for additional details.
CODE: wrapper.footer.default
<!-- NOW WE CLOSE THE GALLERY COLUMN -->
</td>
<!-- OPEN A COLUMN ON THE RIGHT SIDE FOR OUR MENUBAR -->
<td>
<?php
include('http://www.lancettefamily.com/gallery/block-random.php');
?>
</td>
<!-- CLOSE THE ROW FOR GALLERY AND THE SIDEBAR -->
</tr>
<!-- OPEN A FOOTER ROW -->
<tr>
<!-- COMBINE THE TWO COLUMNS TO MAKE ONE FULL WIDTH ROW -->
<td colspan="2">PUT YOUR FOOTER INFO HERE
</td>
<!-- CLOSE THE ROW, CLOSE THE TABLE -->
</tr>
</table>
Posts: 8
I would like my pages to span the whole browser.
Posts: 3236
It looks like your header / footer combo is creating a table of fixed size. Change it to something like 100% instead.
As a suggestion, your random image might look nice right up at the top left of the page before the "Lancette" logo you have. It would also allow for more room for gallery. I am not sure if "block-random.php" accepts a "size=???" value, but I know that the "block-random-enhanced.php" does. This would help you make sure the image is the proper size not to displace anything.
Do you understand what you are doing by creating the start of a table in the wrapper.header and the end of the table in wrapper.footer?