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.

Problem with logo

Featured Replies

Click here

 

If anyone wants to take a look at my problem, it'd be much appreciated (link is above).

 

The logo is positioned inside the div named logo, which has a set width of 800px. This div is centered in the page. Why in firefox/safari is my logo positioned to the left of the page? I want it to be where it appears in IE, inside the centered div but postioned to the left within it (therefore it won't be touching the left side of the screen). The solution is probably really simple, if you hadn't guessed I'm not amazing, but I'm learning :)

#logo {
width:800px;
margin: 0 auto;
}

^^ Lev's code will do that

 

My opinion is never ever design a website for IE, always build for Firefox / chrome / opera / safari then test it in ie after.

 

The code needed to work in IE can be so different to coding for firefox.

  • Author

#logo {
width:800px;
margin: 0 auto;
}

 

Haha, I knew that. :$ Thanks, it helps to have someone point out your silly mistakes. :blush1:

  • Author

Another question, I don't think it's worthy of a new thread. When the link is clicked/selected on the image, is there any way of removing the border that appears in firefox?

 

I screenshotted if it helps explain.

s477z7.gif

  • Author

Try it:

 

#logo a {
outline : none;
}

 

You're too helpful. Thank again. ^_^

Glad to be helpful. Good luck!

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.