Center shared borders (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


cardfan -> Center shared borders (12/5/2004 1:14:10)

Can't seem to center my shared borders, is this possible? I accessed the bottom and top html files for my borders. Each border (upper and lower) contain a table which inturn hold my page banner and footer, each are 800px in length. What I want to do is have the borders center themselves when viewed on a computer at 1024 resolution or higher. I've set the align tag in the table to center but it still doesn't work.

Any ideas, Thanks
ST




jaybee -> RE: Center shared borders (12/5/2004 3:03:45)

Are you asking for the borders to be centered or the content within the borders?




radnurs -> RE: Center shared borders (12/5/2004 6:40:46)

If you are trying to center your TABLE, right click, select "Table Properties" and then select Left, Right, or Center.

If you are centering WITHIN your table, click on the first item (if an image, click on it then press the left arrow) and then press the "center text" option in your format bar.

Hope this helps.





Charles W Davis -> RE: Center shared borders (12/5/2004 9:00:12)

cardfan,

Welcome to the Outfront Forums!

Another try. Are you wanting your table to stay in the middle of the display as the viewer scrolls up an down on the page?





cardfan -> RE: Center shared borders (12/13/2004 16:34:02)

Sorry guys out of town, this is what I'm trying to do.

I have an 800x200 banner in an 800px wide table for my top shared border. When I view this on a monitor set at 800x600 everything is fine, but when viewed on 1024x768 or higher everything is aligned to the left I am trying to make it where it automatically centers itself. Three parts have to center - top middle and bottom, where top and bottom are shared borders.

I have everything set to center but it isn't working, I can get it to work in dreamweaver but not frontpage 2002. So I'm assuming it has something to do with FP2002

Thanks
Scott




cardfan -> RE: Center shared borders (12/13/2004 18:19:48)

Some more info-

If I open the top.htm and the bottom.htm (these are created when shared borders are used)the content is centered on a screen larger than 1024x768 its only when I open a page that is using shared borders that the content reverts back to the left side.




Larry M. -> RE: Center shared borders (12/13/2004 19:43:17)

cardfan,

Everybody's through guessing. URL, if you please.




cardfan -> RE: Center shared borders (12/13/2004 20:10:59)

Sorry, not posted... I'll look around and find some examples on the web.




cardfan -> RE: Center shared borders (12/13/2004 21:01:12)

Here is what I'm trying to do for centered
http://www.stltoday.com/sports

Note my resolution is at 1280x1024 if yours is less it won't be as apparent

Now imagine the top of the page and the bottom being to the left and the content staying in the middle, that is what's happening to my site with FP2002


Here's an example of a site to the left created with frontpage
http://www.showmenews.com/

This is what I don't want




Charles W Davis -> RE: Center shared borders (12/13/2004 21:16:29)

cardfan,

Just a thought! Go back to the Saint Louis site, and then choose Source from the View drop down menu. Scroll down to see the table width settings. Look at your site in code view and make similar adjustments.




cardfan -> RE: Center shared borders (12/14/2004 9:09:53)

Been there done that, I guess I'm asking if anyone knows how FP handles shared borders and if there is a setting somewhere other than the html tags to make adjustments.




jaybee -> RE: Center shared borders (12/14/2004 9:18:14)

That site isn't using shared borders, it uses a centred table

<table width=770 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center" style="position:relative" id="masterTable">





cardfan -> RE: Center shared borders (12/14/2004 9:24:11)

agreed... that site just demonstrates what I'm trying to do. When people with different size monitors view the site the site is always in the center of the screen.




jaybee -> RE: Center shared borders (12/14/2004 9:28:02)

Shared Borders are a FP special. Dreamweaver doesn't use them.

If you want to do what that site does you need to use a centred table.

FP shared borders work totally independently of the main part of the page, that's why they're held in separate files.




jaybee -> RE: Center shared borders (12/14/2004 9:31:20)

If you want to have the effect of shared borders so that you have the same header and footer on every page then set up a table with one column and three rows. Put your header in the top one, footer in the bottom. Center the table and then save the page as template.html

Then just copy that for each of your other pages.




lambert321 -> RE: Center shared borders (12/14/2004 9:34:28)

I had that problem -- everything was flushed left when I used shared borders. I was told that it was inherent in FP2000 -- but don't take that as fact.

I ended up using include pages for top, bottom and left. See if http://www.grandslamgroup.com is the effect you're after. I believe the code is viewable. Contact me if it's not and I'll mail it to you.

Hope this helps.

David Lambert
OnWaterMedia




cardfan -> RE: Center shared borders (12/14/2004 9:37:25)

Exactly Jaybee, I understand that and that is what I'm trying to figure out is how to make it work. The only reason I want to use shared borders is the info contained in the header and footer of the pages may change, I don't want to change 1500 pages when an address changes.

Thanks again I know this is a pain...its driving me crazy that a simple thing is so difficult.




jaybee -> RE: Center shared borders (12/14/2004 9:38:29)

Yes, include pages is another way round it. I offered the table route as a simpler way of achieving it but if you understand includes then go that way, especially if the site is large and you may want to change the header/footer content in future.




lambert321 -> RE: Center shared borders (12/14/2004 9:45:18)

Jaybee: I'm new to this but trying to learn.

I've read that include pages may prevent crawlers from searching your pages -- or possibly redirect them when they hit the include. Do you know if this is true.

Where could I find out is this is fact? Any ideas?

Your info is always helpful. Thanks.

David Lambert




cardfan -> RE: Center shared borders (12/14/2004 9:46:41)

I think we're on to something, lambert that is exactly what I'm looking for. I've never heard of "include pages", I'll read up on it.
Anything special about it, how does it work?

Jaybee you were right on your last response future updates are my concern




cardfan -> RE: Center shared borders (12/14/2004 10:11:22)

Info I found in FP help section, might be useful for this thread and future questions. Kind of on the subject of updating one source that updates throughout. This might allow me to use a centered table instead of shared borders.

FOUND IN FP HELP:
"About using a single source of content on multiple web pages
Embedding a web page on other web pages in a web site

You can display a web page on another page in the web site, allowing you to maintain separate pages. For example, to display a copyright notice on several pages in a web site, create one page that contains the copyright notice, and include that page on other pages in the web site. When you update the copyright notice, you simply update that one page; all other pages that include the copyright page will be automatically updated.

Creating information that can update automatically

A variable is information displayed on a page that can be set to change or update automatically. Microsoft FrontPage has four predefined variables that gather information automatically when you put them on a page:

Author
Modified by
Description
Page URL
You can also define a variable yourself, such as a copyright or a comment.

For example, you want to refer to a product throughout your web site, but the name might change. You define a variable for the product (you set a name and value, such as Product and My Product's Name 1.0), and then place the variable on your pages. If the product name changes, you simply change the value of the variable you defined, and then new the product name is automatically displayed in your web site."


Now to find out how to do...




jaybee -> RE: Center shared borders (12/14/2004 11:53:50)

quote:

Do you know if this is true.


With SSI's, the content is transparently merged into your page by your Web server before the search engine's spider ever sees it. Therefore, the spider does not have to even know you used a server side include.

If you do a view source on your web page, you'll see exactly what the spider sees, including your include.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.109375