Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
Reflects user activity within the last 5 minutes
Moderator(s): g1smd
Member Message

cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 2008-Jul-16 23:46
Edit Message Delete Message Reply to this message

Hi

I am having a frustrating problem centering a banner! No matter what I do, it still aligns to the left, instead of the center.

I have checked the code with online tools, and the tools say there isn't any errors, but it is still aligning to the left.

I preview it in different editors before I upload it, and it previews correctly in the center. Once I upload it, it is aligned to the left.

I put the url to the page in my profile. If someone gets some time, I would really appreciate it, if you could take a look.





mj1256
Staff
Joined: Jun 05, 2006
# Posts: 920

View the profile for mj1256 Send mj1256 a private message

Posted: 2008-Jul-17 06:04
Edit Message Delete Message Reply to this message

try this


Code: [copy]





you can change the values to suit yor needs
frontpage 4.0 is obsolete by about 10 years, time to upgrade, all this alignment is best done in divs and css



Quadrille
Joined: Nov 15, 2000
# Posts: 1064

View the profile for Quadrille Send Quadrille a private message

Posted: 2008-Jul-17 10:10
Edit Message Delete Message Reply to this message

I'd go for:

<table align="center" border="1" width="100%" id="table1" cellpadding="2">
<tr>
<td align="center" valign="top">
<img border="0" src="your file stuff here" width="whatever" height="whatever"></td>
</tr>
</table>


I'm afraid I stopped looking when I saw that you deliver popunders - which will give you much more grief!



mj1256
Staff
Joined: Jun 05, 2006
# Posts: 920

View the profile for mj1256 Send mj1256 a private message

Posted: 2008-Jul-17 14:31
Edit Message Delete Message Reply to this message

either/or, seeing he was using FP, I went for what FP would create.

I also saw the pop unders and was turned off

whats the use, most people have those blocked now anyway

[ Message was edited by: mj1256 07/17/2008 02:56 pm ]





cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 2008-Jul-17 16:13
Edit Message Delete Message Reply to this message

Thanks, I appreciate your help very much. Using the div align is what made it work correctly. The rest of my website was built with FP, and it is still working correctly with the code the same way this page was. I had to change just a few words on this one page, and when I did, the banner would not center. The other pages still use the same code as this one did, and they are all still centering. That is why I couldn't understand why this one wouldn't, as all I did was change a few words.

Yes, I know FP is obsolete, but I have thousands of pages built with FP over several years, and it is too daunting of a task for me to try and convert the whole website. Believe me, I wish I could. I have tried a few of the other programs that have been advised for me to use, and they are way past my understanding.

Again, I really appreciate your help. Thanks so much.

Cajuns








Quadrille
Joined: Nov 15, 2000
# Posts: 1064

View the profile for Quadrille Send Quadrille a private message

Posted: 2008-Jul-17 17:55
Edit Message Delete Message Reply to this message

Take a look at NVU.

It's free and open source, so it's worth a try - especially as FP is no longer fully supported.



cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 2008-Jul-17 18:05
Edit Message Delete Message Reply to this message

Thanks, I did download that program a while back, as that was one of the ones someone suggested. It's something I will need to learn. Hopefully, I can find the time to do that soon. Just a quick question about NVU though, to convert from FP, there really isn't an easy way to do it is there?

Oh, and I know that this is not the proper way to use FP, and I'm not sure what difference it makes, but I don't use the SSI with it. I just used it to create my pages, and uploaded them using regular FTP.

Thanks again
Peggy



Quadrille
Joined: Nov 15, 2000
# Posts: 1064

View the profile for Quadrille Send Quadrille a private message

Posted: 2008-Jul-17 18:51
Edit Message Delete Message Reply to this message

I've never used FP, but I'm sure someone else has ...

SSI can be a great help - I use it for menus, headers and footers - but if your site is fairly small, there's no need for it. But as a site grows, its power is that it saves updating all those pages individually.

If you start small - maybe for a footer with 'last updated' or copyright details - you'll find that it's not as challenging as it may appear!



cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 2008-Jul-17 18:58
Edit Message Delete Message Reply to this message

The reason I started using FP was because of the shared borders. (I know, a lot of you are going to cringe on that one!) I didn't know how to use includes, or SSI, so the shared borders served the purpose of putting headers, footers, and side borders, to where I just had to change something on one page, and it was changed on all pages, without having to change each and every one. Pretty much like includes, but without the SSI. My site has thousands of pages, and I cringe at the idea of having to do them all one by one. Hence, that is why I have kept the website with FP, as I really didn't know how to do it otherwise. I'm learning other ways, but very slowly!

Thanks again
Cajuns



Curt
Joined: Eons Ago
# Posts: 3736

View the profile for Curt Send Curt a private message

Posted: 2008-Jul-18 17:28
Edit Message Delete Message Reply to this message

You can get rid of the table altogether:


Code: [copy]




It doesn't serve much purpose.



cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 2008-Jul-18 18:17
Edit Message Delete Message Reply to this message

Thanks, Quadrille, Mj1256, and Curt, I really appreciate all your help. I have learned a great deal from this forum and other members here, and it has really helped me a lot. Members of this forum, actually try and help, and for that I am very grateful. Several times, I have been lost, and this forum was the only one that had the patience, and really helped.

Thanks again
Cajuns




You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions