ProductLongDesc on Products_Detail.php PS3
ProductLongDesc on Products_Detail.php in PS3
Using this page as an example…
Products_Detail.php?ProductID=293
I need the ProductLongDesc div to expand into the empty space below the image.
Any ideas?
Mick
ProductLongDesc on Products_Detail.php in PS3
Using this page as an example…
Products_Detail.php?ProductID=293
I need the ProductLongDesc div to expand into the empty space below the image.
Any ideas?
Mick
on the product_detail.php page, find the following code:
<div class="productDetailWrapper">
<div class="image">
<div class="imageWrapper"><img id="ProductImage" src="imagesupload/<?php echo $row_WADAProducts['ProductImage']; ?>" /></div>
</div>
<div class="addToCart">
<h1 id="WADAPageTitle"><?php echo $row_WADAProducts["ProductName"]; ?></h1>
and change it to:
<div class="productDetailWrapper">
<div class="addToCart">
<div class="image">
<div class="imageWrapper"><img id="ProductImage" src="imagesupload/<?php echo $row_WADAProducts['ProductImage']; ?>" /></div>
</div>
<h1 id="WADAPageTitle"><?php echo $row_WADAProducts["ProductName"]; ?></h1>
then in the css/common.css file, change:
.productDetailWrapper .addToCart {
background-image: url("../Images/addToCart_bg.png");
background-position: 50% 100%;
background-repeat: no-repeat;
float: right;
margin-left: 0;
margin-right: 0;
min-width: 350px;
padding: 2px 0 12px 12px;
width: 370px;
}
to:
.productDetailWrapper .addToCart {
background-image: url("../Images/addToCart_bg.png");
background-position: 50% 100%;
background-repeat: no-repeat;
float: right;
margin-left: 0;
margin-right: 0;
min-width: 350px;
padding: 2px 0 12px 12px;
//width: 370px;
}
You Sir are a genius.
Thank you
Mick
Jason
I noticed that any product that didn't have enough data to expand into that lower space caused everything to be forced to the right.
I removed width:auto and replaced it with width:725px and everything seems to be displaying correctly now.
Do you foresee any problems with doing what I've done?
Yours
Mick
No, that is a perfectly acceptable solution as far as I can tell.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.