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.

css please help with my image

Featured Replies

Hi,

 

I want to introduce an image in my website but I do not undestand why I can not see it.

Here is my css code:

*{
padding:0;
margin:0; 
} 

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #797979;
margin: 0px;
padding: 0px;
	background-color:#fdf8f8;
background-image: url(site-alisia_01.png);
background-repeat: repeat-x;
	}

#container {
width: 428px;
	margin:auto;
	height:500px;

}

#clouds {
width: 428px;
height:150px;
float:left;
background-image: url(clouds.png);
background-repeat:no-repeat;
}
#layout {
width:454px;
height:800px;
background-image: url(site alisia.png);
background-repeat:no-repeat;
margin-top:80px;
margin-left:auto;
float:left;
}

The problems I have is with the image site alisia.png which is also attached and I want it to appear a little overlapping and under the clouds, but I can not see it.

 

May I get a help please?

I have attached also a little beginning of my website.

 

Alisia

 

Edited by Sam G
added [code] tags

in #layout you have a space in the image file path:

 

background-image: url(site alisia.png);

 

not sure if that's the problem but it won't be helping

  • Author

I think it is a problem with the photo from photoshop as I put another and it works.

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.