Jump to content

MrAdam

Members
  • Posts

    489
  • Joined

  • Last visited

Everything posted by MrAdam

  1. MrAdam

    Apache

    try looking on here..http://www.apache.org/mirrors/ - seems to give better info about the mirrorsi'm not sure about the difference between http and ftp mirrors, i assume it's speed, and if it is, i'd probably say FTP is faster.
  2. MrAdam

    Question

    you need something similar to: <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> ...placed within the head. Read the link Roondog posted to find out why, and what others you can use.
  3. MrAdam

    Website...

    Design looks good - simplistic; which i'm a fan of.Love the way the links (when hovered over) and "Pros" text varies color on each page - nice touch.I'd suggest perhaps a really nice, sharp, colourful photo for the frontpage or banner (across the top).Should look millions better when you have a really, smooth gallery up and lots more content.It's coded in Divs + CSS rather than tables, which is a plus - if you get it to validate, and make it known it's valid, in my opinion it will back up the "Pros" part of it's name (ie. Proffesionally made).good job !P.S. I'm assuming the forum's not been properly setup yet (only 4 forums) ... ------------@andersmoen- he has PHP enabled server because he's running the forum off it.- Adarm
  4. MrAdam

    Gallery picture

    It's simple to display 3 x 3 table:ie. <table> <tr> <td><img src="#" /></td> <td><img src="#" /></td> <td><img src="#" /></td> </tr> <tr> <td><img src="#" /></td> <td><img src="#" /></td> <td><img src="#" /></td> </tr> <tr> <td><img src="#" /></td> <td><img src="#" /></td> <td><img src="#" /></td> </tr></table> (As i'm sure you're aware)To output this with php you need to use a loop. create a variable to store the column number, and create an 'if' to check if it's last in row... eg: print '<table>';while ($rows = mysql_fetch_array($query)) { if (x == 1) { print '<tr>'; print '<td><img src="{$rows['url']}" /></td>'; x++; } elseif (x==2) { print '<td><img src="{$rows['url']}" /></td>'; x++; } elseif (x==3) { print '<td><img src="{$rows['url']}" /></td>'; print '</tr>'; x = 1; }}print '</table>'; .. Just an example, there's probably a number of ways of doing it.
  5. OT = ?Non-mercedes aren't available on the website yet - my boss is on holiday at the moment, sorting it out when he gets back.But, he does sell non-mercedes - a lot. So I would think he has a "1:24 scale Silver 1979 Porsche 924" - only i live in the UK and postage could be costly. (I don't know).I'll ask him in a day or two (when he gets back) and let ya know, unless you find one somewhere else.--------and yeah, pulpfiction, i was thinking the same thing ! :)Cheers!- Adarm
  6. Well, I changed the background-color to white and the borders stayed fixed, but, there's still the big block. So I think I'm going to have to revert back to tables - afterall I don't want a big white chunk there.- Thanks for the help guys !
  7. MrAdam

    Tables Heights

    I noticed once that in firefox, if you don't set the height like justsomeguy said, the content will extend out of the table, a sort of overlapping effect.
  8. okay done.http://www.minimerc.co.uk/new/shop.php?c=E...amp;m=W114-W115Strangely the border problem has gone, I'll add "background-colour:#FFFFFF;" later. But the big chunk is still there.
  9. Thanks ! ... I spent 30 minutes messing round and I managed to create this..http://www.minimerc.co.uk/new/test.html- works perfect there! but when I insert it into my other page, it all messes up..http://www.minimerc.co.uk/new/shop.php?c=E...amp;m=W114-W115At least in IE it does - i haven't viewed it in firefox yet because i'm using the family computer and it's not installed.For some reason when you scroll up and down, gaps are being made in the border? has anybody else come across something like this before? Plus there's a large gap on the first model?lol - you wouldn't get this with tables.Anyways; If anyone can help it would be much appreciated.- Thanks
  10. lol, yeah. I knew that already - it's just I'm, well, ###### at using divs + css. But i'll figure it out.Did you think the site looked okay (depsire it being a bit bare) ?-Thanks
  11. After posting the code it's added dozens of "<BR>" tags which make it look difficult to read. And really the problem is so small, I wouldn't bother with an alternate version.But thanks for the help.
  12. Hi guys!I'm working on a project for a family friend to create him a website for his part-time model company.This is the first, ever, website I've made using DIVS + CSS for layout. I have a problem now (only in IE) with the shop page. If you look at the top few models, they are slightly different aligned to the rest below. They are all printed out using PHP so I don't understand why it does it?By the way, the results ARE tables, but I was trying to get the same look with a DIV but I just couldn't get it to work.Here's the page: http://www.minimerc.co.uk/new/shop.php?c=E...amp;m=W114-W115Template for each model: <table class="model_wrap"><BR> <tr><BR> <td class="model_img"><BR> <a href="java script:pop_img('image.php?url=images/catalog/E-Class/W114-W115/F80.JPG');"><img src="<A href="http://www.minimerc.co.uk/images/catalog/E-Class/W114-W115/F80_thumb.JPG">http://www.minimerc.co.uk/images/catalog/E-Class/W114-W115/F80_thumb.JPG</A>" class="thumb" alt="Click to enlarge" /></a><BR> </td><BR> <td class="model_info"><BR> <strong>200</strong><BR> <BR> <strong>Scale:</strong> 1:43<BR> <strong>Colour:</strong> GREEN/WHITE<BR> <BR> <strong>Price:</strong> £22.50<BR> </td><BR> </tr><BR> <tr><BR> <td class="model_opt" colspan="2"><BR> <a href="shop.php?c=E-Class&m=W114-W115&id=F80">More Information</a><BR> </td><BR> </tr><BR></table> And the matching CSS: table.model_wrap<BR>{<BR> margin: 0px auto;<BR> width: 537px;<BR> border: 1px solid #DCDCDC;<BR>}</P> <P>td.model_img<BR>{<BR> width: 40%;<BR>}</P> <P>td.model_info<BR>{<BR> width: 60%;<BR>}</P> <P>td.model_opt<BR>{<BR> width: 100%;<BR> padding: 3px 5px;<BR> text-align: right;<BR> background-color: #EAEAEA;<BR>} Can anybody see why it's happening?-------------Also, I would just like to ask what people think of the layout? I know it lacks the creative edge, but I'm not too amazing at design.Thanks, Adam.
  13. owwwwww yessssssss !worked with "ini_set('url_rewriter.tags', '');"!http://validator.w3.org/check?uri=http%3A%...26m%3DW114-W115passes now ! :)Thankyou very, very much !x
  14. still not working .. first lines of my script for shop.php: <?phpini_set("session.use_cookies", 1);ini_set("session.use_only_cookies", 1);ini_set("session.use_trans_sid", 1); session_start(); here's the errors it's giving me:http://validator.w3.org/check?uri=http%3A%...26m%3DW114-W115
  15. nar - thanks for the help - but it's the way the server is setup, occasionally it seems to pop the session into the link or form, where as on my server it never does. I've seen people using a function I can't remmeber the name of, to modify the confirguration in a particular script...
  16. i wasn't sure where to post this, as i wasn't sure how it would be fixed.I'm trying to get my webpage to validate as strict XHTML, there's 1 or 2 errors i know how to fix, but this one i'm not sure...basically, the server appears to be generating "PHPSESSID=blahblah" (sometimes) on links and forms. Of course this means it's using "&PHPSESSID=blahblah" which means it's not validating.http://www.minimerc.co.uk/new/shop.php?c=E...amp;m=W114-W115 (not much works yet so no point in trying to view other pages)How can I stop the server from doing this (i have .htaccess rights, but cannot change the server configuration directly)- Thanks!
  17. MrAdam

    Site preloader

    couldn't you use the "images[]" array ?
  18. ahh, thankyou so very much . works perfect now! I realise the mistake in the nav code now .. and .. i now know how to get round the main content part - thanks alot jesh! x
  19. nar.. thanks for help. to be quite truthful .. that's not my own work - i mean it is, i've modified it and stuff, read through it and tried to understand it best i can .. but i'm not fully understanding the code.. it's really just a learning exercise ..(the nav menu that is - rest is my own)- any other suggestions guys and girls?- Thanks !
  20. run into a problem whilst trying to create a website. It actually works in IE, but not FF ?? Here's the address http://www.minimerc.co.uk/new - does anybody know why there are the following problems:- the navigation menu is really messed up- the orange div at the bottom isn't next to the menu boxes (like in IE)??- Thanks
  21. I too am in the process of switching from tables and also currently trying to convert a site .. could i just ask, what actually is the alternative to valign="middle", would you have to use "padding", orrr?- Thanks (don't mean to hijack your post by the way)
  22. Do you have a link or some code for us to look at?
  23. thanks smiles, I found a new way of doing that was much better.
×
×
  • Create New...