# How to place a banner

**URL:** https://forum.kirupa.com/t/how-to-place-a-banner/441
**Category:** random
**Created:** [July 17, 2002, 6:03pm UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441 "2002-07-17T18:03:11Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Makaveli](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Makaveli](https://forum.kirupa.com/u/Makaveli)
#### Post date: [July 17, 2002, 6:03pm UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/1 "2002-07-17T18:03:11Z")

</div>

ok, i got the code for my banner and it is  
A HREF=“[http://www.amazon.com/exec/obidos/redirect-home/keepsystems-20](http://www.amazon.com/exec/obidos/redirect-home/keepsystems-20)”\>\<br\>  
IMG SRC=“home-banner-468x60.gif” BORDER=“0” HEIGHT=“60” WIDTH=“468”

how do i place it on a specific point of a web page?

like if i want to place it in the middle of the screen or at the bottom?

thx

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 1:58am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/2 "2002-07-18T01:58:09Z")

</div>

Hey Makaveli,  
Do you use any program such as DreamWeaver or FrontPage? They would make it much easier. Anyway, to answer your question, you would use a table. If you need any further help, just reply and I’ll send you a sample HTML file that’ll help you out 😉

Cheers!  
Kirupa :asian:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 2:24am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/3 "2002-07-18T02:24:11Z")

</div>

yes actually i do use dreamweaver. any help would be much appreciated because i wanted to also place a counter which stays at the top of the page to be placed at the bottom.

MakaVeli

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 2:35am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/4 "2002-07-18T02:35:11Z")

</div>

Welcome to the wonderful world of HTML tables and CSS!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 2:59am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/5 "2002-07-18T02:59:20Z")

</div>

Put this:

```php
<div align="center"><img src="http://www.yoursite.com/your_image.gif" width="468" height="60">

```

In the middle of your body tags like this:

```php
<body bgcolor="#FFFFFF" text="#000000">
<div align="center"><img src="http://www.yoursite.com/your_image.gif" width="468" height="60"></div>
</body>

```

That is the full script used to place your banner and this tag:

```php
<div alight="center"></div>

```

Is to center your banner in the middle of the page and at default the image will be placed at the top of anything below it!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 3:20am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/6 "2002-07-18T03:20:47Z")

</div>

do i have to use center or is there a way to find out if i can align the banner to either left or right, maybe i want it to be left center or just a little above the bottom. how would i go about doing something like that? thx for all ur help! 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 3:26am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/7 "2002-07-18T03:26:39Z")

</div>

To make it go right or left change it to these:

```php
<div align="right"></div>
<div align="left"></div>

```

To make change to the vertical position of the banner you are going to have to use tables like this:

```php
<table width="100%" border="0" height="100%">
  <tr>
    <td valign="bottom"> 
      <div align="center"><img src="http://www.yoursite.com/counter.gif" width="100" height="25"></div>
    </td>
  </tr>
</table>

```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 3:45am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/8 "2002-07-18T03:45:49Z")

</div>

aight, is there a way to put the banner at like a little to the left but no too much? like i see sites with banners right next to the text during an article or in between an article. i use dreamweaver so is there an easy way to do it using that or do i have to use html and write

div align=“leftright”\>\</div

or something like that. basically i want control over where on the page the banner is placed. thx

p.s How the heck do u make it so that the div align or any html code appears on the forum, when i post the code it doesn’t show up!

\<div align=“leftright”\>\</div\>

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 4:11am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/9 "2002-07-18T04:11:53Z")

</div>

You have to use the PHP tag on the vB code menu. And you can use Dreamweaver instead of hardcoding a site it just takes time to learn and if you ‘bought’ dreamweaver it came with a book…read about tables and if I have time maybe I will write a tutorial on it!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 5:06am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/10 "2002-07-18T05:06:11Z")

</div>

it would be great if you could write a tutorial really soon! i read the tables stuff and i’m lost. i used the layout table and I inserted the pic into it. then i put this code

```php
<A HREF="http://www.amazon.com/exec/obidos/redirect-home/keepsystems-20"><br>

```

and aslo beneath that

```php
<IMG SRC="home-banner-468x60.gif" BORDER="0" HEIGHT="60" WIDTH="468">

```

and a seperate image comes at the top of the page. [COLOR=blue]I NEED THAT TUTORIAL! even a quick small one![/COLOR] thx dan

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 18, 2002, 7:01am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/11 "2002-07-18T07:01:30Z")

</div>

I’ll see what I can do…😛

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 19, 2002, 11:11pm UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/12 "2002-07-19T23:11:05Z")

</div>

thx alot, if anyone else could do something about placing banners in dreamweaver using tables or whatever, help me out! thx alot!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 20, 2002, 12:24am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/13 "2002-07-20T00:24:02Z")

</div>

anyone know any sites where they teach how to place banners using tables or on how to place banners with the code specified like this

```php

<A HREF="http://www.amazon.com/exec/obidos/redirect-home/keepsystems-20">

<IMG SRC="home-banner-468x60.gif" BORDER="0" HEIGHT="60" WIDTH="468">

```

cuz when i place this stuf i can only place them at the top left or right etc. i want complete CONTROL! maybe in the middle of text or between two other images. you guys understand what i mean right?! :rambo: PLEASE HELP!! I’m DESPERATE!!! :asian:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 20, 2002, 12:30am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/14 "2002-07-20T00:30:01Z")

</div>

hey phil, i been gone for a while but im BACK! its not a header, but rather a banner i got from amazon. they gave me that code and i have no clue how to place banners according to how i want. for example, i see advertisements in the middle of an article attractively placed so people can see it easily. i dunno how to explain it more…wait a minute…i’m gonna go check the source for the sites…why didnt i think of this earlier. anyways if anyone knows how to palce using DREAMWEAVER 4 with complete control! let me KNOW! i know how to place the images but i don’t know how to make them link

IS IT AS SIMPLE AS placing a link like this on the image?

```php

<A HREF="http://www.amazon.com/exec/obidos/redirect-home/keepsystems-20">

```

and i don’t even need the second piece of code:

```php

<IMG SRC="home-banner-468x60.gif" BORDER="0" HEIGHT="60" WIDTH="468">

```

i think that would work!!! i’m going mad at how simple it was and i didn’t think of it b4. dam html confused me! BAH BAH BAH!!! @$#$@%#%@#^#%@$#@%@%#@$%$@^#@^@#$#%@#^@#$%@#^#@^@$^@

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 21, 2002, 3:26am UTC](https://forum.kirupa.com/t/how-to-place-a-banner/441/15 "2002-07-21T03:26:01Z")

</div>

yea i got it, thx alot everyone! my next question is how do i add suburls into my url. ex if my site is [www.whatever.com](http://www.whatever.com) and i have a link to info about drivers how do i set my url when that link is clicked to be [www.whatever.com/drivers](http://www.whatever.com/drivers) ?? curently the link stays the same for every page and also i am using frames…is there no way possible to do it in frames…i dont want to open another blank page. thx ahead of time 🙂
