SnippetMaster Support Forums
Return to main website
 
May 14, 2006, 06:01:12 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 14, 2006, 06:01:12 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: <Center> tags « previous next »
Pages: [1] Print
Author Topic: <Center> tags  (Read 45 times)
Roger

Posts: 36


[-] <Center> tags
« on: December 09, 2005, 10:51:10 AM »

Windows XP (SP2), IE6, Snippetmaster Beta
I have a rather old fashioned, but very effective WYSIWYG Web editor (IBM Websphere Homepage builder) which gives me <center> tags. Snippetmaster seems to strip them out unfortunately (notepad file comparisons on request). And then I could not find a way to center my table following the disappearing <center> tag!
Roger
Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 121



[-] Re: <Center> tags
« Reply #1 on: December 09, 2005, 02:39:46 PM »

Roger, <center> tags should not be used now, which I guess is why they are stripped out. Usually centralising text or objects is achieved using styles or CSS, but <div align="center">, <table align="center">  or <p align="center"> are frequently used alternatives, although depracated in XHTML1.0 transitional.

Report to moderator   Logged

Kelvyn
Roger

Posts: 36


[-] Re: <Center> tags
« Reply #2 on: December 09, 2005, 05:02:49 PM »

Many thanks,
Yes, Snippetmaster does understand tags like <table align="center" border="0"> and saves them ok after editing elsewhere in the table.
I'll aslo have a closer look at the use of CSS for my tables.
Another little problem I noticed is that my original table contained the tag <TD>Gabriel Fauré</TD> the famous French composer, which displayed fine in IE6. This was translated by SnippetMaster into <td>Gabriel Faur鼯TD&gt; </td> which IE6 could no longer understand!  I could easily clean up the cell by deleting the junk and inserting the special character 'e acute', but is this behaivour a bug or another shortcoming of my ancient web editor? My site does need the ability to occasionally display the names of European composers containing special characters and my members are quite likely to paste these in from outside editors.
Roger
Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 121



[-] Re: <Center> tags
« Reply #3 on: December 10, 2005, 03:28:45 AM »

With an e acute in the name the tag should have been <td>Gabriel Faur&eacute;<td> before editing. I checked this and Snippetmaster worked just fine with that. Note that you can also use the SnippetMaster editor to enter special characters into text, and this element works OK - I just wish it would say "OK" or "done" when it has inserted the character as there is a tendency to think that nothing has happened.

I tried copying Gabriel Fauré from here and pasting it into a page using SM - it worked just fine and used &eacute;. I have also tried copying and pasting from Word, and special characters were handled OK with that.

Report to moderator   Logged

Kelvyn
admin
Forum Administrator
*
Posts: 1430

SnippetMaster Author


WWW
[-] Re: <Center> tags
« Reply #4 on: December 13, 2005, 04:10:08 PM »


I have a rather old fashioned, but very effective WYSIWYG Web editor (IBM Websphere Homepage builder) which gives me <center> tags. Snippetmaster seems to strip them out unfortunately (notepad file comparisons on request). And then I could not find a way to center my table following the disappearing <center> tag!

Roger

Hello Roger,

Can you give me a code sample that uses the center tag?  I'm trying to recreate the problem, but with no success yet.

Thanks!

Report to moderator   Logged
Roger

Posts: 36


[-] Re: <Center> tags
« Reply #5 on: December 13, 2005, 04:34:07 PM »

I attach two notepad filres, the original HTMl code and the 'cleaned up' version from SnippetMaster after 'save'.
Roger

* NextmusicOriginal.txt (3.21 KB - downloaded 7 times.)
* NextmusicSnippet.txt (2.77 KB - downloaded 5 times.)
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: <Center> tags « previous next »
Jump to:  

Powered by MySQL Powered by PHP SnippetMaster Support Forums | Powered by SMF 1.0.7.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!