Archive

Posts Tagged ‘font weight bold’

Dynamic Form Elements Css Prob

April 22nd, 2009 Comments off

Hi,

I recently built a site in Drupal.

It looks fine in firefox, but an add to cart form looks terrible in IE6 & 7

I can’t edit the individual code for the form, as its all dynamically called in. Therefore I styled it using the following CSS:

.form-select{
float:left;
font-size:10px;
border-style:solid;
border-width:0px;
border-color:#fff;
margin-bottom:2px;
padding:2px;
}
.form-required{
display:none;
}

.form-item label[for=edit-attributes-1] {
float: left;
font-size:12px;
font-weight:bold;
margin-right:6px;
margin-left:3px;
}
.form-item label[for=edit-attributes-2] {
float: left;
font-size:12px;
font-weight:bold;
margin-right:6px;
margin-left:6px;
}

This is perfect in firefox – and doesn’t work a bit in IE.

Is there anyway I can fix this to make it work in both?

http://www.excycle.com/prototype

Will pay tonight for solution.

Quick Job Minor Change To Code

March 28th, 2009 Comments off

I have attached a file here, which needs some coding. It should be fairly easy job for anyone who knows php and wordpress.

I want the “amazonsmallurl” image to be hyperlined to “amazonurl”.

Turnaround should be within 1/2 an hour. The code is as below;

CODE START

<div class=”subcolumns”><div style=”border:0px solid #000; padding: 5px; margin-bottom: 15px; background: url({$AmazonLogoSmallUrl}) right

bottom no-repeat #ffffff; “> <div style=”width: {$MediumImageWidth}px; float: left; margin-right:10px;”> <a

href=”{$AmazonUrl}” target=”_blank”><img src=”{$MediumImageUrl}” width=”{$MediumImageWidth}” height=”{$MediumImageHeight}”

border=”0″ /></a> </div> <div> <p><a href=”{$AmazonUrl}” target=”_blank”>{$Title}</a><br />

ISBN: {$ISBN}</p> <p><strong>Price:</strong> <span style=”color: #990000; font-weight: bold;”>{$AmazonCurrency}

{$AmazonPrice}</span><br /> <strong>{$TotalOffers} used & new</strong> available from <span style=”color: #990000;

font-weight: bold;”>{$LowestOfferCurrency} {$LowestOfferPrice}</span></p> Rating {$RatingStars} | Average Rating

{$AverageRating} | Total Reviews{$TotalReviews}<br /> </div> <div style=”clear: both;”></div></div></div>

CODE END

Regards

Bear