| | |
What Editors Create This Code?
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Mar 2005
Posts: 21
Reputation:
Solved Threads: 0
Hi,
Once again I come to Dani's forum after days of getting nowhere myself.
I am using the "htmlarea" editor with one of my scripts.
A CSS file (probably) is overriding the changes to font sizes I change in the editor unless they are coded in a certain way.
For example this code works:
But the normal HTML version doesn't:
I have tried many different WYSIWYG editors, Frontpage and Word but none create the code in the first example.
Can anyone tell me the "language" the first example is written in and where I can find an editor that will create that sort of code automatically as you type?
While I can change it myself, I need my customers to be able to use an offline editor without having to know how to code it that way.
Thanks in advance,
Graham
Once again I come to Dani's forum after days of getting nowhere myself.
I am using the "htmlarea" editor with one of my scripts.
A CSS file (probably) is overriding the changes to font sizes I change in the editor unless they are coded in a certain way.
For example this code works:
HTML and CSS Syntax (Toggle Plain Text)
<p align="center"><span style="FONT-SIZE: 18pt; COLOR: red">TEST FONT</span></p>
But the normal HTML version doesn't:
HTML and CSS Syntax (Toggle Plain Text)
<p align="center"><font color="#ff0000" size="5">TEST FONT</font></p>
I have tried many different WYSIWYG editors, Frontpage and Word but none create the code in the first example.
Can anyone tell me the "language" the first example is written in and where I can find an editor that will create that sort of code automatically as you type?
While I can change it myself, I need my customers to be able to use an offline editor without having to know how to code it that way.
Thanks in advance,
Graham
These are inline styles. Dreamweaver will do something similar. It will create a class for the element and embed the styles in the head of the document. This will look like:
html Syntax (Toggle Plain Text)
<style type="text/css"> <!-- .style1 { font-size: 18px; color: #FF0000; } --> </style> </head> <body> <p><span class="style1">TEST FONT</span></p>
Lost time is never found again.
- Benjamin Franklin
- Benjamin Franklin
•
•
Join Date: Mar 2005
Posts: 21
Reputation:
Solved Threads: 0
Thanks Buddylee,
I can see now that I need to use an editor with CSS support, but I want one that customers can download and use on their own computer.
Dreamweaver is fine for the webmaster, but I need something small and preferably free (or very cheap) customers can use.
Every one I've tried either doesn't do the job or does not have a WYSIWYG feature.
Regards,
Graham
I can see now that I need to use an editor with CSS support, but I want one that customers can download and use on their own computer.
Dreamweaver is fine for the webmaster, but I need something small and preferably free (or very cheap) customers can use.
Every one I've tried either doesn't do the job or does not have a WYSIWYG feature.
Regards,
Graham
•
•
Join Date: Mar 2005
Posts: 21
Reputation:
Solved Threads: 0
Buddylee has unknowingly guided me to the solution.
Instead of using the dropdown font sizes in htmlarea, I should be using the dropdown "heading" sizes to change font sizes. There are 6 of them already there which will do the job nicely.
Changing text colour and background colour still works on the different sizes.
The answer was there all the time, I just couldn't see it!
But if anyone does know of an editor customers can use to create their page offline, I would still appreciate knowing.
Thanks,
Graham
Instead of using the dropdown font sizes in htmlarea, I should be using the dropdown "heading" sizes to change font sizes. There are 6 of them already there which will do the job nicely.
Changing text colour and background colour still works on the different sizes.
The answer was there all the time, I just couldn't see it!
But if anyone does know of an editor customers can use to create their page offline, I would still appreciate knowing.
Thanks,
Graham
hi
use always for font style, body properties and anything use to again and again css style is good
use always for font style, body properties and anything use to again and again css style is good
Thanx,
Shiriyal
http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
Shiriyal
http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
![]() |
Similar Threads
- WYSIWYG online editors (Existing Scripts)
- JApplet display problem (Java)
- Why Use XHTML? (HTML and CSS)
- Help to create a unique forum (PHP)
- Checking source codes of image, audio and video files (Graphics and Multimedia)
- ASP and SQL ? (MS SQL)
- Tutorials & Code Submissions - Questions? (DaniWeb Community Feedback)
Other Threads in the HTML and CSS Forum
- Previous Thread: How do I go about metadata
- Next Thread: Navigation
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash font fonts form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






