css - Regarding div size -


basically, on 1 of pages of website, have div 60% width, in of content stored.

my problem is, when try site on different, lower resolution monitors, of content in div ends being cut out.

i don't want increase width, have no ideas on how fix issue without doing so.

you can use media queries change style rules based on factors device-width , resolution:

https://developer.mozilla.org/en-us/docs/css/media_queries

for example, adjust font-size in div based on size of viewport


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

How to call a javascript function after the page loads with a chrome extension? -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -