Page 1 of 1

Center Issue

Posted: Mon Jul 24, 2006 1:44 am
by calufa
Hello, well i am new in this forum, and i am new in this php coding stuff and i want to ask you guys something.

I was doing this i tried to make a image as a background that can cover all the screen and put a message box in the middle with some text, and when people scale their screen that the object that is in the center do that too.

I was doing my website and i want to make it something like this: http://www.azcarivolante.com/gds

Also i will like to put a menu a small one like 500px in the down part, can that be possible?

Thanks in Advanced :D

Posted: Mon Jul 24, 2006 3:23 am
by onion2k
Moved to Client Side.

Posted: Mon Jul 24, 2006 4:23 am
by ok
you need flash to what you want... with HTML it's a big headache!!!

start in http://www.adobe.com/products/flash/flashpro/, there is a "training center"...

Good luck,
ok

Posted: Mon Jul 24, 2006 4:47 am
by MarK (CZ)
If you don't mind using table layout, you could use something like this:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head>
  <title>test</title>
  <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
  <style type='text/css'>
   html, body {width: 100%; height: 100%; margin: 0px;}
   table#troot  {width: 100%; height: 100%;}
   table#troot td {text-align: center; vertical-align: center;}
  </style>
 </head>
 <body>
  <table id='troot'><tr><td>
   Welcome
  </td></tr></table>
 </body>
</html>