Jump to content

sam_h

Members
  • Posts

    46
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

sam_h's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm having some similar traumas! Although I'm doing it with WPMU I'm close to getting it right, but had the same problem as you when trying it on the newer version of WP I'll let you know how I get on
  2. thank you haku, that worked a treat!!
  3. Hi, I have a simple header and two column layout all surrounded by a #outer. one colomn is #page and one is #right I want to be able to set the background-image of #outer so that it is also the background for #page and #right but for some reason it stops being the background as soon as it gets to the top of those divs. if that makes any sense?! is there a way to get around this? here is my code: body { background-color:#f3f3f3; font-family:Arial, Helvetica, Geneva, sans-serif; font-size:0.88em; line-height:1.5em; color:#444; } #outer { width:970px; text-align:center; margin:0 auto 50px; padding:0; background-image:url(/Images/body_bg.jpg); background-position:top; background-repeat:repeat-y; } #page { width:640px; text-align:left; padding: 10px 0 10px 10px; float:left; } #right { float:right; text-align:left; width: 300px; padding:10px 10px 0 0; } html: <body> <div id="outer"> <a href="/index.html"><img src="/Images/header_test_new6.png" border="0" alt="OnYaHead.com Logo"/></a> <div id="right"> content here </div> <div id="page"> more content here </div> </div> </body>
  4. well i found the missing /div tag and it now validates fine thanks for your help
  5. apart from the colour scheme being bad, I generally wasn't happy with the navigation system I posted above. I went away and put together the following: http://onyahead.com/latestnews_test.php Just focussing mainly on the navigation, what are people's views? I have a few of my own doubts/concerns but was interested to know if anyone has any more before I implement it across my site. Sam (as for the accessability issues and the semantics of the headings,....they are next on my list!)
  6. thanks for the reply cupid...and also the encouragement! could you explain to me briefly what the difference it between Image Replacement and using an alt tag because from what I have just read about IR, it appears to do something similar? As for the inline styles, for some reason it was the only way that I could seem to remove the border around my img links....I do now know a touch more about CSS so will have a try that way around.
  7. I did have a look a the error reports, but wasn't sure how to close a div tag that I didn't create manually? what are htmlentities darkwater?
  8. more than happy to change that! i do agree they are pretty horrible, just the colours i went for when i tested the idea, just not round the changing it yet!
  9. yep that is most definitely right! i am only new to the php ropes, so bear with me! the page that I am in reference to is onyahead.com/latestnews.php and the PHP that i used there is the following: <?php $host = "localhost"; $username = "*******"; $password = "*******"; $con = mysql_connect($host,$username,$password) or die ("cannot connect"); $databases = array( 'onyahe_wrdp1', 'onyahe_wrdp2', 'onyahe_wrdp3' ); echo '<table><tbody>'; foreach($databases as $database){ $q = mysql_query("SELECT u.user_nicename , (SELECT COUNT(*) FROM {$database}.wp_posts WHERE post_author=u.ID AND post_type = 'post') AS posts FROM {$database}.wp_posts AS p LEFT JOIN {$database}.wp_users AS u ON u.ID = p.post_author WHERE p.post_type = 'post' GROUP BY p.post_author ORDER BY posts DESC LIMIT 1") or die ("<tr><td>Error:</td><td>Unable to run query on db: ".$database."</td></tr>"); $a = mysql_fetch_assoc($q); echo '<tr><td><strong>'.$a['user_nicename'].'</strong> has written</td><td><strong>'.$a['posts'].'</strong> articles </td></tr>'; } echo '</tbody></table>'; ?>
  10. Hi again! So i've been away for a bit and worked through everyone's suggestions. I have put together some dynamic php pages such as latest news and comments and also my about page. There a still a couple of things I've not got round to changing, but I was hoping for some advice re:my navigation system for pages other than the homepage. have a quick look at onyahead.com/latestnews.php I found that right hand grey space a pretty difficult space to use, and I have tried with this page to make a 'tabbed effect' system out of CSS. It's obviously by no means perfect and there are a few things that I myself would like to change, but if anyone has any ideas as to how I could improve the tabs or generally create a better nav system, they would be welcomed! (or even a better way to use that grey space?!) (I also realise that the green footer (which I am hoping to actually make out of a vector grass image one day!) does not align as I would wish. I am trying to work out how to make it cross the whole width of my #outer div...any ideas?! It works on html pages, but not php!) Thanks, Sam (also, my page rank has since become 2 for my homepage and 3 for my main blog, happy days!!)
  11. any speed issues aside (loading a lot quicker now btw!), I am a big fan of the general layout. It's well organised and the structure is clear. From purely a design perpective, one of my main issues was with the 'readability' of the handwriting font you use in your header and in you subheadings. It's a nice font, but it took me a little while to work out what the site was called! Maybe something a little easier to read and that stands out a lot more for the header?
  12. Hi all, I'm just looking through some validation issues for my site. On of my PHP pages has 66 Errors all of which occur because of an RSS feed I have called with PHP...at least I think that is the issue! It would appear that the output of my page ommits the closing div tag for each headline/story in my feed... If anyone has any ideas how to correct this, it would be greatly appreciated! Regards, Sam
  13. hi again! just slightly concerned jeremy regarding the false 404's...the number has now gone up from 92 to 256 within the last couple of crawls. According to my webmaster account all the errors are missing a / between the directory and the date in my URL eg. example.com/directory2008/06/posttitle , instead of example.com/directory/2008/06/postitle In response to this, I have downloaded and looked through my sitemap (and looked at every URL!) and nothing seems to be wrong!
  14. ok, may have just been my interpretation...apologies if you wasnt
  15. don't like to maybe state the obvious, but if your site is so popular and you seem to know so much stuff already, why are you asking for a critique? but while i'm here, I found the header pretty garish and hard to read....other than that, the rest of the content is still loading. I'm new hear and obviously not a moderator, but please don't be rude to people who respond to your threads.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.