Jump to content

awaddington

Members
  • Posts

    10
  • Joined

  • Last visited

awaddington's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. PHP is a server side scripting language.This means that it performs functions and generates content on your server before the page is sent to/viewed by the user.This means, among other things, that you can generate your page content dynamically.Lets say you have a list of 12 employees. For each employee you have a picture, a name, a position, and a phone number.Without server side scripting you would need 12 pages: one for each employee. and when you wanted to change how those pages looked or functioned you would have to change 12 pages.With PHP (or other server side scripts) you can have 1 page (employees.php) and you can pass a variable representing the employee you wish to see (employees.php?emp=1)PHP can generate that page and insert the information for employee 1 (or 2 or 3...etc.)Server side scripting also removes issues of user compatibility. Where a client side script (such as javascript) requires that the user's browser be able to perform the functions, server side scripts are run on your server were you have control over what can or cannot be performed.Sorry if this is nothing but long winded. Hope it helps you.
  2. awaddington

    dreamweaver

    Without a doubt...it is better to write the code on your own. It is the only way to really understand how the codes work, does not require any programs to purchase (can be done with a simple text editor like note pad).Programs like FrontPage and Dreamweaver have other features that can be useful in the organization of files etc. but the best way to LEARN the code is to WRITE the code.Hope this helpsCheers,Andrew
  3. I've spent that last little while trying to remove as many tables as possible from my code, but if you include your title and your image in the same table then your problem should be eliminated. <table style="width:100%"> <tr> <td class="artheader">Image Title</td> </tr> <tr> <td><img class="showcase"...></td> </tr></table>[code]The column will only shrink to the width of the image and the image title will remain centered in the cell.Hope this helps.Andrew
  4. This might help you.Not sure though.http://www.ozzu.com/ftopic24024.html
  5. awaddington

    Form

    Well lets hope you are right ... for poor ol' Aunt petunias sake. lolPlease, post your solution here if you find it. Sounds interesting. (still certain it isn't CSS though - hope that helps narrow your search)
  6. Hi Brian,I haven't spent much time looking at this to be honest, but if I remember correctly, IE builds the border outside of the dimensions and Firefox, opera, etc. is the opposite.That means that a 100px X 100px DIV with a 2 px border is actually 104px x 104px with the border for one while the other remains 100 x 100 and the border is included in that dimesion.I might have that backwards, but you have the idea. I've faced and solved this problem before (can't seem to remember how though at the moment) . I'll post something if it comes to me.Something that might help would be to declare the style type for the page if you need to use the "style" attribute instead of all classes.<meta http-equiv="Content-Style-Type" content="text/css">You've already declared the styles with in your <style> tag as "text/css" but not the styles in your <div>'s.A lot of cross compatibility issues I've facesed with CSS are cleared up by declaring the style type.Hope this helps (sorry if i rambled)CheersAndrew
  7. awaddington

    Form

    Hi Services,I doubt that it would be CSS as they only coontrol how elements of a page are formatted/displayed.If you are talking about something like an email form then this is usually handled with server side scripting (php, asp, etc.) and would use the server's (your) email program.In PHP for example you would submit the information from your form<form action="your_php_page_with_mail_function.php" method="post">...[your fields (lets say "subject" "address" and "content") and submit button]...</form> to a mail handling script page containing the mail() function ...mail($address, $subject, $content)... This will send an email to $address with the subject line $subject, and content as $content. (Where $ denotes a variable)Obviously you need to have a server with PHP installed as well as a mail program such as Sendmail.I hope this helps.
  8. awaddington

    Picture Link

    Hi BigToysr4us,If I understand what you are asking, you want you image to link to an anchor on the same page that is named "description".Try adding a pound sign (#) before the word "description" in your href attribute.<a href="#description"><img...></a>...<a id="description"></a> Hope this helps.
  9. Hi folks,This is pretty cool. I'm glad there is finally a forum for this site!I am currently working on a personal project using xhtml. What i would like to do is provide an xml feed (verbage?) for other websites providing information from my website (say...a joke of the day for instance).What i need to understand is how to access that information from an xhtml or html page while still following standards.For example, lets say I have the xml content stored at http://mysite.com/xmlfile.xml <joke> <title>Joke of the Day from MySite.com</title> <link>http://mysite.com</link> <question>Q: What do you get when you goose a ghost></question> <answer>A: A hand full of sheet</answer> <date>2005-10-20</date></joke> I thought that using a data island, i could access the xml file using src and datafld, etc. but the <xml> tag doesn't conform to strict xhtml.Ideally what I want is to be able to give the author a string that automatically reads/displays my xml content with their styling (I think that is the point of xml).Any thoughts are welcome. Thank you in advance.CheersAndrew
×
×
  • Create New...