Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Responsive design of checkboxes

Featured Replies

This my page http://books.portonvictor.org/repent/ when displaying on Android smartphones has very small checkboxes.

 

Also tooltip text font is wrong size.

 

Please help to enlarge checkboxes on phones and also make tooltips of correct size.

 

Here is an excerpt CSS from my site:

<style type="text/css">
body { background: white; color: black; font: 14pt arial, sans-serif }
div.ui-tooltip {
max-width: 600px;
font: 12pt arial, sans-serif
}
</style>
<!-- ... -->
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css" />

Edited by porton

  • Author

You re using point font sizes (which are for printing not websites). Try using em, rem or percent.

 

Please give an example.

  • Author

You re using point font sizes (which are for printing not websites). Try using em, rem or percent.

 

I've tried

    <style type="text/css">
      body { background: white; color: black; font: 140% arial, sans-serif }
      div.ui-tooltip {
        max-width: 600px;
        font: 80% arial, sans-serif
      }
    </style>

This does not help against my problem.


input[type=checkbox] {




  1. width: 30px;
  2. height: 30px;


}


add this to css

Edited by YacaZG

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.