I have a <pelement with <ttinside:
;;; <p>A paragraph contains <tt>tt element</tt>.</p>
I would like to set the font-size of the TT to the same
as the containing <p>.
This does not seem to work:
;;; p {
;;; font-size: medium;
;;; }
;;;
;;; p tt {
;;; font-size: 100%;
;;; }
when default sizes for propertional and monospace fonts
are set to different values in a browser.
Is there a way to achieve the goal without resorting to
'px'?
TIA
T.
;;; <p>A paragraph contains <tt>tt element</tt>.</p>
I would like to set the font-size of the TT to the same
as the containing <p>.
This does not seem to work:
;;; p {
;;; font-size: medium;
;;; }
;;;
;;; p tt {
;;; font-size: 100%;
;;; }
when default sizes for propertional and monospace fonts
are set to different values in a browser.
Is there a way to achieve the goal without resorting to
'px'?
TIA
T.
Comment