I have a forum and I want to place a banner image in the right of the header. I am use an Ads Management script which places the image where ever I place "$advertisement". I went to the header file and placed it in. It works but isn't place as I wanted.
To the left of my header it has my forum's image logo. I want the ad imagine to be aligned with the imagine logo to the right. How would I do this?
02-24-2008, 06:19 PM
We need a link to the page before anyone can help you :thumbsup:
02-24-2008, 07:02 PM
http://www.errvoid.com/ is the site
I am currently using <div align="right">$header_advertisement</div>
02-24-2008, 08:34 PM
<div align="right" style="margin-top: x%;">$header_advertisement</div>
Where x is the percent needed to align it...you'll have to play with it a bit, but should work ;)
02-24-2008, 08:42 PM
doesn't seem to work for me. i tried 1% and it still isn't aligned as i wanted. I tried higher numbers and it only made it worser (higher) than it already is. I also tried -1% and it doesn't do anything but removes the advertisement image.
02-24-2008, 10:21 PM
Ok, what about this:
<div align="right" style="margin-top: x%; overflow: visible;">$header_advertisement</div>
and then try the negative value
02-24-2008, 10:27 PM
nope still doesn't help it :| thanks for tryin to help though. appreciate it all
02-24-2008, 10:30 PM
I'm sure someone else can, but that's all I have :)
02-24-2008, 11:00 PM
I think you have to do with <height> or <width> ??
02-25-2008, 07:19 AM
can anyone help me ? :OO
02-25-2008, 07:31 AM
You might float both of them and place them in a single <td>. Something like this might work: