Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Problem:Table after static div in relative container

1:54 pm on Feb 7, 2014 (gmt 0)

Hello people,

I ve recently came across a problem :

inside a relative container is a static div followed by a table(containing other static divs). And I cant get the first static div(from a table) to border exactly after the static div that is first in the relative container. I need to have it possitioned without white space between them. Can anyone help me ? :/


body {
background-color: #ffffff;

#cont {
position: relative;
left: 0%;
width: 100%;
z-index: 1;
top: 130px;
min-height: 100%;
table {
border: none;
margin: 0;

[i57.tinypic.com ]

[edited by: JohnVi at 2:58 pm (utc) on Feb 7, 2014]

1:58 pm on Feb 7, 2014 (gmt 0)

Your CSS is incorrect


margin: 0;
padding: 0;
2:08 pm on Feb 7, 2014 (gmt 0)

I did. No change..I would also like to add that the divs inside table are positioned exactly as I wanted them. But the relation between first non-table div and 1st table div is one big unknown to me it seems.
2:38 pm on Feb 7, 2014 (gmt 0)

Can you post your html? The link to the jpg in your post gives a 404.

Featured Threads

Hot Threads This Week

Hot Threads This Month