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.

How do I hack Opera?

Featured Replies

The thing is, when I place "display: inline" inside li like in this case:

 

#navigation{
 [some declarations]
}

#navigation ul {
 [some declarations]
}

#navigation li {
 display: inline;
}

 

. . . the result renders the same on all browsers (except on IE of course). But when I use Opera, the whole inline list is 2-3 pixels higher than in other browsers (Firefox, Safari, Chrome). I tried removing "display: inline" and when I do, the rendering on all browsers are the aligned/the same. It's only when I insert "display: inline" that Opera renders it differently.

 

What could be the problem?

Edited by Sam G
added [code] tags

For all my horizontal menus I use float: left instead of display: inline for the li tag:-

#navigation li {
float: left;
}

 

However, I have seen it mentioned that display: inline is needed for IE6 (although I haven't found it necesary) so they have float: left and display: inline.

Edited by Sam G
added [code] tags

I take it you've removed your margins and padding? Do you use a reset stylesheet?

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.