No offence, but maybe you misunderstood me or maybe I wasn't clear enough. So, let me retry to explain: I want to center the pages I've made in a similar way you have when you'd use frames, like: *,800,* (or even like: 10%,80%,10%). In other words: I want my page to be displayed in a fixed width in the middle of the browser. Resulting in a variable width for the left and right side. As far as I know the <center>-tags are not capable of doing something like this. Therefore I asked the list if there is something in DTML that can take care of this. If I HAVE TO use frames: so be it, but... I'd rather not. That's all, folks! Regards, Yvon -----Original Message----- From: Jens Vagelpohl this question has nothing to do with zope, a good HTML reference is what you need. try the <center> </center> tags. jens On Wednesday, July 24, 2002, at 06:40 , Breuer, Yvon wrote:
Is there a way to center the page itself in the browser? I'd rather not use frames. Maybe a page specific dtml alignment tag? Yvon Breuer
On Wed, Jul 24, 2002 at 03:03:06PM +0200, Breuer, Yvon wrote:
I want to center the pages I've made in a similar way you have when you'd use frames, like: *,800,* (or even like: 10%,80%,10%). In other words: I want my page to be displayed in a fixed width in the middle of the browser. Resulting in a variable width for the left and right side.
Use a 3-column table with whitespace contents on the left and right columns if you need to support Netscape 4 or other browsers from around 1997, otherwise use CSS.
As far as I know the <center>-tags are not capable of doing something like this. Therefore I asked the list if there is something in DTML that can take care of this.
DTML has no inherent way of knowing your browser's width, and has no page layout tools in any case. This is really an HTML question, as others have said. I tend to use http://www.htmlhelp.com/ as my reference for CSS and HTML stuff anymore. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
Use CSS. Cheers, Tom P [Breuer, Yvon] No offence, but maybe you misunderstood me or maybe I wasn't clear enough. So, let me retry to explain: I want to center the pages I've made in a similar way you have when you'd use frames, like: *,800,* (or even like: 10%,80%,10%). In other words: I want my page to be displayed in a fixed width in the middle of the browser. Resulting in a variable width for the left and right side. As far as I know the <center>-tags are not capable of doing something like this. Therefore I asked the list if there is something in DTML that can take care of this.
Breuer, Yvon wrote:
No offence, but maybe you misunderstood me or maybe I wasn't clear enough. So, let me retry to explain:
I want to center the pages I've made in a similar way you have when you'd use frames, like: *,800,* (or even like: 10%,80%,10%). In other words: I want my page to be displayed in a fixed width in the middle of the browser. Resulting in a variable width for the left and right side.
<table width="800" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td> Your content here ... </td> </tr> </table> regards max M -- "Sorry I would Really Like To Help More On This Project, But Am To Busy Doing Paid Work On A Tight Deadline" Max M
participants (4)
-
Breuer, Yvon -
Max M -
Mike Renfro -
Thomas B. Passin