Hi,
I want to divide the header into two parts. Logo is displayed on the left side and I want to show some ads on the right side. Can you give me the code for dividing the header.php file?
Regards,
Anand N
#header h1 {
margin: 0;
padding:0;
}
#header h1 {
margin: 0;
padding:0;
float:left;
width: 250px;
}
#header p {
margin: 5px 0 0 0;
padding:0;
float:right;
width: 470px;
}
<div id="header">
<h1><a href="<?php echo get_option('home'); ?>/" id="logo"></a></h1>
</div>
<div id="header">
<h1><a href="<?php echo get_option('home'); ?>/" id="logo"></a></h1>
<p><-BANNER CODE HERE-></p>
</div>
<div class="clear"></div>
Users browsing this forum: No registered users and 1 guest