Roger Roelofs wrote:

>On Feb 19, 2006, at 2:34 PM, kate wrote:
>
>>question first: How do we have the banner show on all the web pages 
>>from the index?
>>    
>>
>You will need a server-side language for this.  CSS can't.
>  
>
I think it depends on the character of the banner: is it just an image, 
or a kind of header with repeating text/menu?
In the second case:

    * it can be done indeed by a server-side include (ssi or php);
    * javascript (clientside) is also possible, but should not advise
      that because sometimes it is (clientside) turned off: that
      visitors don't see the header;
    * frames! the whole site as a framed site, but should not advise
      that because frameless is far more accessible (also for search
      engines);
    * perhaps an inline frame is possible;
    * or, why not: when made the code once for the index, copy/paste it
      in the other pages.

Mostly a header isn't so big (doesn't ask much downloadtime): I should 
go for the last option.
In the first case:

    * in the html you can make a line <div id="header"></div>, with:
    * in the stylesheet something like:
      #header { width: 500px; height: 50px; display: block;
      background-image: url('images/headerimage.gif'); }

Succes with css!
francky


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to