Jump to content

Recommended Posts

Hi, when the sample class is hovered I want it to show the test par, but only when it is hovered. I was following the example on http://tv.adobe.com/watch/cs6-creative-clo...reamweaver-cs6/ but for some reason it 's not working right. Can I get some help please?

<?php
require_once('functions.php');
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<link href="MSU.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Satisfy' rel='stylesheet' type='text/css'>
<style type="text/css">
	article {
	width: 80%;
	background-color: #FFFFFF;
	margin-left: auto;
	margin-right: auto;
	padding: 2%;
	}
	#mainContent {
		background-color:#284a50;
 		width:100%;
		padding-top:2%;
		padding-bottom:2%;
	}
h3 {
	color:#284a50;
}
.portfolioHeading {
	font-family:'satisfy', cursive;
	color: #419DAF;
	margin-left:5%;
}
.samples {
	background-color: #419DAF;
	width: 18%;
	height: 18
	l%;
}
.samples:hover {
	top: 0px;
	bottom: 0px;
}
</style>
</head>
<body>
<?php logoMenu();?>
<div id="mainContent">
<article>
<h3> Quality Marketing Services </h3>
Running an organization, of any size is rough, but it's especially hard for small businesses and non-for-profits.  As the leader, you wear so many hats!  You are the salesperson, producer of the product, and sometimes you have to do all the marketing work as well.  Wouldn't it be nice if you could hand off the marketing tasks to someone else, without having to do  them and/or hiring a full-time marketing staff?  <br /><br />well, fortunately there is!  Media Services Unlimited is a full-service marketing and creative company specifically geared towards small businesses and non-for-profits.  We handle all the marketing tasks, so you can focus on producing high-qualiy products, pleasing your consumers, and growing your organization!  
</article>
</div>
<h3 class="portfolioHeading">Marketing Portfolio </h3>
<article class="samples">
<a href="assets/Murder-Mystery-Front.png" ><img src="assets/Murder-Mystery-Front.png"></a> <p class="description">test</p>
</article>
<h3 class="portfolioHeading" style="clear:both;">Website Portfolio </h3>
<?php footer();?>
</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/300612-showing-text/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.