Jump to content

brown2005

Members
  • Posts

    942
  • Joined

  • Last visited

Everything posted by brown2005

  1. brown2005

    css clear

    html, div, p, table, form, li, ul, img { margin: 0px; padding: 0px; } ive been told to use this as my first bit of css code. is this correct?
  2. hi if i have a <div> that is 500 pixels wide and 500 pixels high, can i center say a word in the center horizontally and vertically. thanks
  3. Hi, I want to create a box say, 250 pixels wide and 500 pixels height, and I want say a list of things on it. say a b c d e f g h i j k l m n etc but i want a scroller in the box so if there is more items than the height, u can scroll down the list.. thanks
  4. brown2005

    Collation

    my collation in tables is setting too 'latin1_swedish_ci' what should this be?
  5. i have a function, but what I want to know is when should i use return? and when should i use echo? thanks in advance
  6. Hi I have a div say <div id='here'> <img> <img> <img> <img> <img> <img> <img> <img> <img> <img> </div> which i want permanetely on the right hand 150px, how can i do this please?
  7. not on mine.. what code u got around the <a>
  8. Hi, I have this working but now when I implement it into my current file, on firefox it takes away the bottom padding... http://www.fantasy-comps.com/index/index.php?page=fans is where it is happening
  9. yes yes yes... thank you very much....
  10. how do i get these side by side please <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title></title> <style> * { padding: 0; margin: 0; } #wrapper { margin: 0; width: 800px; } #left { color: #333; border: 1px solid #ccc; background: #E7DBD5; margin: 0px; padding: 10px; height: 350px; width: 650px; float: left; } #right { float: right; color: #333; border: 1px solid #ccc; background: #F2F2E6; margin: 0px; padding: 10px; height: 350px; width: 150px; display: inline; } </style> </head> <body> <div id="wrapper"> <div id="left"> left coloumn </div> <div id="right"> Right Column </div> </div> </body> </html>
  11. echo"<div id='mytable'> <table> <tr> <th>1</th> <th>2</th> </tr> <tr> <td> </td> <td> </td> </tr> </table> </div>"; if i have the above how would i make 1 = 100px 2 = 500px in css
  12. I know you can have <table border='1'> </table> but what if i want to do the borders in css? so <table> </table> but still with borders...
  13. nope that puts it to the bottom of the whole page
  14. #area { width: 250px; height: 300px; border: 2px solid #627c10; padding: 10px; } i have the above which creates a box, now wat i want to do is place an image in the bottom 50px of the div for the above, how can i do this please?
  15. hi, i want to take an email [email protected] and everything after the @ sign i want to turn into *, any help please?
  16. Hi, does any one know of some good information I can read regarding setting up a webcast?
  17. echo"<form method='post' action=''>"; echo"<input type='text' name='CubicFeet'>"; echo"<br><br>"; echo"<input type='text' name='CubicMeters'>"; echo"</form>"; that is my form, now when i enter a value in the input CubicFeet i want to do CubicFeet x 0.0283168466 and then put the value in CubicMeters. any ideas please?
  18. I am looking for some recording equipment and some programs for a new project I have and was wondering if anybody new of any good ones?
  19. I am looking at buying a dedicated server for my company and I was wondering which one would be better: Windows 2003 server or Linux server? Sorry if this is in the wrong place, but I couldn't find it? forgot to ask why they are better as well? thanks
  20. what u mean by refresh the database?
  21. problem 1 where the welcome box is there is a gap at the bottom in internet explorer but not in firefox problem 2 the top bar and under logo, the text starts futher in the bar then in internet explorer problem 3 the background image has not repeated on firefox thanks
  22. can ne1 help please, take a look at www.fantasy-comps.com and tell me how i can fix it in firefox, all help will be gratefully received
  23. if i use <li> <lil> it makes a list downwards, is there a way to make it go right instead, please?
  24. i was wondering if the below was the best way of using css as i usually do my layouts with tables, so im just learning how to layout with css <style> body { margin: 0px; } #header { font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #627c10; text-decoration: none; margin-top: 10px; margin-bottom: 10px; } #image { margin-bottom: 5px; } #container { width: 100%; margin: 0px; background-color: #fff; color: #333; } #content { float: left; width: 850px; } #sponsors { width: 150px; text-align: center; border-left: 1px solid #999999; line-height: 100%; } #sponsors h5 { color: #FF0000; } #sponsors image { height: 45px; width: 100px; border: 0px; } </style> <body id="container"> <div id="content"> left </div> <div id="sponsors"> <div id="header">Random Images</div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> <div id="image"><img src='1.JPG'></div> </div> </body>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.