Previous Message
Next Message

First Attempt

Sent by Mickael on 23 February 2005 21:09


Hello All,

I am making my first attempt at CSS with some code that was provided by Michael (thanks Michael)

Here is my question I have a header Div that when I use an Image as the background it look nice in
IE.

Here is the link http://efactory.ca/test2.htm and this is what my stylesheet has.

#header { /* this DIV contains your header graphic */
    margin:0;
    padding:0;
    width:780px;
    height:221px;
 background: url(images/Header.jpg);

And this is what my HTML page contains

 <div id="header">
        <div id="main_nav">
              
           </div>


I would like to make an image map using the image so I can have the image as a background I need the
actual image.  It has a space between the header and the left hand column?

Here is the second link with the http://efactory.ca/test1.htm

Here is the second stylesheet

#header { /* this DIV contains your header graphic */
    margin:0;
    padding:0;
    width:780px;
    height:221px;
     
}

And here is the HTML

<div id="header">
         <img src="images/Header.jpg">
        </div>

In Firefox there is a slight line but it is not as noticeable as in IE

Any Ideas on how I can fix this?

Thanks

Mike
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message