Search results

  1. as4s1n

    Need to design a 'post comment page'

    Writing it yourself is pretty simple. Just make a page with the form that the user will write what they want for their comment: <form action="postReview.php" method="post"> <textarea cols="20" rows="5" name="comment"></textarea><br /> <input type="text" name="poster" size="12" /><br /> <input...
  2. as4s1n

    PHP require... what is wrong?

    You don't get any error messages? try a try/catch try { require("menu.txt"); } catch(Exception $e) { echo $e->getMessage(); }
  3. as4s1n

    Need some simple CSS help, will paypal you $5 :)

    No thanks, I don't do this for money.
  4. as4s1n

    Need some simple CSS help, will paypal you $5 :)

    From what I can see, it looks like the div's class name 't' and the anchor that is under it is named 'rsswidget' You could just change the CSS code to get rid of the 'a.t' in your CSS page: .art-BlockHeader div.art-header-tag-icon div.t a
  5. as4s1n

    Need some simple CSS help, will paypal you $5 :)

    You aren't referencing every parent node. The "art-header-tag-icon" is the parent of the link div, if it isn't in order or leaves out one then it will not work, meaning it will reference (if there is one with that) on that level. .art-BlockHeader div.art-header-tag-icon a.t
  6. as4s1n

    Need some simple CSS help, will paypal you $5 :)

    You are right, it is not that hard. Give a class name such as blockheaderLinks to each of your a tags and on your stylesheet change the color of those to which you want. <a href="#" class="className">Text</a> <a href="#" class="className">Text</a> <!-- Etc. --> CSS a.className {...
  7. as4s1n

    MySQL distinct keyword - How do you retrieve each unique value?

    Oh, that makes sense. Sorry, I thought it was much more complicated.
  8. as4s1n

    MySQL distinct keyword - How do you retrieve each unique value?

    Yes, but how do you display values onto the page? The way I did it?
  9. as4s1n

    MySQL distinct keyword - How do you retrieve each unique value?

    I was looking at the distinct keyword in the SQL statement and I was wondering how you would get each individual columns. My guess was this: $sth = $dbh->query("SELECT distinct colName FROM table"); $i=0; while($row=$sth->fetch()) { $colVal.$i = $row[$i]; echo $colVal.$i...
  10. as4s1n

    CSS div height - auto doesn't go to end and absolute wrecks footer position

    My plan was to get the border to go to the footer but since I use relative width attributes (%s) and I use a 5 px border it puts the right column down below the left column and when I lower the left/right column width then there is a gap between the two that doesn't look quite right. Should I...
  11. as4s1n

    CSS div height - auto doesn't go to end and absolute wrecks footer position

    On my website I have a right column that, if someone is logged in, shows their recent posts. However, the auto setting doesn't go to the end of page, which is what I would like, and if I set it to absolute then the footer with the 'clear:both' property makes it hover just after the right column...
  12. as4s1n

    Ajax (MySQL) return value to form text area

    Can you post your code? Maybe a typo? @Descalzo: BTW, the way I learned it was request.onreadystatechange = function() { if (request.readyState == 4) { if (request.status == 200) { Is the "if(request.status==200)" unnecessary?
  13. as4s1n

    500 internal server error - showing up randomly

    Occassionally, when I load up my website and click on any link, it will send me to a page that looks like this: (Attach 1) I was wondering if this was my fault or if not, to bring this to the attention of the admins in case it is an easy fix. Also I get an occassional 503 'Service...
  14. as4s1n

    CSS Trouble...

    I don't think so. It may just be easier that way. If you want to do it with images, a thread opened up a while ago Custom fonts in Internet Explorer. Check it out and hope that answers the question.
  15. as4s1n

    CSS Trouble...

    You could do a table layout but that is bad practice. It may be possible with a bunch of <div>s. As for your second question, are you asking which font face or how to get them all to look the same? If it's the latter: /* CSS page */ body { /* code above */ font-family...
  16. as4s1n

    CSS Trouble...

    What is it you do not understand?
  17. as4s1n

    Internet Explorer Hacks

    I guess they think that, as a monopoly, they can do whatever they feel like.
  18. as4s1n

    Internet Explorer Hacks

    Sorry, Here. And that was a typo on my post, it is spelled correctly on my CSS page. Side note: It actually works on IE8 but not IE7. and considering a lot a people still have IE7 it is going to be a problem Edit1: I found out what was wrong and fixed it. I had an H2 tag and, apparently, IE...
  19. as4s1n

    Internet Explorer Hacks

    As everybody knows how horrible I.E. is at parsing websites, I have a problem. For some reason, when I load up my page in FF3/GC4.1.x.x.x the header near the top left of the page looks exactly how I want it to, with 5px of padding on each side giving a nice gap between each side. But, when I...
  20. as4s1n

    PHP task scheduling

    Oh, OK. BTW: Thanks for the tutorial.
Top