Jump to content

roondog

Members
  • Posts

    212
  • Joined

  • Last visited

Posts posted by roondog

  1. I've just paid for the exam. Has anyone taken it/ used it for jobs etc. Also does anyone know how long it takes for the information to come through?

  2. I'm not sure if this is ok to be posted here, if its not then please take it away mods.I am about to apply for my first Web design job and i'm writing up my covering letter that basically sells me to the company. could some kind soul have a look and see if i am heading in the right direction and maybe add some suggestions.the job add is herehere is the letter sell.doc

  3. If the code s@m and I have put in earlier is not working theres is probably something else in your css affecting it. I would follow S@m's suggestion of starting a fresh starting wiht centering the page then put everything else in.

  4. There must be something pushing the table down. I would suggest putting the php include after the body take then, while designing, give the table a border just so you can see whats going on. You can always take the border out when you are finished.I would also suggest you have a look into tabless layouts, this should come quite easily to you if you are already using css.

  5. right i've got another question now. Every story has a number how do i get it to show just a certain amount of stories. Bearing in mind the top number is going to change so i cant just say between this number and this number.

  6. i should have explained the div thing a bit more clearly.I have this code.

    while($row = mysql_fetch_array($result))  {  echo "#".$row['storynum'] . "<br /> " . $row['headline']."<br />".$row['published']."<br />".$row['story'];  echo "<br />";  }

    i tried to do something like this

    while($row = mysql_fetch_array($result))  {  echo <div id="news">"#".$row['storynum'] . "<br /> " . $row['headline']."<br />".$row['published']."<br />".$row['story']</div>;  echo "<br />";  }

    but it wouldn't work. what should i do instead.I've solved this part now looked back over the tutorial and used the table example.

  7. I'm working through the php tutorials and am making a news script. In my table I have the articles numbered they also have a headline a timestamp and the story. What I want to do is only select stories from a certain month and then put them in order starting with the latest. I know i can use ORDER BY but how would only select those from a certain month.Another question, if i want each story in a new <div> so I can style them how to i do that? Do have to do a query for each story?

  8. Thanks for that. I think I'll keep reading through the tutorials and i'm sure all will become clear. A fixture is a date in a sporting calendar e.g a game of football. So the fixtures for a team would be a list of all their games.

  9. Just looking through the xml tutorials and i'm thinking of doing a sporting fixtures page using xml. so I was thinking i use an xml file to save all the data for the fixtures something like:

    <fixture><date>15/04/07</date><opponent>team A</opponent><venue>Sports ground</venue></fixture>

    i could then style it with css or xsl but how would i do the rest of the page can you use xml files as php includes or is this the wrong way to be using xml.

  10. Its very easy to replace the header. In the css file find div#header and then replace the background properties for your new one.The corners is a bit trickier. As the height of the page stretches with more content you can't just use one image for the background. There are many ways to do this so a google search may be the best bet. if you don't intend the page to get any taller then make a white rounded rectangle in photoshop the size of the page and save it as a gif with transparency. then put that as the background of the div#container in the css.

  11. Please post here any useful bits of CSS to help others over come those common problems. Please don't clutter this up criticising people's code as it will be harder for others to find the help they need. If you have problems with a piece of code start a new topic asking for help with it.I'll start with my solution to what seems to be the most common at the moment, centering a page.

    body {text-align: center; /* for aligning in IE less than or equal to 6 */}#divname {text-align: left; /* so the div won't inherit the text-alignment from the parent element */width: [color="red"]??[/color]px;margin: 0 auto; /* for the standards compliant browsers, such as Firefox, Opera, Safari, etc. */}

    You need to put all the content in to the div called 'divname' (most people call it container or wrapper) and use a valid doctype. The div must also have a width, replacing the '??' for this to work. This works for me in IE6, IE7, FF2 and Opera.

  12. Thats a very good point. There is a pinned topic on "CSS Hacks" and browser support already it just seems that this is quite a common problem and obviously people aren't using it because its just links and of course that requires more effort. I'll start a new one where people can post bits of code to help others out.

  13. Hmm something went wrong with this. OK the suggestion was as so many people ask about centering a page maybe there should be a tutorial in the css section or a sticky where people can post there suggestions for the best method so we can reduce the number of 'I can't center my page' posts.

×
×
  • Create New...