On 5 Jun, 22:19, tedpottel <[email protected]> wrote:
> Hi,
> Ok I just learned how to use css to chnage the gtext.

What is the gtext?

> But the text in
> the form controls do not chnage.... Can I chnage them (ie text in a
> button) ussing css???

With CSS 2 you can only change the text before and after an element,
like adding or changing quotation delimiters or adding other markers.
This is done by using the content property and the :before and :after
psaudo-classes.

In CSS3 you can change the 'content' of all elements (as well
as :before and :after psaudo-classes), but CSS3 is just a working
draft and are not working in all browsers.

Beside form controls are most of the time  'replaced elements',
replaced by OS or OS like elements. You might be able to change the
text of a form by changing the content of labels, legends and span (or
other inline) elements. When you use the 'content'-property with other
form controls, the whole element seems to get replaced, not only the
content.
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to