Jump to content

roondog

Members
  • Posts

    212
  • Joined

  • Last visited

Everything posted by roondog

  1. roondog

    Html exam!

    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. Cheers for the advice, i'm working on a revision with a friend who works in it recruitment. They said exactly the same.
  3. 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
  4. Its still as its always been.
  5. I may have misunderstood but can't you use inline style.<table style="display:none" border="0" cellpadding="0" cellspacing="0" width="100%" height="108">
  6. I'm using phpmyadmin for mysql and want to set a timestamp to british summer time does anyone know how to do this?
  7. I had the same thoughts. I went through the basics and learnt them but couldn't anything to show me some practical appliactions which is the way I like to learn. The only thing I have done with javascript is this. I am very sure I have not even scratched the surface with javascript.
  8. If your not going to put anything in the left and right surely you just need one centered div.
  9. roondog

    Centering the whole page

    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.
  10. 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.
  11. Ben have a look at www.gumtree.com there are lots of ads on there for small website companies and they seem to offer between £100 - £200 for sites. So I think you did ok for the cctv company but that lecturer did alright out of you.
  12. 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.
  13. 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.
  14. 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?
  15. 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.
  16. 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.
  17. I'll have a look into it see what I can muster unless of course someone else would like to.
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. roondog

    Centering the whole page

    i find this works best for centering pages.body{text-align:center;}#container{width: ??px;margin 0 auto;}replace ?? with a number and bob's your uncle.
  23. I found it easier to install a package that had php apache and mysql together. theres loads to choose from on php.net.
  24. You will need to use some image editing software like photoshop to get rid of the white bits and save it as a gif with transparency.
  25. yes its as simple as that. any page that links to your stylesheet will have a black background and red text unless you give elements any other style.
×
×
  • Create New...