before you had on top of your header.php this:
Code:
<div class="datingimg">
<img src="http://www.maaximumseduction.com/dating.jpg" height="160" width="139"></img>
</div>
these lines are gone from there, that’s good, but I can’t find them anywhere anymore…?
anyway, it should read like this:
Code:
<div id="datingimg">
<img src="http://www.maaximumseduction.com/dating.jpg" height="160" width="139" alt="" />
</div>
you could put something into: alt="nere might be a description"
put this three lines in header.php under <body>
this is now a div ID, reference in style.css as you have already:
Code:
#datingimg {
float:left;
}
btw: a div class in style.css would be .datingimg
float left might work, I can not try, maybe you change the entry in style.css to
Code:
#datingimg {
padding:5px;
position:absolute;
left:0;
top:15px;
}
the value position lets you declare what the position of an element should be.
in case you still do not see the image try position:fixed; to fix it on the left top of the page and it will not scroll away.
But the three lines div datingimg … … have to be in place first
____________________
you find me on Google+, Twitter and Facebook
(von: Joern)
Hier noch 4 weitere Ergebnisse dieses Threads:
I floated a div, but that disrupted my main container.
7. Nov. 2010 (von: omerkhan01)
Hi there, My site is here. As you can see in IE that I tried to put a banner to the left of my banner in the black space and in IE it screws up my site. I put the…
Re: I floated a div, but that disrupted my main container. :: Reply by Joern
7. Nov. 2010 (von: Joern)
read this answer as the problem starts here:viewtopic.php?f=1&t=202____________________you find me on Google+, Twitter and Facebook Weiterlesen →
Re: I floated a div, but that disrupted my main container. :: Reply by omerkhan01
7. Nov. 2010 (von: omerkhan01)
Joern, I did go into header file and put the div class below body and now it is not showing up on my site it all. The banner dissappeard!I simply want to know1) Where would i put a div to…
Re: I floated a div, but that disrupted my main container. :: Reply by omerkhan01
7. Nov. 2010 (von: omerkhan01)
It works perfectly. Thanks man! Weiterlesen →