Resize picture

B

brucie

in post: <
Boris ©avc said:
I have this code (it's a banner exchange) and I'd like to change the size of
displayed banner. How to do that? Is it possible?

some smartarse thought it would be funny to superglue my crystal ball to
the ceiling again so you'll have to supply a URL to a page thats
displaying the banner.
 
B

Boris Savc

brucie said:
in post: <

some smartarse thought it would be funny to superglue my crystal ball to
the ceiling again so you'll have to supply a URL to a page thats
displaying the banner.

Hello Brucie, you again!

Would it kill you to help for once?

Regards,
Boris
 
B

brucie

in post: <
Hello Brucie, you again!

Would it kill you to help for once?

i'm trying but you haven't supplied enough info. you can use css to
change the image size but you need to make sure you target the correct
image using appropriate selectors.

i cant tell you what those selectors are or if you'll need to stick in a
class or id unless i see the page markup (this assumes your banner TOS
allows you to resize their banners)
 
B

Boris Savc

brucie said:
in post: <




i'm trying but you haven't supplied enough info. you can use css to
change the image size but you need to make sure you target the correct
image using appropriate selectors.

i cant tell you what those selectors are or if you'll need to stick in a
class or id unless i see the page markup (this assumes your banner TOS
allows you to resize their banners)

OK, Brucie. My bad. The real banner is on page
http://www.adijo.com/lestvica.php (the one in the middle/bottom). Hope
you'll find something.

Regards,
Boris
 
J

Jukka K. Korpela

Boris ©avc said:
I have this code (it's a banner exchange) and I'd like to change the
size of displayed banner.

Remove the code.
How to do that?

Remove the code. This will optimize the size, namely set it to zero.

This will also make your page look a bit less childish in the negative
sense. If this is a problem, add some animation like a hand coming out of
an opening mailbox said:
Is it possible?

Yes.
 
B

brucie

in post: <
Boris Savc said:
OK, Brucie. My bad.

The real banner is on page
http://www.adijo.com/lestvica.php (the one in the middle/bottom). Hope
you'll find something.

add an id to the <div> in the markup:

<!-- oglas izmenjava.com -->
<div id="myadd">
<script....>
</div>

add a bit of css to the <head>

#myadd img{width:200px;height:200px;}

but i think you should look at another banner supplier, i had to keep
hitting refresh for ages before one would appear.
 
D

DU

Boris said:
I have this code (it's a banner exchange) and I'd like to change the size of
displayed banner. How to do that? Is it possible?

<div>
<script language="javascript"
src="http://www.something.com/script.php?id=1071"
type="text/javascript"></script><br>
</div>

Thanks,
Boris


In how many different newsgroups have you multi-posted your message
exactly? Where do you really want to be answered?

DU
 
B

brucie

in post: <
brucie said:
add an id to the <div> in the markup:
<!-- oglas izmenjava.com -->
<div id="myadd">
<script....>
</div>

add a bit of css to the <head>

#myadd img{width:200px;height:200px;}

but i think you should look at another banner supplier, i had to keep
hitting refresh for ages before one would appear.

after looking further into the non arrival of your banners i noticed my
solution above only works with moz.

change your:

<!-- oglas izmenjava.com -->
<div>
<script language="javascript"src="http://www.izmenjava.com/script.php?id=1071"
type="text/javascript"></script><br>
</div>
<!-- konec oglasa izmenjava.com -->
(i'm not sure why thats in a <script> anyway)

to:
<div>
<img src="http://www.izmenjava.com/script.php?id=1071" alt="" id="myadd">
</div>

and change the css to: #myadd{width:200px;height:200px;}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top