Title: Fixed Image float
Last modified: August 19, 2016

---

# Fixed Image float

 *  Resolved [ocpplus](https://wordpress.org/support/users/ocpplus/)
 * (@ocpplus)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/fixed-image-float/)
 * Have added a 468×60 banner to the header section of my theme. The issue is that
   when I change the size of the window, the banner does not change with it, obviously
   making the blog look untidy.
 * The following is the code.
 *     ```
       <?php wp_head(); ?>
       <!-- start StanJames logo --><div style="float: right; position: relative; left: -214px; top: 65px;">
       		<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=benidormia-21&o=2&p=26&l=ur1&category=sports_and_leisure&banner=0J3JB6BWSMCQZTCD6VG2&f=ifr" width="468" height="60" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe></div>
   
       	</head>
       ```
   
 * What is strange is that the same code is used on my other sites and they adjust
   according to screen width/height etc…bit miffed to be honest.
 * Any ideas would be much appreciated. Thanks – The Theme I am using is Technical
   Speech and the site is [here.](http://footybunker.com/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/fixed-image-float/#post-1831758)
 * fix the validation errors: [http://validator.w3.org/check?uri=http%3A%2F%2Ffootybunker.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0](http://validator.w3.org/check?uri=http%3A%2F%2Ffootybunker.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)
 * the snippet you posted is invald html;
    this part:
 *     ```
       <!-- start StanJames logo --><div style="float: right; position: relative; left: -214px; top: 65px;">
       		<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=benidormia-21&o=2&p=26&l=ur1&category=sports_and_leisure&banner=0J3JB6BWSMCQZTCD6VG2&f=ifr" width="468" height="60" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe></div>
       ```
   
 * needs to be within the body tags, ideally just after: `<div id="body">`;
    then
   adjust to `left: -10px;`
 *  Thread Starter [ocpplus](https://wordpress.org/support/users/ocpplus/)
 * (@ocpplus)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/fixed-image-float/#post-1831763)
 * Alchymyth – Thank you very much for looking into this for me. Case is set to 
   resolved. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fixed Image float’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ocpplus](https://wordpress.org/support/users/ocpplus/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/fixed-image-float/#post-1831763)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
