Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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