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.

Tabel width in large screens and mobile phones

Featured Replies

Hi everyone,

 

I'm stuck with a little problem at my website.

 

I'm making a website for the WC 2014 soccer in Brasil.

 

If you click on this link you get a table at the middle of the screen. If you're looking this table in large screens, the table is small. When you look on mobile phones, the table fits well.

 

Is there a possibilty to make the table width larger in the big screens, but still the same in mobile screens?

 

Thanks for your help.

 

Sven

You could set the tables width in % with a maximum and minimum width

table{
    width:50%;
    max-width:600px; /*the width for big screens*/
    min-width:400px;  /*the width for small screens*/
}

Don't no if it will work with your doctype though (for responsive websites you should use HTML5)

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.