Lissa Explains it All:  Web Design Forums  

Go Back   Lissa Explains it All: Web Design Forums > LEIA Archives > Web Site Help > CSS

Notices

 
 
Thread Tools Display Modes
  #1  
Old 04-15-2007, 06:34 PM
Ready Ready is offline
Beta Baby
 
Join Date: Nov 2005
Location: FRIGID MN
Posts: 152
Ready is on a distinguished road
Put an image at background but it shows up in wrong place with Firefox

This looks as it should in I.E. but in Firefox the picture is way off....or doesn't show. Is there a way to fix this?

Screwy background :scared:
Sponsored Links
  #2  
Old 04-15-2007, 06:48 PM
Spe92002 Spe92002 is offline
Beta Baby
 
Join Date: Jul 2006
Location: St. Louis
Posts: 177
Spe92002 is on a distinguished road
Hello,

I asked a browser question yesterday and my response was IE doesnt get the html code right. So you should make your website also on firefox and test on both firefox and IE


Hope this helps,

Spe92002
__________________
You don't succeed until you fail
  #3  
Old 04-17-2007, 07:08 AM
pennyf pennyf is offline
n00bzilla
 
Join Date: Apr 2007
Posts: 2
pennyf is on a distinguished road
Put an image at background but it shows up in wrong place with Firefox

I had that problem. I put the images in divs and used absolute positioning and margin-left (plus top position) and it now looks the same in both. The picture is placed inside the container div, after all the other structure & content divs. This is a centred layout, so I've shown the css for that too.

body {
text-align: center; /*hack for IE*/
min-width: 740px;
}

#container {
width: 700px;
margin: 0 auto;
text-align: left; /*reset due to hack for IE*/
}


#picture {
width: 300px;
height: 270px;
position: absolute;
top: 20px;
margin-left: -220px;
background-image: url(image path & name);
background-position: top left;
background-repeat: no-repeat;
}


Hope this helps
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving an image background x_amiss HTML Help 1 07-29-2005 12:24 AM
Centering a background image? PrincessSammy CSS 4 07-26-2005 11:31 PM
background won't aline with image help bella00 HTML Help 2 06-26-2005 05:37 PM
iFrames with background image, how to? malachithree10 Frames 3 12-04-2003 02:25 AM
Image map as 'background' Cecilie HTML Help 3 02-06-2003 04:56 PM


All times are GMT. The time now is 06:10 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.