Previous Message
Next Message

A bunch of questions from a time strapped newbie

Sent by Ingo Chao on 28 February 2006 23:11


Claude Bernier wrote:
> ...
> - The left vertical menu in hiding under the main text area;
> ...
> http://www.blendinblindinn.com/Edithluc/TEMP_Company_Whoweare.html
> 

Someone more lucid than me should help me understanding this bug

#left {
  width: 185px;
  float: left;
  position: relative;
  margin-left: -185px;
  margin-right: 0px;
  height: 100%;
  background-image: url('TEMP_MenuLeft_BG.jpg');
  background-repeat: no-repeat;
  }

This menu is hidden under the main area, and
  #left {  z-index:1; }

brings it up in front. It is misplaced.

Questions:

- Why does margin-left: negative value and position:relative not move it 
a bit? Even IE6 should be able to do this.

- Why does pointing the url() to an nonexistent location make the #left 
visible /and/ move it to the correct position?

   #left { background-image: url('nonexistent.jpg');}

Can someone reproduce this or am I seeing an artifact due to my browser 
settings?

Ingo


-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/
Previous Message
Next Message

Message thread: