Jump to content

Using a local host - images won't load now


Lucy

Recommended Posts

I started using WAMPserver for my website so I can use PHP. My homepage has some images on it that won't work properly when loaded through the host. Is there a reason this could happen? Here's the relevant code

 

HTML:

<div class="gallery">		<div class="box">	<a href=""><div class="overlay"><h3>website name</h3><br/><p>website description</p></div></a>	<img class="thumb" src="imagesimage1.jpg">		</div>

CSS:

	.gallery		{		float:right;		width:70%;		clear:right;		margin:0 20% 20% 0;		padding:2%;		background-color:rgba(149, 176, 178, 0.2);		border-radius:0.25em;	}        .box		{		width:32%;		position:relative;		float:left;		border:.5rem solid #FFE2CD;		text-align:center;	}	.thumb		{		width:100%;	}

Strangely, the background image still works... it's a .PNG, but that won't be why, will it?

Edited by Lucy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...