Jump to content

croatiankid

Members
  • Posts

    332
  • Joined

  • Last visited

Posts posted by croatiankid

  1. css isn't hard to learn at all mostly because it's pretty self-explanatory, just like html is (and now that i think of it all programming languages use english-like terms to associate with something). to actually incorporate it into a n existing html document, pretty simple: strip all the display things out of the html, switch to divs if it's appropriate, and then you just have to add id="something" or class="something" to elements whose display you want to alter.

  2. look at the big picture, and how your code for one part of a document will fit in with the whole. this might help you avoid doing something extremley complicated that can be done simple

  3. don't forget to use

    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>

    , which will probably break in IE! otherwise, with

    content="text/html;

    web browsers treat you page as html, not xhtml. And not only dose it treat it as html but as tag soup (html 3.2 or random html junk) because you have an invalid html doc type. This can have unpredictable results in how the page is displayed.
  4. hi i have a contact form and a proccessing script, which is

    <?PHPif (!($email) && !($name) && !($lastName) && ! ($des) && ! ($dev) && ! ($seo) && ! ($graph) && ! ($logo) && ! ($banner) && ! ($write) && ! ($maint))	{     require("form1.php");  break;	}	if (!($email) && !($name) && !($lastName))	{  require("form2.php");	}?>

    everything from des to maint are checkboxes. form1.php shows "please input email address", "choose checkbox", lastname, firstname etc. form2.php is the same as form1.php except it doesn't say "please pick a checkbox". firstly: is there an easier way to do this?secondly, but mainly (lol):i put a break here so that after i click submit (with nothing selected/typed in) tha it doesn't create 2 forms. however, instead of creating a second form, it says:Fatal error: Cannot break/continue 1 level in /home/www/ec-labs.awardspace.com/action.php on line 5, which i obviouisly don't want showing lol.so can anyone tell me why it shows up, how to make it not show up, or eventually guide me to a simpler way of proccessing the form and creating the error forms (preferably through php, so that i don't have to "require" a document that is physically on the server)

  5. please look at http://ec-labs.awardspace.com. The thing in question is the paragraph (In today's...).the code i'm using is

    {	width:550px;	color:#666666;	position:relative; left:15px;	text-indent: 25px;}

    .now, although the first line of the paragraph IS indented (25px), and i want it to be, i do NOT want it to go that much farther to the left than the other lines, i.e. i want all the lines to end at the same point. please tell me what i should use to achieve this.some explanations:width is for width of the paragraph,position is for offset from the left side (a div),text-indent is for the first line.Thanks :)

  6. hey thanks for the really fast response (3 minutes!).if i get, for example, 85% on the test, and get the certificate. can i retake the test for a chance to get the excellency notation? and is there a limit to how many times the test can be taken?

  7. a few questions:1) does the html certificate mean that you know css, html, AND xhtml?2) does the html certification test include questions about html, css, and xhtml?3) can you take/are there seperate tests for css, html, and xhtml?thx for answers

×
×
  • Create New...