fixed a bunch of formatting problems with text based ads
This commit is contained in:
parent
e5e9cd9b51
commit
22a1338bdb
1 changed files with 3 additions and 3 deletions
|
|
@ -254,9 +254,9 @@ sub set {
|
|||
my $adSpace = WebGUI::AdSpace->new($self->session, $self->get("adSpaceId"));
|
||||
if ($self->get("type") eq "text") {
|
||||
$self->{_properties}{renderedAd} = '<a href="'.$self->session->url->gateway(undef, "op=clickAd;id=".$self->getId)
|
||||
.'"><div style="overflow: hidden; width: '.$adSpace->get("width")
|
||||
.'px; height: '.$adSpace->get("height").'px; color: '
|
||||
.$self->get("textColor")
|
||||
.'" style="text-decoration: none;"><div style="overflow: hidden; font-size: 13px; font-weight: normal; width: '
|
||||
.($adSpace->get("width") - 2)
|
||||
.'px; padding: 3px; height: '.($adSpace->get("height") - 2).'px; color: '.$self->get("textColor")
|
||||
.'; background-color: '.$self->get("backgroundColor")
|
||||
.'; border: 1px solid '.$self->get("borderColor").';"><b>'
|
||||
.$self->get("title").'</b><br />'.$self->get("adText").'</div></a>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue