Hi, I am new to this forum and have some experience wit Textpad 4.73.
I use textpad to create content for my Flash site. I want to create a table for projecting a pricelist. At the moment I use the normal format and use <br> between each line tha pace and the amount. Now I would like a proper invisible table so that the description is nice aligned on the left and the amaount nice aligned on the right.
Looking forward to some examples.
Using tables
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Addional info
This the current code:
<font face="Arial" color="#110000" size="10"><b>Orthese silicone klein € 15,00<br>Orthese silicone middel € 24,00<br>Orthese silicone groot € 37,00<br>Orthonyxie remanit bilateraal, nagelbeugel € 30,00<br>1e plaatsing nagelbeugel (excl. instrumentele behandeling) € 15,00</b><br><br>
With this result:
Orthese silicone klein € 15,00
Orthese silicone middel € 24,00
Orthese silicone groot € 37,00
I would like to have:
Orthese silicone klein € 15,00
Orthese silicone middel € 24,00
Orthese silicone groot € 37,00
Do I do this with a table or other code? I would like to have a nice clean aligned look.
Thanks
<font face="Arial" color="#110000" size="10"><b>Orthese silicone klein € 15,00<br>Orthese silicone middel € 24,00<br>Orthese silicone groot € 37,00<br>Orthonyxie remanit bilateraal, nagelbeugel € 30,00<br>1e plaatsing nagelbeugel (excl. instrumentele behandeling) € 15,00</b><br><br>
With this result:
Orthese silicone klein € 15,00
Orthese silicone middel € 24,00
Orthese silicone groot € 37,00
I would like to have:
Orthese silicone klein € 15,00
Orthese silicone middel € 24,00
Orthese silicone groot € 37,00
Do I do this with a table or other code? I would like to have a nice clean aligned look.
Thanks
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
May I suggest that you may get better results by going to one of the forums on this site for Kompozer, a web development product: http://wysifauthoring.informe.com/forum/index.php
You can still use TextPad to do your editing, but that is a better site for answers to questions like this.
You can still use TextPad to do your editing, but that is a better site for answers to questions like this.
Hope this was helpful.............good luck,
Bob
Bob
As Bob says - the Textpad forum is probably not the best place for HTML type questions.
To learn about all things to do with web try:
http://www.w3schools.com/html/html_tables.asp
Textpad is a great editor for generating your HTML
To learn about all things to do with web try:
http://www.w3schools.com/html/html_tables.asp
Textpad is a great editor for generating your HTML
It's not HTML
Hi Guy's,
It's not html. It's a flash site were I use Textpad as content editer. The code you see is the code used in Texpad.
Question is; how can I get my text on the left and my amounts on the right side aligned. Can you make a table with rows and colums in Textpad or are there other solutions?
See my website www.quanclinic.be and check the on the main menu "tarieven" and then select one of the top menu items and you can see what i mean.
It's not html. It's a flash site were I use Textpad as content editer. The code you see is the code used in Texpad.
Question is; how can I get my text on the left and my amounts on the right side aligned. Can you make a table with rows and colums in Textpad or are there other solutions?
See my website www.quanclinic.be and check the on the main menu "tarieven" and then select one of the top menu items and you can see what i mean.
Quan,
Not knowing what your input file is like - your raw data file, then it is hard to help.
I would say you type in you data file or have your data file you open in Textpad then you will need to run a regular expression against it to do the work of formatting - that or manually format the file contents or write a macro.
A php script or similar may also be used to format your data to produce your flash content.
Your information supplied to date contains too many gaps.
For formatting using regular expressions try the appropriate part of this forum or have a look at:
http://regexlib.com/Default.aspx
Not knowing what your input file is like - your raw data file, then it is hard to help.
I would say you type in you data file or have your data file you open in Textpad then you will need to run a regular expression against it to do the work of formatting - that or manually format the file contents or write a macro.
A php script or similar may also be used to format your data to produce your flash content.
Your information supplied to date contains too many gaps.
For formatting using regular expressions try the appropriate part of this forum or have a look at:
http://regexlib.com/Default.aspx
Flash code
[/quote]Quan,
Not knowing what your input file is like - your raw data file, then it is hard to help.
I would say you type in you data file or have your data file you open in Textpad then you will need to run a regular expression against it to do the work of formatting - that or manually format the file contents or write a macro.
[/img]stop();
loadVariables("text/tarpodologie.txt","");
mnuLeft.btn_home.enabled=true;
mnuLeft.btn_consultatie.enabled=true;
mnuLeft.btn_behandeling.enabled=true;
mnuLeft.btn_tarieven.enabled=true;
mnuLeft.btn_pers.enabled=true;
mnuLeft.btn_team.enabled=true;
mnuLeft.btn_contact.enabled=true;
mnuTarieven.btn_lasertherapie.enabled=true;
mnuTarieven.btn_podologie.enabled=false;
mnuTarieven.btn_estim.enabled=true;
mnuTarieven.btn_injectables.enabled=true;
mnuTarieven.btn_gewichtsverlies.enabled=true;
//SCROLL
btnScrollUp.onRollOver = function(){
this.onEnterFrame = function() {
txtText.scroll -= 1;
}
}
btnScrollUp.onRollOut = function() {
delete this.onEnterFrame;
}
btnScrollDown.onRollOver = function(){
this.onEnterFrame = function() {
txtText.scroll += 1;
}
}
btnScrollDown.onRollOut = function() {
delete this.onEnterFrame;
}
Not knowing what your input file is like - your raw data file, then it is hard to help.
I would say you type in you data file or have your data file you open in Textpad then you will need to run a regular expression against it to do the work of formatting - that or manually format the file contents or write a macro.
[/img]stop();
loadVariables("text/tarpodologie.txt","");
mnuLeft.btn_home.enabled=true;
mnuLeft.btn_consultatie.enabled=true;
mnuLeft.btn_behandeling.enabled=true;
mnuLeft.btn_tarieven.enabled=true;
mnuLeft.btn_pers.enabled=true;
mnuLeft.btn_team.enabled=true;
mnuLeft.btn_contact.enabled=true;
mnuTarieven.btn_lasertherapie.enabled=true;
mnuTarieven.btn_podologie.enabled=false;
mnuTarieven.btn_estim.enabled=true;
mnuTarieven.btn_injectables.enabled=true;
mnuTarieven.btn_gewichtsverlies.enabled=true;
//SCROLL
btnScrollUp.onRollOver = function(){
this.onEnterFrame = function() {
txtText.scroll -= 1;
}
}
btnScrollUp.onRollOut = function() {
delete this.onEnterFrame;
}
btnScrollDown.onRollOver = function(){
this.onEnterFrame = function() {
txtText.scroll += 1;
}
}
btnScrollDown.onRollOut = function() {
delete this.onEnterFrame;
}
This the flash code. As you can see the "load variables" are pointing to the txt file.
The txt file is created in Textpad. Is this more helpfull