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.

width help

Featured Replies

this is the link http://davidcolligan.com/test/index.html

 

what i am trying to achieve is a full width website, never tried it before, it looks fine when i view it on my laptop, but once on the ipad its all weird, i was wondering if anyone could help

 

regards

 

collie

At the moment you have #content width: 100%; #left-side width:900px; and #right-side width:300px; so that when the viewport hasn't got enough width for the left side it drops down and the right side stays at the top. If you want a totally fluid page, use % widths for everything including side margins, side padding and images, but it may look very stretched out in large width viewports or too squashed up in small widths. The responsive web design methods can deal with that situation, or just experiment with max-width and min-width.

Edited by Wickham

  • Author

At the moment you have #content width: 100%; #left-side width:900px; and #right-side width:300px; so that when the viewport hasn't got enough width for the left side it drops down and the right side stays at the top. If you want a totally fluid page, use % widths for everything including side margins, side padding and images, but it may look very stretched out in large width viewports or too squashed up in small widths. The responsive web design methods can deal with that situation, or just experiment with max-width and min-width.

 

ive changed all of it to pixels, and left only the slider and footer at width:100% as these are the ones that i want to fit full width with the content inside fixed to pixels, i just want tho images to fit the full width of a screen. anyone have some suggestions??

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.