Mark Strobel Posted April 23, 2018 Share Posted April 23, 2018 I built a site using the New Google Sites. It appears that the standard text is Roboto. The font size appears to be between 4 and 5. I have been using the following code to adjust the default font style and size <font face="Roboto" font size="4"> in embedded code snippets for html. However using 4 makes the text smaller and using 5 makes the text bigger than the default text in the New Google Sites. What code do I need to make the text size the same? Thanks. Link to comment Share on other sites More sharing options...
dsonesuk Posted April 23, 2018 Share Posted April 23, 2018 (edited) No one really uses the font tag anymore, especially not in html5 where its not supported at all. Use CSS instead with font-family: ; font-size: ; instead. You can set default size to 16px; then adjust it using percentages or em units, 1em will equal 16px, 0.5em = 8px, you have greater choice for changing the font-size gradually, more than just using font tag. Edited April 23, 2018 by dsonesuk Link to comment Share on other sites More sharing options...
Mark Strobel Posted April 23, 2018 Author Share Posted April 23, 2018 Thank you so much for your response. This issue is now fixed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now