Gunlaug Sørtun
<[EMAIL PROTECTED]
> To
[EMAIL PROTECTED]
05/07/2007 04:19 cc
PM [email protected]
Subject
Re: [css-d] Picture Position
troubles
[EMAIL PROTECTED] wrote:
> http://www.coastalpet.com/aboutus.php.
> Is there a way to make the dog stay in a consistent spot on the site
> without making it apart of the background image?
Yes.
Now the dog is absolute positioned relative to the browser-window.
You must instead absolute position the dog relative to the page-container.
Step 1: move the div containing the dog-image inside <div
id="container"> in the source-code.
Step 2: add...
#container {position: relative;}
...to create a relation.
Step 3: change the left and top values to where you want the dog to
stay. Put the styles in the stylesheet,and delete the inline styles.
The dog will stay put :-)
In addition: add the following...
#nav-meta {display: inline;}
...to "kill" the 'margin-doubling on floats' bug in IE6.
regards
Georg
--
http://www.gunlaug.no
Georg,
Thank you for the suggestions. I think they worked for the dog. I'm now
having problem with the text in nav-main, which is the main navigation
including "Home, Products, etc..."
The problem is that the nav bar starts in different locations. IE 6 starts
the nav bar to the right of where firefox starts it. I took a screen shot
with both browsers open and measured the two of them. So, that is the new
problem. Is there a browser hack that will fix that or what else might be
the problem?
Here is a link to a page that I changed.
http://www.coastalpet.com/become_authorized.php
Here is the css. http://www.coastalpet.com/blu.css
You'll see the difference by looking at the dogs leg on either browser and
how much it covers up the word games.
Thanks,
Jason
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/