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.

overflow on background images?

Featured Replies

Greetings!

 

I'm trying to achive this:

post-20816-099064500 1279067056_thumb.png

at this site: arkster.com/links.html

 

It seems any overflow is being cut off.

Is there a way to do this using css background-image, or is there a better way? I feel like the image is styling, not content, which is why I wanted to try and use css and avoid an img tag if possible.

 

Also, the text on this page doesn't even show up on IE 7. Any ideas where I might start to make this at least viewable on IE 7? Thank you for any help you can provide.

  • Author

To fix the text not displaying in IE 7 I figured out I needed to float the images left because for some reason floating the text right wasn't enough. So I'm still really wondering about how to have the "spider" background-image overflow, but I figured out how to have it display okay in the archaic versions of IE. Thanks!

You can't make the background image change position to suit the div content. You will have to code the image as a normal img src below the text OR give the div a fixed height (make sure it's enough for all text content with a bit of spare height in case someone increases text size).

 

This height works with the text and background image that you have at present:-

#infobox_links {           height: 350px;  
background-color: #E7E7E7;
-moz-border-radius: 10px 0 0 10px;
-webkit-border-radius: 10px 0 0 10px;
-khtml-border-radius: 10px 0 0 10px;
border-radius: 10px 0 0 10px;
width:245px;
float:right;
padding: 5px 10px 60px 34px;
position:relative;
line-height:1.25;
background-image:url('../img/box-footer_links2.png');
background-position: center 250px;
background-repeat:no-repeat;
}

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.