Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 450 | Replies: 5 | Solved
![]() |
•
•
Join Date: Mar 2005
Location: Australia
Posts: 21
Reputation:
Rep Power: 4
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:
<p align="center"><span style="FONT-SIZE: 18pt; COLOR: red">TEST FONT</span></p>
But the normal HTML version doesn't:
<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
Location: Australia
Posts: 21
Reputation:
Rep Power: 4
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
Location: Australia
Posts: 21
Reputation:
Rep Power: 4
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
•
•
Join Date: May 2008
Location: Hyderabad, India
Posts: 261
Reputation:
Rep Power: 0
Solved Threads: 31
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,
Sreekanth
www.saap.in
if you problem solved add me as a reputation and mark it mark as solved
Sreekanth
www.saap.in
if you problem solved add me as a reputation and mark it mark as solved
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode