Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE, ff rendering issues

Status
Not open for further replies.

fergman

Technical User
Oct 19, 2000
91
US
Let me start by saying I am new to CSS and not good at it yet. So feel free to tell me if there is a better way to do this.
I have two CSS problems.

1. I'm trying to put a background in the center of the browser window at the top, and stay there when the user resizes their browser.
Problem, IE7 puts the image all the way to the right. FF the left. If I center this then how do I keep the below images in place with this as well when the browser is resized?

2. I have 6 images in their own containers across the top and text in their own containers on top of them. Right now they are fixed. I would like the above background, and these images/text to stay in place when the browser is resized.

CSS for background so far:
div.imageholder{
background: url(../images/bg_winetiles.jpg);
position:absolute;
margin:0px auto;
}

CSS for nav images and text, there are six of these, i'm only posting one set:
div.navImage1{
position:absolute;
width: 115px;
height: 103px;
left : 76px;
top: 16px;
z-index: 3;
line-height:30px;
font-size: 18px;
color:#FFFFFF;

}
div.navText1{
position:absolute;
width: 115px;
height: 59px;
left : 76px;
margin:0px auto;
top: 40px;
z-index: 4;
line-height:30px;
font-size: 18px;
color:#FFFFFF;
 
Thanks,

I figured out what I was doing wrong. So feel free to ignore this post.

In short I didn't know what I was doing with the background container.
 
Did you just use something like:
Code:
{ 
background-image:url(bgwinetiles.jpg');
background-repeat:no-repeat;
background-position:center; 
}
?

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top