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.

FLman

Members
  • Joined

  • Last visited

  1. I recently created a new webpage but I'm having problems trying to center it vertically. I'm really new to html and css so I was hoping someone might be able to explain to me in layman terms how to edit my html to either get my page to center vertically or at least how to add a top margin so the page isn't stuck right up against the top of the screen. I tried changing the top margin value from 0 to something else, but it didn't work. Here is my current html: <html> <head> <title>Webpage Home 3</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <!-- ImageReady Slices (Webpage Home 3.psd) --> <a href="http://website.com/portfolio.pdf"> <img src="images/index.jpg" width="1000" height="768" border="0" alt=""></a> <!-- End ImageReady Slices --> </body> </html> Any help with this would be much appreciated.
  2. I was hoping someone could help me out here. I just created a new webpage with hostgator and I placed a .htaccess file in the public_html folder to force download of a pdf. For some reason it's not working. I've used the exact same .htaccess file on a webpage through hostgator a couple of years ago and it worked perfectly back then. Here is the script in the file: <Files *.PDF> ForceType application/pdf Header set Content-Disposition attachment </Files> I've also tried: AddType application/octet-stream .pdf What could be wrong? The directory setup of my webpage files? Some sort of conflict between the webpage html and this .htaccess file? Any help on this would be much appreciated. I just spent half a day yesterday looking for answers to this with no luck.

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.