Getting my header image to link
-
How can I make bg.jpg link to my index.html?
I have my image in a style sheet:
body {
background: #4F402A url(img/bg.jpg) no-repeat top left;
font-family: Verdana, Helvetica, sans-serif;
font-size: 10px;
line-height: 14px;
color: #333;
margin: 0;
padding: 0;
text-align: center; /* IE 5.5 hack */
}—————————————
This is my header.php code:
<style type=”text/css” media=”screen”>
@import url( <?php bloginfo(‘stylesheet_url’); ?> );
</style><link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” /><link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head><body>
<div id=”rap”><div id=”masthead”>
<div id=”pagetab”>
<div class=”ltab”> </div>
<?php wp_list_pages(‘title_li= ‘); ?>
<div class=”rtab”> </div>
</div><!– end PAGETAB –>
<h1>“><?php bloginfo(‘name’); ?></h1>
<span class=”description”><?php bloginfo(‘description’); ?></span>
- The topic ‘Getting my header image to link’ is closed to new replies.