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.

Website different depending on browser?

Featured Replies

Hi guys, I've been designing a website for a training company but I decided to check my preview out in Internet Explorer and its not the same as it is in Google Chrome.

 

http://www.terrytilley.com/spdtraining/

 

Anyone know why this is?

 

Terry

Edited by Terry T 88

  • Author

You will need to set a doctype too

 

I see, thanks for that. I've added this to the top of the HTML.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 

and you can see what difference its made but my "search" and "sign up" buttons aren't aligned anymore.

It could be that all of the elements within #header-right with their respective widths, margins and paddings don't fit within the 250px you have allowed it. As a test try adding 10px to #header-right. If that works and the layout looks pretty much as it should do then you know that was the problem. I suspect it is. You will then just need to tweak your width, padding or margin on one of the elements (or even the div itself) to fit it as it should be.

Also as was mentioned previously a CSS Reset would be a good idea for this and any future projects

  • Author

It could be that all of the elements within #header-right with their respective widths, margins and paddings don't fit within the 250px you have allowed it. As a test try adding 10px to #header-right. If that works and the layout looks pretty much as it should do then you know that was the problem. I suspect it is. You will then just need to tweak your width, padding or margin on one of the elements (or even the div itself) to fit it as it should be.

 

 

Great! all solved. Thanks a million for all your help.

 

Terry

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.