Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

CSS firefox problem


  • Please log in to reply

#1
coljung

coljung

    Member

  • Member
  • PipPip
  • 47 posts
EDIT: I think i fixed it by playing around.

///////////////////////////////////////////////////

Hi,

I'm having this problem witha piece of CSS code on firefox.
The CSS looks like this:

#wrapper{
float:left;
width:285px;
text-align:left;
background-color:#3d86a0;
margin-right:2px;
}

#logo{
width:285px;
background-image:url(images/back_logo.gif);
position:relative;
top:0px;
clear:both;
text-align:left;
z-index:20;
}

#under_logo{
clear:left;
padding-left:15px;
line-height:25px;
color:#CCCCCC;


}


and the html like this :

<div id="wrapper">
<div id="logo">
<img src="images/logo4.gif" />
</div>
<div id="under_logo">
Consultoria<br />
Estudios de Mercado<br />
Representaciones Comerciales
</div>

</div>


I've tried tweaking around the css, but as much as i've tried i keep getting this:
Posted Image


while WHAT I REALLY want is this:
Posted Image

The first example , wrapper is inside another container which id the Div that has all the content.
In the second example, i have it by itself and it works properly.

The problem is that somehow the under_logo div's background color is also covering the div color. Why ?

Edited by coljung, 13 September 2007 - 12:14 PM.

  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP