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.

1 pixel issue

Featured Replies

Hello friends,

I ma having a strange problem and i have tried numerous times adjusting image size moving with margin but of no use

as u can seehere the left and right column bottom image is slightly off place although same image size is used for top

how can i fix it?

.colum_left_top {
   background: url("../image/left_top.jpg") no-repeat scroll center top transparent;
   height: 36px;
   left: -1px; /* This would be the problem */
   padding: 0;
   position: absolute;
   top: 0;
   width: 181px;
}
.colum_left_bottom {
   background: url("../image/left_bottom.jpg") no-repeat scroll center top transparent;
   bottom: 0;
   height: 36px;
   left: -1px; /* This would be the problem */
   padding: 0;
   padding: 0;
   position: absolute;
   width: 181px;
}

  • Author

.colum_left_top {
   background: url("../image/left_top.jpg") no-repeat scroll center top transparent;
   height: 36px;
   left: -1px; /* This would be the problem */
   padding: 0;
   position: absolute;
   top: 0;
   width: 181px;
}
.colum_left_bottom {
   background: url("../image/left_bottom.jpg") no-repeat scroll center top transparent;
   bottom: 0;
   height: 36px;
   left: -1px; /* This would be the problem */
   padding: 0;
   padding: 0;
   position: absolute;
   width: 181px;
}

i know where the problem is but main problem is both image are of same size if top has no issue why bottom is moving?

i know where the problem is but main problem is both image are of same size if top has no issue why bottom is moving?

 

Both the top and bottom images are misaligned here in FF6.

Try aligning the images left instead of centre. That way there's no calculation being performed in order to position them. (Centring elements with an odd horizontal dimension tends to be a little problematic).

Edited by Renaissance-Design

  • Author

Try aligning the images left instead of centre. That way there's no calculation being performed in order to position them. (Centring elements with an odd horizontal dimension tends to be a little problematic).

thanks i got it sorted i had problems in slicing :p

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.