Reply to padding problem on my site

Your name:

Reply:


Posted by Roman Ziak on 07/20/06 01:34

Hello everybody,

I have a problem with integrating MyBB and CubeCart. I made my templates
for both applications but cannot get them to the same position.

I want "container" element be 8px from the body element (top), but in
MyBB it puts it at 24px (from Firebug layout inspector). This is even
further in IE.

CubeCart stylesheet:

body
{
margin: 8px;
background: #aaa;
}

#pageSurround
{
width: 748px;
margin: 0px auto;
padding: 0;
border: 1px solid #444;
background: #eef;
}

CubeCart body:


<table cellpadding=0 cellspacing=8 id="pageSurround">
<tr>

MyBB stylesheet:

body {
margin: 8px;
padding: 0;
background-color: #aaa;
color: #000;
font-family: Verdana, Arial, Helvetica;
font-size: small;
}

#container {
width: 748px;
margin: 0px auto;
padding: 0;
border: 1px solid #444;
background: #eef;
offsetTop: 8px;
}

MyBB body starts:

<table id="container" cellpadding=0 cellspacing=8>
<tr>



The site is www.dipmicro.com

Thanks for all opinions:

Thanks.
Roman

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация