Jump to content

Recommended Posts

okay my site has a very simple design: http://pxcore.com/register.php

 

but the div#holder & the div#header get a white space when, you get a returned error on the page, say like after I post a invalid e-mail, the page will display with an error box and theres this 2px whitespace in between the div#header & the div#holder

div#header {
height: 30px;
margin: 0;
padding-left: 4px;
background: #1685B1;
color: #FFFFFF;
font-size: 25px;
font-family: "Lucida Grande", Tahoma, Helvetica, sans-serif;
}
/* HOLDER */
div#holder {
font-family: "Lucida Grande", Tahoma, Helvetica, sans-serif;
background: #FAFAFA;
border-bottom: solid 1px #C3CAD2;
border-left: solid 1px #DAE1E8;
border-right: solid 1px #DAE1E8;
display: inline-block;
margin-bottom: 10px;
}
div#holder:after {
clear: both;
visibility: hidden;
display: block;
content: "ILL";
}
/* ERROR LIST */
div#RE {
background: #FFFBCF;
border: 1px solid #FFED27;
padding: 6px;
text-align: left;
color: #000000;
margin: 2px;
}
div#RE li {
list-style: none;
}
div#RE ul {
margin: 0;
padding: 0;
}
/* REGISTER */
div#holder span.RR, div#holder span.RB {
display: block;
}
div#holder h3.RH {
margin: 0;
margin-bottom: 3px;
color: #FF8000;
border-bottom: 1px solid #000000;
float: left;
width: 100%;
}
div#holder div.RT {
font-weight: bold;
float: left;
width: 75px;
margin-top: 4px;
margin-left: 4px;
}
div#holder div.RI {
float: left;
width: 450px;
margin-top: 4px;
margin-left: 4px;
}

thats basically all the CSS I use for that page

Link to comment
https://forums.phpfreaks.com/topic/61440-white-space-being-shown-bah/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.