Link to home
Start Free TrialLog in
Avatar of ES-Components
ES-ComponentsFlag for United States of America

asked on

How To Change Text Font-Size and Color in A Popup

How can I change the font-size and color of the text  'Inventory Search' in the code listed below?
The words Inventory Search is a hyperlink that works. I would like to change the font-size and then
have the color as 'RED'

<a href="https://www.escomp.com/IndexSearchGlobal.php"
  target="popup"
  onclick="window.open('https://www.escomp.com/IndexSearchGlobal.php','popup','width=600,height=150'); return false;">
    Inventory Search
</a>
 Thank you...
Rick

Avatar of Sam Jacobs
Sam Jacobs
Flag of United States of America image

Try adding this at the top:
<style>
a {
   color: red;
   font-size: 20px;
}
</style>

Open in new window



Replace "Inventory Search" with
<p style="color:Red; font-size: 24px;">Inventory Search</p>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial