Actions

Widget

Difference between revisions of "WTimage"

m (Text replacement - "== Using this widget ==" to "")
m (Text replacement - "src="http:" to "src="https:")
 
Line 29: Line 29:
 
</noinclude><includeonly><div id="wrapperHeader">
 
</noinclude><includeonly><div id="wrapperHeader">
 
  <div id="header">
 
  <div id="header">
   <img src="http://wikitranslate.org/w/WikiTranslateLong.png" alt="logo" />
+
   <img src="https://wikitranslate.org/w/WikiTranslateLong.png" alt="logo" />
 
  </div>  
 
  </div>  
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 09:52, 19 July 2018


To insert this widget, use the following code:

{{#widget:WTimage}} 

Sample result

div#wrapperHeader {

width:100%;
height;200px; /* height of the background image? */
background:url(images/header.png) repeat-x 0 0;
text-align:left;

}

div#wrapperHeader div#header {

width:100%;
height:100%;
margin:0 auto;

}

div#wrapperHeader div#header img {

width:; /* the width of the logo image */
height:; /* the height of the logo image */
margin:0 auto;

}