2011-07-19, 04:44 PM
Im kinda noob at this,and would appreaciate help to change from default font to some stylish one and add background image behind h1 tag in header,any help? The point is to make logo out of it
Regards
Regards
(2011-07-19, 04:54 PM)ranjani Wrote: [ -> ][just my 2 cents]
common font families are used for websites (eg. Verdana, Arial, Sans-Serif) and the specific
stylish font may not be available in users computer to render the header text as you like ...
it might be better to get the logo image designed by an expert with the stylish font AND use it !!
<center><h1>Xtreme Portal</h1></center>
h1 {
background: url(images/example.gif);
color: #FFF;
font-family: Verdana;
}
(2011-07-19, 05:10 PM)faviouz Wrote: [ -> ]And by the way don't use the <center> tag. It has been deprecated.Exactly.
h1 {
background: url(images/example.gif);
color: #FFF;
font-family: Verdana;
text-align: center;
}
<div class="mylogoimage">Xtreme Portal</div>
/* custom logo - background image */
.mylogoimage {
text-align : center;
font-family:verdana, arial, sans-serif;
margin:0;
font-size: 14px;
font-weight: bold;
display: inline;
background: url(images/backgroundimagename.gif);
}