473,395 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Frontpage problem/ using css to center TABLE - help...!

I'm starting a new thread for a problem that I ran into..

I'm trying to use STYLE SHEETS/CSS to update multiple table widths
across many pages.

I did get it working with one small problem that I can't figure out.
For the sake of being really simple here are the steps i took.

1. create blank web page, create blank css page.
2. save 'em both, link them together.
3. on css page i modified the TABLE tag >> position >> set width to 600
4. on blank web page i created a single cell table, right clicked it >>
TABLE PROPERTIES >> changed alignment to CENTER - table moved to center
of page.
5. here's where the problem started: on web page clicked >> FORMAT >>
SHARED BORDERS >> selected ALL PAGES, TOP, BOTTOM. to create a header
and footer across all pages. As soon as I do that the table LEFT
justifies and I can't find a way to center it.

Does anyone know how I could CENTER the table while KEEPING the shared
borders and still be able to use the style function on the tables? I
need to be able to change header/footer/table info across many pages by
just making the change on the style sheet. Everything needs to be
centered: tables, header, and footer.

Thanks!

Jul 24 '05 #1
2 3717
Els
googley wrote:
I'm starting a new thread for a problem that I ran into..

I'm trying to use STYLE SHEETS/CSS to update multiple table widths
across many pages.

I did get it working with one small problem that I can't figure out.
For the sake of being really simple here are the steps i took.

1. create blank web page, create blank css page.
2. save 'em both, link them together.
3. on css page i modified the TABLE tag >> position >> set width to 600
4. on blank web page i created a single cell table, right clicked it >>
TABLE PROPERTIES >> changed alignment to CENTER - table moved to center
of page.
5. here's where the problem started: on web page clicked >> FORMAT >>
SHARED BORDERS >> selected ALL PAGES, TOP, BOTTOM. to create a header
and footer across all pages. As soon as I do that the table LEFT
justifies and I can't find a way to center it.

Does anyone know how I could CENTER the table while KEEPING the shared
borders and still be able to use the style function on the tables? I
need to be able to change header/footer/table info across many pages by
just making the change on the style sheet. Everything needs to be
centered: tables, header, and footer.


I don't use FrontPage, and I have no clue what clicking this and that
would have as result. However, obviously something is changed when you
add the header and footer. Check in the stylesheet what changed there,
and check the HTML file to see if maybe some styles were added there.

Better though:
Get rid of FrontPage as quick as you dare, and learn HTML and CSS.
It's not that hard, and at least you will know what you are doing, and
nothing will change alignment without you telling it to.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Crowded House - It's Only Natural
Jul 24 '05 #2
On 15 Jun 2005 12:05:32 -0700, "googley" <oc***********@hotmail.com>
wrote:
Does anyone know how I could CENTER the table while KEEPING the shared
borders


Yes, that's easy. But I doubt if you can manage to get it past
FrontPage. Time to learn HTML and CSS.
Search this newsgroup for the regular topic of "alignment and centring,
HTML 3.2 vs. CSS" It's a confusing topic, because there are two
different approaches to it.

To do it in HTML 3.2, set the alignment with an "align" attribute.

To do it with CSS, you can align text with the text-align property
(which isn't what you want). What you're looking for though is achieved
by setting the <table>'s margins to "auto". Read a decent CSS text (I
suggest Lie & Bos) for full details.
Jul 24 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: MyaTiX | last post by:
Hi Can someone please help! I am having a problem with a form! I need to be able to pull information from one table when the page loads and update another table after I have made changes but the...
0
by: Omar K | last post by:
Hi, I am quite new to frontpage and SQL but I have a Stock Control access database / frontpage to set up. My last problem deals with the automatic updating of the total quantity of stock with parts...
2
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using...
5
by: althafexcel | last post by:
hi everyone Im trying to include an external js in my aspx page under the head tag, it doesn't load or it displays an object expected error whenver the function from the .js is called. Actually...
1
by: Webstorm | last post by:
Hi, I hope someone can help me sort this out a bit, Im completely lost. Here is the page I am working on: http://www.knzbusinessbrokers.com/default.asp I have 3 search critera that I need to...
2
osward
by: osward | last post by:
Hello there, I am using phpnuke 8.0 to build my website, knowing little on php programing. I am assembling a module for my member which is basically cut and paste existing code section of...
0
by: mathewgk80 | last post by:
HI all, I am having popup calendar Javascript code. But i dont know how it is connecting to asp.net code.. I am using asp.net,c#.net and also using 3tier architecture with master page.... I...
19
by: Jim | last post by:
Hi, I have two questions/problems pertaining to CSS horizontal dropdown menus and am hoping that someone here can help me out. (1) I'm having a problem centering the menu. I picked up the...
3
omerbutt
by: omerbutt | last post by:
hi there i have downloaded a prototype tooltip from http://www.nickstakenburg.com/projects/prototip/ the logic it uses is to call the script after creating the <div> for example i am using the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.