Converting Layers to Table, Centring on Page

G

Guest

My newly designed web site consists of pages created with (many!!) layers including text. I wish to convert the layers to a table. The main reason for this is to allow the page to centre to put into a frameset or centre the pages in higher resolution browsers rather than left indexed

Is my only solution to recreate each page with tables from scratch? I am aware that Dreamweaver has the command to 'Convert Layers to Table' and then centre but I cannot find the command on FP2003

Regards and Hel
Geof
 
C

chris leeds

if all you want to do is center the stuff just find your outermost layer and
then go to the style sheet, set that layer to align center.


--
The email address on this posting is a "black hole". I got tired of all the
spam.
Please feel free to contact me here:
http://nedp.net/contact/
--


geoff_pettit said:
My newly designed web site consists of pages created with (many!!) layers
including text. I wish to convert the layers to a table. The main reason for
this is to allow the page to centre to put into a frameset or centre the
pages in higher resolution browsers rather than left indexed.
Is my only solution to recreate each page with tables from scratch? I am
aware that Dreamweaver has the command to 'Convert Layers to Table' and then
centre but I cannot find the command on FP2003.
 
J

Jon Spivey

Hi Geoff,

You can't centre layers as you know - they're at a fixed position from the
top/left. Without seeing the pages in question I can only give a general
suggestion which would be 2 options
1/ convert to tables
2/ use a centred wrapper div like this
<style type="text/css">
#wrapper{
position:relative;
margin:10px auto;
width: 750px;
}
</style>
<!--[if IE 5]>
<style>
body {text-align: center;}
#wrapper {text-align left;}
</style>
<![endif]-->
</head>
<body>
<div id="wrapper">
.......your layers
</div>

By puttting your layers in a centred div like this theyll move relative to
the wrapper - you may find this quicker than converting everything to tables

There is a layers -> table feature in DW but I've never heard of anyone
ussing it successfully - I've been using DW since version 2 and wouldnt
touch this feature with a 10 foot pole.

Jon
Microsoft MVP - FP
 
G

Guest

Reply to Jon and chri
I'm afraid I didn't follow either proposal. chris - I couldn't find the command in 'style sheet' to centre a layer. Jon I'm afraid I couldn't apply the centre div wrapper, a bit too advanced for me to add complex codes. my site is on test at the moment on www.planit360.net/New_Test I have also just added a question about not being able to see a Template I designed in using FP2003

Regards and hel

geoff
 
S

Stefan B Rusynko

In Code view find your DIV tags and delete all the style="...." (absolute positioning) and just use align="center"
Then use Edit Select All, and Table Convert Text to Table (paragraphs)

PS
The Word/Shape art you are using also uses absolute positioning and is only supported by IE

--




| Reply to Jon and chris
| I'm afraid I didn't follow either proposal. chris - I couldn't find the command in 'style sheet' to centre a layer. Jon I'm afraid
I couldn't apply the centre div wrapper, a bit too advanced for me to add complex codes. my site is on test at the moment on
www.planit360.net/New_Test I have also just added a question about not being able to see a Template I designed in using FP2003.
|
| Regards and help
|
| geoff
 
G

Guest

Thanks. Tried all that, I wasn't given the command 'Convert Text to Table' (greyed out). My worst fears are probably now founded - recreate all pages from scratch in Tables or save up for Dreamweaver which has the vey handy convert layers to tables command !

Geoff
 
S

Stefan B Rusynko

In Design view Instead of edit select all, just select your <p>enclosed text

--




| Thanks. Tried all that, I wasn't given the command 'Convert Text to Table' (greyed out). My worst fears are probably now founded -
recreate all pages from scratch in Tables or save up for Dreamweaver which has the vey handy convert layers to tables command !!
|
| Geoff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top