# Entrance page

**URL:** <https://forum.kirupa.com/t/entrance-page/25251>\
**Category:** Uncategorized\
**Created:** [July 10, 2003, 9:51pm UTC](https://forum.kirupa.com/t/entrance-page/25251 "2003-07-10T21:51:07Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 10:54pm UTC](https://forum.kirupa.com/t/entrance-page/25251/21 "2003-07-10T22:54:52Z")

</div>

ok, i’ll follow 3d-iva’s instructions, if i have any doubt, i’ll post it here 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:03pm UTC](https://forum.kirupa.com/t/entrance-page/25251/22 "2003-07-10T23:03:40Z")

</div>

how can i set the margins to 0px?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:07pm UTC](https://forum.kirupa.com/t/entrance-page/25251/23 "2003-07-10T23:07:25Z")

</div>

keep in mind if you want it centered vertically also…make the table 3 cols by 3 rows (100% wide 100% height). follow the same instructions but setting the height of the scaling td’s to 50%.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:09pm UTC](https://forum.kirupa.com/t/entrance-page/25251/24 "2003-07-10T23:09:21Z")

</div>

for 0px margins:

```php
<BODY BGCOLOR="#FFFFFF" topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:16pm UTC](https://forum.kirupa.com/t/entrance-page/25251/25 "2003-07-10T23:16:43Z")

</div>

i cant get it … ☹  
i’m using dreamweaver, but i dont get it

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:19pm UTC](https://forum.kirupa.com/t/entrance-page/25251/26 "2003-07-10T23:19:31Z")

</div>

i have this

```php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<BODY BGCOLOR="#FFFFFF" topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>
<table width="100%" border="0" cellpadding="0100">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:36pm UTC](https://forum.kirupa.com/t/entrance-page/25251/27 "2003-07-10T23:36:54Z")

</div>

wait… i think i’m getting it…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:42pm UTC](https://forum.kirupa.com/t/entrance-page/25251/28 "2003-07-10T23:42:24Z")

</div>

ok, it’s done :D, but now, how do i center it vertically?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:42pm UTC](https://forum.kirupa.com/t/entrance-page/25251/29 "2003-07-10T23:42:36Z")

</div>

> marginheight=0 marginwidth=0

This will cause problems in NS and Opera… use right-margin and bottom-margin. Also for compatibility it is better if you declare it in css. but for testing how you have it is fine.

But yes that table looks fine. Keep in mind that will only center horizontally

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:43pm UTC](https://forum.kirupa.com/t/entrance-page/25251/30 "2003-07-10T23:43:19Z")

</div>

actually it is margin-right and margin-bottom

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:46pm UTC](https://forum.kirupa.com/t/entrance-page/25251/31 "2003-07-10T23:46:28Z")

</div>

[http://www.eberthdesigns.com/fakeindex.htm](http://www.eberthdesigns.com/fakeindex.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:47pm UTC](https://forum.kirupa.com/t/entrance-page/25251/32 "2003-07-10T23:47:01Z")

</div>

…but i still see a small space in the right border

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:48pm UTC](https://forum.kirupa.com/t/entrance-page/25251/33 "2003-07-10T23:48:12Z")

</div>

```php
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="50%" height="50%">&nbsp;</td>
    <td height="50%">&nbsp;</td>
    <td width="50%" height="50%">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><img src="transparent.gif" width="300" height="300"><br>your content here</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="50%">&nbsp;</td>
    <td height="50%">&nbsp;</td>
    <td height="50%">&nbsp;</td>
  </tr>
</table>

```

I knew you were going to ask that

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:50pm UTC](https://forum.kirupa.com/t/entrance-page/25251/34 "2003-07-10T23:50:17Z")

</div>

> \*Originally posted by Eberth \*  
> \*\*…but i still see a small space in the right border \*\*

ohh, now it dissapeared…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 11:52pm UTC](https://forum.kirupa.com/t/entrance-page/25251/35 "2003-07-10T23:52:38Z")

</div>

now… how do i center it vertically???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 11, 2003, 12:06am UTC](https://forum.kirupa.com/t/entrance-page/25251/36 "2003-07-11T00:06:55Z")

</div>

if you use my tables it should now be centered vertically

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 11, 2003, 12:08am UTC](https://forum.kirupa.com/t/entrance-page/25251/37 "2003-07-11T00:08:35Z")

</div>

i have to change everything again?  
or what do i have to modify in my code?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 11, 2003, 12:09am UTC](https://forum.kirupa.com/t/entrance-page/25251/38 "2003-07-11T00:09:29Z")

</div>

```php

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a*)&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a*.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a*;}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms*[n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers*.document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a*))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<BODY BGCOLOR="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad="MM_preloadImages('fondoeberthover.jpg')">
<table width="100%" height="250" border="0" cellpadding="0" cellspacing="0">
  
  <tr> 
    <td width="50%" height="200" background="fondoeberth.jpg">&nbsp;</td>
    <td width="275px" background="fondoeberth.jpg"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('boton','','fondoeberthover.jpg',1)"><img src="fondo2.jpg" name="boton" width="455" height="250" border="0"></a></td>
    <td width="69%" background="fondoeberth.jpg">&nbsp;</td>
  </tr>

</table>
</body>
</html>

```

this is my code…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 11, 2003, 12:12am UTC](https://forum.kirupa.com/t/entrance-page/25251/39 "2003-07-11T00:12:32Z")

</div>

just put your line

```php
<td width="275px" background="fondoeberth.jpg"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('boton','','fondoeberthover.jpg',1)"><img src="fondo2.jpg" name="boton" width="455" height="250" border="0"></a></td>

```

In where mine says

```php
<td><img src="transparent.gif" width="300" height="300">your content here</td>

```

That should work…now I wish some one would look at my post and give me some opinions:scream:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 11, 2003, 12:24am UTC](https://forum.kirupa.com/t/entrance-page/25251/40 "2003-07-11T00:24:29Z")

</div>

actually add the first

```php
<tr>

```

and the third

```php
<tr>

```

…in that order you took them from my code.

Or you can just add your

```php
<td width="275px" background="fondoeberth.jpg"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('boton','','fondoeberthover.jpg',1)"><img src="fondo2.jpg" name="boton" width="455" height="250" border="0"></a></td>

```

to my code…then paste all the MM header stuff to mine

[Previous page](https://forum.kirupa.com/t/entrance-page/25251.md?page=1)

[Next page](https://forum.kirupa.com/t/entrance-page/25251.md?page=3)
