Reply
Theme coding help
Old 11-06-2005, 06:22 PM Theme coding help
Junior Talker

Posts: 3
I've nearly finished the design for my site after a very long wait. I'm just trying to sort one or two things out now and i was wondering if you could help. The first problem i have is a links one. I'm using WP as the custom ocde i should of got i never got it or even my money back. On the main page i have split the links into three sections, but this is where you get the problem:



As you can see the last link and the header of the next section there isn't a gap. I what to put one in, but i've not an idea were.

The next problem is with the header of the site. There is a grey bar under the banner of the site and i want to move it so the grey bar goes above the banner. At the minute it looks like this:



Image.css
PHP Code:
#header{background: url(banner.jpg) no-repeat;}
body{backgroundurl(page.pngcenter;} 
Header
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
   <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

   <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php ?> <?php wp_title(); ?></title>
   
   <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

   <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
   <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 wp_head(); ?>
</head>
<body>
<div id="container">

<div id="header">

<h1><a href="<?php echo get_settings('home'); ?>"></a></h1>
<p id="nav"><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('description'); ?></a></p>

</div>
Style.css
PHP Code:
/* the container */

#container{
 
width740px;
 
margin-rightauto;
 
margin-leftauto;
 
text-alignjustify;
 
padding-top10px;
 
padding-bottom50px;
}

/* the header */

#header{
 
width718px;
 
border1px solid #c5c5c5;
 
margin-right10px;
 
margin-left10px;
 
height140px;
 
background-color#DADADA;
}

#header h1, #header a{
 
font-size20px;
 
height20px;
 
margin-left10px;
 
font-familylucida sanstahoimasans-serif;
 
color#fcfcfc;
 
text-decorationnone;
}

#header h1{
 
margin-top50px;
}

#nav{
 
width718px;
 
height20px;
 
margin-top50px;
 
padding0px;
}

#nav a{
 
font-size12px;
 
font-familytahomasans-serif;
 
color#888;
 
text-transformlowercase;
 
text-decorationnone;
}

#nav a:hover{
 
color#222;

I hope you guys can help me with this one.
Assgoblin is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Reply     « Reply to Theme coding help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10876 seconds with 12 queries