web layout

D

DJ

I would like to make my wed site look a little like modern web sites.
Specifically the page layout; most web site have a background that fills the
whole page, and the main web content in the middle, almost like they are not
using the whole web page. Any
tips on these?
thanks
 
S

Spike

DJ

After you create your web pages try this:

==================================
Centering Publisher built Web Sites pages:
Version 2009-001
Added inch to pixel conversion
==================================

Edit the htm file(s) and replace </head> with

</head><table border="0" cellpadding="0" cellspacing="2"
width="760"align="center"><tr><td>

" All above on one line "

Be sure that you edit the </head> line and NOT the <head> line

If you are using a page width different than 760 pixels change that number
in the above line
If you are using inches for measurement multiply the width in inches by 96
and use that number

If you have multiple pages you might want to look at
http://www.emurasoft.com/replall/ a simple replace lines in multiple htm
files


Setup the Replace in files program

Find: = </head>

Replace with: = </head><table border="0" cellpadding="0" cellspacing="2"
width="760"align="center"><tr><td>

File Types: = *.htm or *.html (what ever one you are using)

In Folder: = Select the folder where you published the htm / html files

Check the Replace In Subfolders box

The settings will remain until you change them


Then after running the repalce in files program (Replace All) ftp the files
to your server


Spike
 
D

DJ

It works! Thanks Lots! I have a question about it though. It seems to be a
little more to the right side now. not as much as it was to the left. Is fix
for that?

thanks,

DJ
 
S

Spike

DJ

Look at the page width of your web site
Make sure that the correct width is in the code
Default is 760 pixels
If you are using a page width different than 760 pixels change that number
in the code
If you are using inches for measurement multiply the width in inches by 96
and use that number

Spike
 
D

DJ

Thanks. It's all good.

Spike said:
DJ

Look at the page width of your web site
Make sure that the correct width is in the code
Default is 760 pixels
If you are using a page width different than 760 pixels change that number
in the code
If you are using inches for measurement multiply the width in inches by 96
and use that number

Spike


.
 

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