You are invited to Log in or Register a free Frihost Account!

Padding or margin problem

On my site i have some problem with i believe a padding / margin problem. The point is i have no idear what the problem could be and i have tried a lot.

Please help me Very Happy
If u want to help me give a answer or pm me so i can give you the 2 pages (html + css) with causes the problem.

Thanks Wink

Allright because i havent received an answer from some1 who said 'i will help' is here the message i send to him:
Tanks you want to help me
i really dont know what the problem is and as i said i have also tried all things i could think of

well the site who has the problem is this
example: look at the padding from the left on the startpage
click now on the button below the the first 1 and u will see that the padding has changed.
On the startpage are more tables (blog text text text /blog)

The codes are this:


<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<?php $iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/familie_de_vroom/css/template_css.css" rel="stylesheet" type="text/css"/>
<META name="revisit-after" content="10 days">
<?php mosShowHead(); ?>

<table class="alles" cellspacing="0" cellpadding="0">
      <td colspan="5" class="logo"><?php echo mosCurrentDate(); ?></td>
   <td class="bar" colspan="5"></td>
      <td class="kant" id="top">
      <div id="menu"><?php mosLoadModules('left'); ?></div>
      <?php mosLoadModules('user1'); ?></td>
      <td><img scr="/images/spacer.gif" width="5px"></td>
      <td id="top">
      <table id="tekst" class="pad"><tr><td><?php mosPathWay(); ?></td></tr></table>
      <table id="tekst"><tr><td>
      <?php mosMainBody(); ?>
      <?php if (mosCountModules( "user2" )) { ?>
      <table id="tekst" class="user2"><tr><td><?php mosLoadModules('user2'); ?></td></tr></table>
      <?php } ?>
      <td class="onder" colspan="5">
      <b>Familie de Vroom <?php echo date(Y);?></b><br><a href="">Sommige rechten voorbehouden</a>

And the css file can be found at

I hope u are familiar with joomla/mambo because i use joomla

Hope i did give enough information for you to find to bug.
If not just pm!

Tanks and much Grtz
I could help you on this, but I need to know more about what the problem is. there are lots of things that padding/margins can messup.
I had a lot of trouble with this when I started too. 1 problem is that not all browsers use the same defaults for margins/padding. I use CSS now & as a matter of course I start by setting all margins/paddings to zero. For instance, if I want to include an image, I create a class with margin: 0; and padding: 0;

If I want to add a margin to, say, the right & bottom, I then set them explicitly, e.g. margin-bottom: 1em;

Try that 1st & if you still have trouble, get back to us with a bit more detail.
Maybe it'd help if you could give us the link to your site, and describe the problem a little more.
Related topics
CSS absolute+margin problem
CSS div issue
px to em relation
CSS Problem @ WallBase
Firefox vs IE
extra line from css in drop down menu
Discussion for CSS problem
Am I doubling up On my CSS code
Css problem
Double margin bug. display: inline; doesn't work
CSS a:hover and tables problem. Help really needed?
problem with <ul> navigation
div positioning problem
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

© 2005-2011 Frihost, forums powered by phpBB.