How to get rid of extra space between 2 html tables? - html

I have 2 html tables, in source html file, there is only one line between them, but in browser there is a large space, I looked into the css, there is nothing about table there, how to get rid of the extra space ?
Here is the css file :
/*
* GENERICS
*/
body {
background-repeat:repeat-x;
padding:4px;
padding-top:0px;
margin:0px;
}
/*
* TOP LEVEL
*/
.pageTitle {
color:#000000;
font-family:century gothic;
font-size:22px;
font-weight:bold;
line-height:22px;
vertical-align:bottom;
border-bottom:solid;
border-bottom-width:3px;
border-bottom-color:#0099cc;
}
.topLevelTitleNoLine {
padding:0px;
vertical-align:bottom;
height:35px;
color:#000000;
font-family:century gothic;
font-size:18px;
font-weight:bold;
}
.topLevelTitle {
padding:0px;
vertical-align:bottom;
height:35px;
color:#000000;
font-family:century gothic;
font-size:18px;
font-weight:bold;
border-bottom:solid;
border-bottom-width:3px;
border-color:#0099cc;
}
.topLevelSubTitle {
padding:0px;
vertical-align:bottom;
color:#000000;
font-family:century gothic;
font-size:16px;
font-weight:bold;
border-bottom:solid;
border-bottom-width:3px;
border-color:#0099cc;
}
.topLevelSubTitleSmall {
padding:0px;
vertical-align:bottom;
color:#000000;
font-family:century gothic;
font-size:11px;
font-weight:bold;
border-bottom:solid;
border-bottom-width:3px;
border-color:#0099cc;
}
.topHeader {
background-color:#003366;
text-align:right;
vertical-align:bottom;
color:#ffffff;
}
.topStatus {
font-family:arial,helvetica,sans-serif;
font-weight:bold;
font-size:16px;
border-bottom: 3px solid #000000;
color:#00000;
padding:3px;
margin:0px;
}
.topnavItem {
font-family:arial,helvetica,sans-serif;
font-weight:bold;
font-size:10px;
border-bottom: 3px solid #000000;
color:#ffffff;
padding:3px;
text-align: right;
}
.headerCompanyL {
width:190px;
text-align:left;
background-color:#003366;
}
.headerCompanyR {
width:190px;
text-align:right;
background-color:#003366;
}
.headerclient {
font-family:arial,times,helvetica,sans-serif;
font-size:15px;
color:#FFFFFF;
text-align:left;
background-color:#003366;
padding-top:3px;
padding-bottom:3px;
}
td.footerMsg {
font-family:arial,helvetica,sans-serif;
font-size:10px;
text-align:center;
line-height:28px;
color:#999999;
border-top:solid;
border-width:1px;
border-color:#999999;
}
a.footerMsg {
color:#999999;
text-decoration:none;
}
a.footerMsg:hover {
color:#cc0000;
text-decoration:underline;
}
/*
* NAVIGATION
*/
a.screensNavItem:link {
font-size:12px;
text-decoration:none;
color:#003366;
}
a.screensNavItem:visited{
font-size:12px;
text-decoration:none;
color:#003366;
}
a.screensNavItem:hover{
font-size:12px;
text-decoration:none;
color:#003366;
}
.screensnavCurrent {
font-size:12px;
font-weight:bold;
text-decoration:none;
color:#003366;
background-color:#cccccc;
}
/*
* DISPLAY DATA
*/
.displayHeaderCell {
font-weight:bold;
font-family:arial,sans-serif;
font-size:11px;
}
.listTable {
font-family:arial,sans-serif;
font-size:11px;
color:#000000;
padding:3px;
}
.pageinfotitle {
font-weight:bold;
font-size: 11px;
color:#000000;
padding:3px;
background-image:url(background.nav.gif);
border:solid;
border-width:1px;
border-color:#999999;
border-bottom-color:#000000;
border-bottom-width:3px;
vertical-align:bottom;
}
.pageinfotitlered {
font-weight:bold;
font-size: 11px;
color:#FF0000;
padding:3px;
background-image:url(background.nav.gif);
border:solid;
border-width:1px;
border-color:#999999;
border-bottom-color:#000000;
border-bottom-width:3px;
vertical-align:bottom;
}
.pageinfotitleClear {
font-weight:bold;
font-size: 11px;
color:#000000;
padding:0px;
border:none;
border-width:0px;
background: transparent;
vertical-align:left;
text-align:right;
}
.pageinfo {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
}
.pageinfolink {
font-weight:bold;
font-size: 16px;
color:#000000;
padding:3px;
background-image:url(background.nav.gif);
border:solid;
border-width:1px;
border-color:#999999;
border-bottom-color:#000000;
border-bottom-width:3px;
vertical-align:bottom;
}
.displayCategory {
font-weight:bold;
color:#000000;
font-size:12px;
}
.displayCategorySmall {
font-weight:bold;
color:#000000;
font-size:10px;
}
.displayLargeFont {
font-weight:normal;
font-family:arial,sans-serif;
font-size:14px;
}
.displayRedHint {
font-family:arial,helvetica,sans-serif;
font-weight:bold;
font-size:12px;
color:#FF0000;
padding:3px;
margin:0px;
}
.displayEndDate {
background-color: transparent;
border-top: transparent;
border-right: transparent;
border-bottom: transparent;
border-left: transparent;
width: 60px;
height: 20px;
font-size:11px;
word-wrap: break-word;
padding-bottom: 60%;
}
.displayAmount {
background-color: transparent;
border-top: transparent;
border-right: transparent;
border-bottom: transparent;
border-left: transparent;
width: 60px;
height: 20px;
font-size:11px;
word-wrap: break-word;
padding-bottom: 60%;
padding-left: 50%;
}
.processTextDisplayLabel {
background-color: transparent;
border-top: transparent;
border-right: transparent;
border-bottom: transparent;
border-left: transparent;
font-size:14px;
word-wrap: break-word;
padding-bottom: 60%;
}
.formUWButtons {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#ffffff;
color:#000000;
width:70px;
}
.formAddButtons {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#cccccc;
color:#000000;
width:50px;
}
.processTextDisplayLabel {
background-color: transparent;
border-top: transparent;
border-right: transparent;
border-bottom: transparent;
border-left: transparent;
font-size:14px;
word-wrap: break-word;
padding-bottom: 60%;
}
.processTextSmallLabel {
background-color: transparent;
border-top: transparent;
border-right: transparent;
border-bottom: transparent;
border-left: transparent;
font-size:11px;
word-wrap: break-word;
padding-bottom: 60%;
width: 190px;
}
/*
* FORMS
*/
.processTable {
font-family:arial,sans-serif;
padding:3px;
font-size:11px;
color:#000000;
border:solid;
border-width:1px;
border-color:#000000;
background-color:#dfdfdf;
}
.processRegular {
text-decoration:none;
color:#000000;
font-size:12px;
}
.processRegularSmall {
text-decoration:none;
color:#000000;
font-size:11px;
}
.processRequire {
font-weight:bold;
text-decoration:none;
color:#000000;
font-size:12px;
}
.processError {
font-weight:bold;
text-decoration:none;
color:#ff0000;
font-size:12px;
}
.processTextLabel {
text-decoration:none;
color:#000000;
font-weight:bold;
font-size:12px;
}
.processMsgError {
font-family:arial,helvetica,sans-serif;
font-weight:bold;
font-size:14px;
color:#990033;
padding:3px;
margin:5px;
}
.processLargeHeaderText {
font-weight:bold;
font-size: 16px;
color:#000001;
padding:3px;
background-image:url(background.nav.gif);
border:solid;
border-width:2px;
border-color:#999999;
border-bottom-color:#000000;
border-bottom-width:3px;
vertical-align:bottom;
}
.processDisabledText {
text-decoration:none;
color:#c0c0c0;
font-size:12px;
}
.processText {
font-family:arial,sans-serif;bodyIframe
font-size:11px;
color:#000000;
border:solid;
border-width:1px;
border-color:#000000;
padding-left:5px;
padding-right:5px;
}
.processTextAlt {
font-family:arial,sans-serif;
text-decoration:none;
color:#000000;
font-size:11px;
}
.processBaseItem {
padding:2px;
padding-top:3px;
font-size:11px;
}
.processBaseItemSmall {
padding:2px;
padding-top:3px;
font-size:9px;
}
.processSelect {
font-family:arial,sans-serif;
font-size:11px;
color:#000000;
}
.processSelectClear {
font-family:arial,sans-serif;
font-size:11px;
color:#000000;
padding:0px;
border:none;
border-width:0px;
background: transparent;
}
.processSelectFixed {
font-family:arial,sans-serif;
font-size:11px;
color:#000000;
width:100px;
}
.processSelectSmall {
font-family:arial,sans-serif;
font-size:9px;
color:#000000;
}
.processBaseButton {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#cccccc;
color:#000000;
width:100px;
}
.processBaseFrame {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#cccccc;
color:#000000;
}
.processSubmit {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#cccccc;
color:#000000;
width:90px;
}
.processSubmitRed {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#cccccc;
color:#FF0000;
width:90px;
}
.processLabel {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#dfdfdf;
color:#000000;
border:none;
text-align:right;
width:60px;
}
.processReadOnly {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#cccccc;
border:none;
text-align:right;
}
.processMSRCalc {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#cccccc;
border:solid ;
border-width: thin;
text-align:right;
}
.processMSRCalcTotal {
font-family:arial,sans-serif;
font-size:11px;
font-weight:bold;
background-color:#FFFFFF;
border:solid ;
border-width: thin;
text-align:right;
}
.processBlankRow {
font-family:arial,sans-serif;
font-size:6px;
background-color:#DFDFDF;
border:none;
text-align:right;
}
/*
* NEWS
*/
.newsBasePageTitle {
padding:0px;
vertical-align:bottom;
height:35px;
color:#000000;
font-family:century gothic;
font-size:18px;
font-weight:bold;
border-bottom:solid;
border-bottom-width:3px;
border-color:#0099cc;
}
.newsBaseTitle {
padding:0px;
vertical-align:bottom;
color:#000000;
font-family:century gothic;
font-size:15px;
font-weight:bold;
border-bottom:solid;
border-bottom-width:1px;
border-color:#0099cc;
}
.newsBaseText {
text-decoration:none;
color:#000000;
font-size:14px;
}
.newsBaseTextAlt {
padding:0px;
vertical-align:bottom;
color:#000000;
font-size:14px;
border-bottom:solid;
border-bottom-width:1px;
border-color:#0099cc;
}
/*
* STATUS
*/
.statusStyleSearchResult {
padding: 3px;
line-height: 18px;
}
.statusStyleSearchResult TD {
padding: 3px;
color: black;
font: 11px Arial, Helvetica, Sans-Serif;
border-bottom: 1px solid black;
}
.statusStyleNew {
background-color: #8AC5ff;
}
.statusStyleFrozen {
background-color: #E70000;
}
.statusStyleFuture {
background-color: #FFAAFF;
}
.statusStyleExpired {
background-color: #EB66D3;
}
.statusStylePending {
background-color: #FFE4B0;
}
.statusStyleApproved {
background-color: #99ffcc;
}
.statusStyleMoreInfo {
background-color: #ffff99;
}
.statusStyleEdit {
background-color: #8AC5ff;
}
.statusStyleExclusive {
background-color: #8AC5ff;
}
.statusStyleDeclined {
background-color: #ffcccc;
}
.statusStylePresented {
background-color: #00ffff;
}
.statusStyleBound {
background-color: #00ff99;
}
.statusStyleBoundOther {
background-color: white;
}
.statusStyleClosed {
background-color: #E0E0E0;
}
.statusStylePreScreened {
background-color: #FF6600;
}
.statusStyleCancelled {
background-color: #ff9999;
}
.statusStypePendingEndorsement {
background-color: #CC99FF;
}
.statusStyleSuspend {
background-color: #FFE4B0;
}
.statusStylePendingRenewal {
background-color: #99FF33;
}
.newType {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
background-color:#8AC5ff;
}
.pendingType {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
background-color:#FFE4B0;
}
.more-informationType {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
background-color:#ffff99;
}
.approvedType {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
background-color:#99ffcc;
}
.declinedType {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
background-color:#ffcccc
}
.pending-endorsementType {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
background-color:#cc99ff
}
.boundType {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
background-color:#00ff99
}
.presentedType {
font-family:arial,helvetica,sans-serif;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom: 1px solid #000000;
padding:3px;
background-color:#00ffff
}
/*
* ERRORS
*/
.errorLogon {
text-decoration:none;
color:#ff0000;
font-size:12px;
}
.exceptionType {
font: 10px lucida console;
color: black;
border: 1px solid black;
padding:3px;
}
.exceptionType TH {
background: silver;
}
.exceptionType TD {
background: white;
}
/*
* GENERAL
*/
.spacer {
padding:0px;
font-size:1px;
}
.centerBlock {
vertical-align:middle;
}
.fieldBase {
font-size: 11px;
color:#000000;
padding:0px;
background-color:#dfdfdf;
border:solid;
border-width:1px;
border-color:#dfdfdf;
border-bottom-width:3px;
vertical-align:bottom;
}
.fieldBaseR {
font-family:arial,sans-serif;
font-size:11px;
color:#000000;
border:solid;
border-width:1px;
border-color:#000000;
padding-left:0px;
padding-right:1px;
text-align:right;
}
.fieldBaseL {
font-family:arial,sans-serif;
font-size:11px;
color:#000000;
border:solid;
border-width:1px;
border-color:#000000;
padding-left:0px;
padding-right:1px;
text-align:left;
}
.emailLabel {
text-decoration:none;
color:#000000;
font-weight:bold;
font-size:12px;
width:230px;
}
td.copyright {
font-family:arial,helvetica,sans-serif;
font-size:10px;
text-align:center;
line-height:28px;
color:#999999;
border-width:1px;
border-color:#999999;
}

You could benefit of a CSS reset. Add to the top of your css file (before the body {} declaration):
* {margin: 0; padding: 0;}
Please note the CSS reset will remove all the default margins/paddings. You will need to manually add them when suitable. For a less generic reset, please try:
table {margin: 0; padding: 0;}

I like to troubleshoot an issue like this with a tool that highlights rendered elements as you mouse-over them in the DOM. There are many, but there is one built in to Chrome's developer tools. Right click on the space and "Inspect Element".
Then you'll know which element's box model contains the space, and you won't need to resort to trial-and-error measures.

In css add : br { display: none; }

Related

Anyway to fix it the code so that my photo entries are not round like my sidebar

for some reason I was able to add a code where my sidebar image has around spinning border and it works, but now on Tumblr my photo post are small and round like the sidebar image - I tried to go to the code and see if any code was linked together to make the post resize like the sidebar but found nothing
/* ------ text styles ------ */
body { background:{color:background}; margin:0px; font-weight:500; color:{color:text}; font-family:'ABeeZee', sans-serif; font-size:10px; line-height:16px; letter-spacing:.5px; text-align:justify; background-image:url('{image:Background}'); }
a { text-decoration:none; color:{color:links}; -moz-transition-duration:1s; -webkit-transition-duration:1s; -o-transition-duration:1s; }
a:hover { color:{color:text}; background:transparent; -moz-transition-duration:1s; -webkit-transition-duration:1s; -o-transition-duration:1s; }
b, strong { color:{color:bold}; font-weight:700; }
em, i { color:{color:italic}; font-weight:600; }
i:hover { background:transparent; }
strike { color:{color:italic}; }
small { font-size:10px; }
big { color:{color:title}; font-weight:600; font-variant:small-caps; letter-spacing:2px; }
sup { text-transform:normal; color:{color:text}; font-size:10px; }
sub { text-transform:normal; color:{color:text}; font-size:10px; }
blockquote { margin-left:5px; padding-left:10px; width:245px; border-left:1px solid {color:background}; }
blockquote blockquote { padding-left:10px; width:230px; border-left:1px solid {color:background}; }
h1 { color:{color:bold}; font-size:8px; letter-spacing:2px; text-transform:uppercase;font-family:'ABeeZee', sans-serif; font-style:none; line-height:10px; text-align:left; padding:0px; }
h2 { text-align: center; font-size:11px; letter-spacing:.5px; text-transform:lowercase; font-style:none; font-weight:400; line-height:14px; text-align:normal; padding:0px; }
h3 { font-family:'cooper'; font-size:26px; line-height:24px; text-align:center; text-transform:lowercase; font-weight:400; letter-spacing:0px; margin-top:5px; color:{color:italic}; }
/* ------ captions ------ */
.tumblr_parent { margin:10px 10px 20px; padding: 0px 10px; border-left: 0px solid #ccc; font-size:7px; }
.tumblr_parent:after { content:''; display:block; width:100%; height:1px; margin:15px auto; background:{color:border}; }
.tumblr_parent:last-of-type:after { display:none; }
.tumblr_parent blockquote { margin-left:20px; padding-left:20px; border-left: 2px solid #ccc; }
.tumblr_avatar { margin:0px 6px 0px 0px; width:12px; vertical-align:middle; padding:2px; border-radius:50%; border:1px solid #ddd; background:black; }
a.tumblr_blog { border-bottom:2px solid {color:background}; font-weight:700; text-transform:uppercase; font-size:8px; letter-spacing:1px; padding:3px; border-radius:2px; }
.caption { padding:0px 10px 0px 10px; }
/* ------ images/videos ------ */
img { border:none; max-width:100%; height:auto; border-radius:2px; -webkit-filter:grayscale(50%); -moz-transition-duration:1s; -webkit-transition-duration:1s; -o-transition-duration:1s; }
img:hover { -webkit-filter:grayscale(0%); -moz-transition-duration:1s; -webkit-transition-duration:1s; -o-transition-duration:1s; }
resize { width: 300px; height:auto; }
#posts img { -webkit-filter:grayscale(50%); -moz-transition-duration:1s; -webkit-transition-duration:1s; -o-transition-duration:1s; }
.photoset { width:100%; border-radius:2px; -webkit-filter:grayscale(50%); -moz-transition-duration:1s; -webkit-transition-duration:1s; -o-transition-duration:1s; }
#posts img:hover { -webkit-filter:grayscale(0%); -moz-transition-duration:1s; -webkit-transition-duration:1s; -o-transition-duration:1s; }
.photoset:hover { max-width:100%; -webkit-filter:grayscale(0%); -moz-transition-duration:1s; -webkit-transition-duration:1s; -o-transition-duration:1s; }
/* ------ body ------ */
#contain { background:{color:contain}; width:700px; height:600px; margin:auto; left:0px; right:0px; top:0px; bottom:0px; position:absolute; border-radius:2px; overflow:visible; z-index:1; background-image:url('{image:contain}'); background-blend-mode:soft-light; }
#entries { width:340px; height:680px; border-radius:2px; bottom:-40px; right:40px; font-size:10px; position:absolute; font-family:'ABeeZee', sans-serif; overflow-x:hidden; overflow-y:auto; letter-spacing:0px; }
#post { margin:auto; top:0px; right:0px; bottom:0px; left:0px; width:300px; background: {color:postbg}; padding:20px; position:relative; border-radius:2px; margin-bottom:30px; margin-top:0px; }
#post i,em { color:{color:italic}; }
#post strong { color:{color:bold}; text-shadow:0px 0px 2px {color:bold}; }
/* ------ sidebar ------ */
.sidebar { position:absolute; left:0px; bottom:0px; width:320px; height:600px; overflow:hidden; }
img {
position: relative;
left: 107px;
top: 32px;
border-radius: 50%;
width: 110px;
height: 110px;
}
.image {
position: absolute;
left: 99px;
top: 24px;
width: 110px;
height: 110px;
border-radius: 50%;
-webkit-filter: grayscale(0%);
border-radius: 100%;
border: 8px solid c5c6cc;
border: 8px dashed #c49683;
animation-name: spinning-circle;
animation-duration: 20s;
animation-iteration-count: infinite;
width: 110px;
height: 110px;
outline-color: #EA3556;
}
#-webkit-keyframes spinning-circle {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.title { position:absolute; top:170px; right:-30px; width:350px; height:auto; padding:10px; letter-spacing:-2px; font-size:40px; line-height:26px; text-align:center; color:#686868; font-family:'bambi'; font-weight:800; text-shadow:4px -3px #c49683; text-transform:lowercase; font-style:normal; z-index:1; -webkit-text-stroke: 1px #686868; -webkit-text-fill-color: rgba(0, 0, 0, 0); }
.navbar { position:absolute; top:234px; left:0px; overflow:visible; width:320px; height:5px; text-align:center; z-index:99999999999; }
ul.navig8 { position:absolute; overflow:visible; list-style-type:none; padding:0; width:320px; height:40px; top:8px; left:0px; z-index:999999999; text-transform:uppercase; text-align:center; }
ul.navig8 li { width:auto; display:inline; margin:5px; }
ul.navig8 li a { display:inline-block; color:{color:nav text}; letter-spacing:3px; font-size:7px; padding:3px; font-weight:600; }
ul.navig8 li b { color:{color:bold}; }
.desc { position:absolute; width:210px; line-height:18px; height:226px; bottom:86px; left:50px; overflow-y:scroll; overflow-x:visible; font-size:9px; padding:5px; color:{color:desc text}; text-transform:lowercase; font-family:'ABeeZee', sans-serif; letter-spacing:.5.5px; text-align:justify; z-index:9999; text-shadow:none; }
.desc:hover { opacity:1; }
.desc b, strong { color:{color:italic}; font-size:12px; font-weight:500; text-transform:lowercase; font-variant:none; font-family:'coco'; text-shadow:0px 0px 2px {color:italic}; }
.desc i, em { color:{color:italic}; text-shadow:none; }
.desc a { color:{color:italic}; text-shadow:0px 0px 2px {color:italic}; }
.desc strong { font-size:16px; font-family:'cooper'; letter-spacing:1px; }
/* ------ pagination ------ */
#pagination { width:310px; position:absolute; height:14px; padding:5px; padding-top:3px; margin:auto; bottom:46px; left:0px; word-spacing:20px; text-align:center; color:{color:text}; z-index:999; }
#pagination a { padding:5px; padding-left:8px; color:{color:nav text}; font-weight:bold; letter-spacing:5px; font-size:7px; border-radius:2px; }
It's happen for this code -
img {
position: relative;
left: 107px;
top: 32px;
border-radius: 50%;
width: 110px;
height: 110px;
}
Replace it with this code -
.sidebar img {
position: relative;
left: 107px;
top: 32px;
border-radius: 50%;
width: 110px;
height: 110px;
}

Styling issues for chat function

I have made a app for iOS that includes a chat function.
now i have several issues. you can see two screenshots, 1 with the keyboard up and one with the keyboard down. The one with the keyboard up has several issues as you might notice: the input box is way too high located, the header has just gone up, and there is a 'done' bar that i'd like to get rid of.
The code:
https://jsfiddle.net/92b50e4s/
body {
margin:0px;
padding:0px;
background-color:#FFF;
}
#header_holder {
display:inline-block;
height:40px;
width:100%;
float:left;
position:relative;
}
#header_container {
display:inline-block;
float:left;
width:100%;
height:40px;
background-color:#e6007e;
background-color:#F4F4F4;
text-align:center;
padding:0px 0px 0px 0px;
position:fixed;
top:0px;
left:0px;
z-index:700;
}
#header_container #settings {
position:absolute;
left:10px;
top:10px;
height:30px;
width:30px;
color:#FFF;
color:#333;
line-height:30px;
font-size:20px;
}
#header {
display:table;
width:auto;
height:40px;
line-height:40px;
margin:auto;
}
#header span {
color:#FFF;
color:#333;
display:inline-block;
float:left;
width:auto;
font-family:'Open Sans', sans-serif;
font-family:Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
font-family: 'Permanent Marker', cursive;
height:40px;
line-height:40px;
font-size:17px;
margin-left:-2px;
font-weight:400;
font-style:italic;
}
#header {
display:inline-block;
float:left;
width:100%;
height:40px;
position:relative;
}
#header #back_button {
position:absolute;
width:40px;
height:40px;
line-height:40px;
font-size:30px;
left:0px;
display:inline-block;
text-align:center;
float:left;
top:0px;
}
#header #back_button.hover {
color:#ba6e6f;
}
#header #header_content {
display:table;
width:auto;
height:40px;
line-height:40px;
color:#333;
font-family:'Open Sans', sans-serif;
font-size:15px;
margin:auto;
}
#content {
font-family:'Open Sans', sans-serif;
padding:0px 0px 60px 0px;
}
#message {
display:inline-block;
float:left;
width:100%;
height:auto;
position:fixed;
bottom:0px;
left:0px;
border-top:1px solid #ccc;
background-color:#FFFFFF;
}
#message #message_input {
display:inline-block;
float:left;
width:75%;
min-height:50px;
height:auto;
padding:1px 1% 1px 1%;
margin:2px 1% 2px 1%;
border:1px solid #ccc;
border-radius:5px;
font-size:16px;
font-family:'Open Sans', sans-serif;
outline:none;
-webkit-appearance:none;
}
#message #message_send2 {
display:inline-block;
float:right;
width:20%;
height:40px;
text-align:center;
line-height:40px;
transition: all .1s ease-in-out;
position:relative;
}
#message #message_send {
position:absolute;
top:50%;
margin-top:-8px;
width:20%;
right:0px;
text-align:center;
}
#message #message_send.hover {
color:#ba6e6f;
}
#content .message {
display:inline-block;
width:auto;
max-width:65%;
height:auto;
line-height:20px;
background-color:#ECECEC;
border-radius:5px;
padding:5px 2% 5px 2%;
clear:both;
color:#333;
}
#content .message.user {
float:right;
margin:7px 10px 7px 0px;
border-bottom-right-radius:0px;
}
#content .message.connection {
float:left;
margin:7px 0px 7px 10px;
border-bottom-left-radius:0px;
border-bottom:1px solid #D4A5A6;
}
#content .message .content {
display:inline-block;
float:left;
width:auto;
height:auto;
font-size:13px;
}
#content .message .time {
display:inline-block;
float:right;
width:auto;
height:auto;
font-style:italic;
margin:0px 0px 0px 5px;
font-size:10px;
}
What to do to solve these issues?

Footer is not displaying at the end of page based on less/more content in the page

I have an application based on the following css.The page is designed to display employee database and their task records.I need the header always at the bottom of the page even the content is less/more in number.I cant fix it.Once when I fix for less content it gets displayed above the content when more contents are added.I need help to fix this...
* { padding:0; margin:0; outline:0; }
body {
background:#f9ebae;
font-family: Verdana, sans-serif;
font-size:11px;
line-height:14px;
color:#5e5e5e;
margin:0;
padding:0;
height:100%;
}
input, textarea, select { font-family: Verdana, sans-serif; font-size:13px; }
textarea { overflow:hidden; }
.field { border:solid 1px #d3cfc7; background:#fff; padding:5px; }
.small-field { border:solid 1px #d3cfc7; background:#fff; padding:3px 1px; font-size:11px; }
.checkbox { width:13px; height:13px; vertical-align:top; position:relative; top:2px; }
.button { background:#eee url(images/button.gif) repeat-x 0 0; border:solid 1px #b1a874; color:#7f7f7f; font-size:11px; padding:2px 6px 2px 6px; cursor:pointer; line-height:14px !important; }
.button:hover { color:#333; border-color:#857b42; }
.field:focus { color:#000; border-color:#857b42;}
a img { border:0; }
a { color:#ba4c32; text-decoration: underline; cursor:pointer; }
a:hover { color:#8d341f; text-decoration: none;}
.left, .alignleft { float:left; display:inline; }
.right, .alignright { float:right; display:inline; }
.rights, .alignright { float:right; display:inline; }
.cl { font-size:0; line-height:0; clear:both; display:block; height:0; }
.al { text-align: left; }
.ar { text-align: right; }
.ac { text-align: center !important; }
h1{ font-size:22px; font-family:Georgia, "Times New Roman", Times, serif; line-height:24px; color:#fff; font-weight: normal;}
h1 a{ color:#fff; text-decoration: none; }
h11{ font-size:32px; font-family:"Times New Roman", Times, serif; line-height:30px; color:#fff; font-weight: normal;}
h11 a{ color:#fff; text-decoration: none; }
h2 { font-size:15px; font-weight: normal; }
h2 a{ text-decoration: none; }
h22 { font-size:20px; font-family:"Times New Roman", Times, serif; font-weight: normal; }
h22 a{ text-decoration: none; }
h3 { font-size:12px; color:#3333FF; line-height:14px; font-weight: normal; }
h3 a{ text-decoration: none; }
.shell { ; margin:0; auto; }
#header { height:89px; background:url(images/header.gif); white-space:nowrap; }
#header h1{ float:left; display:inline; padding-top:12px; }
#top-navigation { float:right; white-space:nowrap; color:#fff; padding-top:15px; }
#top-navigation a{ color:#fff; }
#top-navigation span{ color:#dca598; }
#top { height:53px;}
#navigation { height:36px;}
#navigation ul{ list-style-type: none;}
#navigation ul li{ float:left; display:inline; margin-right:2px;}
#navigation ul li a,
#navigation ul li a span { float:left; height:36px; background:url(images/tab.gif) no-repeat 0 0; padding:0 0 0 15px;}
#navigation ul li a span { background-position:right 0; padding:0 15px 0 0;}
#navigation ul li a { line-height:36px; color:#907525; text-decoration: none; }
#navigation ul li a.active,
#navigation ul li a:hover { background-position:0 bottom;}
#navigation ul li a.active span,
#navigation ul li a:hover span{ background-position:right bottom; }
#navigation ul li a.active { font-size:12px; font-weight: bold; color:#887e42; }
#wrapper {
min-height:100%;
height: auto !important;
height: 100%;
margin: 0 auto -4em;
}
#wrapper1 {
min-height:200%;
position:relative;
}
#container { padding:20px 0; padding-bottom:44px;}
#container10 { padding:20px 0; padding-bottom:44px; min-height:100%;}
.small-nav { color:#978b48; padding-bottom:20px; }
.small-nav a{ color:#6f6636; }
#main { overflow:auto; padding-bottom: 44px; }
#content { float:left; width:98%; padding:0 0 44px 2px; }
#contents { float:left; width:auto; padding:0 0 0 300px; }
#sidebar { float:right; width:225px; }
.table {}
.table th{ background:#fffdfa url(images/th.gif) repeat-x 0 0; color:#818181; text-align: left; padding:7px 10px; border-bottom:solid 1px #d2d1cb;}
.table td{ background:#fbfcfc; border-bottom:solid 1px #e0e0e0; padding:8px 10px; }
.table tr.odd td{ background:#f8f8f8; }
.table tr:hover td{ background:#fff9e1; }
.table a.ico{ }
.box { background:#fbfcfc; height:auto; width:auto; padding:1px; margin-bottom:20px; }
.box-head { background:#ba4c32; height:32px; color:#fff; padding: 0 10px; line-height:32px; white-space:nowrap; border-bottom:solid 1px #fff; }
.box-head .rights{ padding:10px 0 10px 1px; line-height:13px;}
.box-head .rights label,
.box-head .rights input { float:left; }
.box-head .rights label { padding:4px 0 0 0;}
.box-head .rights input { margin-left:5px;}
.box-head .right{ padding:5px 0 10px 1px; line-height:13px; }
.box-head .right label,
.box-head .right input { float:left; }
.box-head .right label { padding:4px 0 0 0;}
.box-head .right input { margin-left:5px;}
.pagging { height:20px; padding:8px 0px; line-height:19px; color:#949494; }
.pagging a{ background:url(images/pagging.gif) repeat-x 0 0; height:20px; float:left; padding:0 8px; border:solid 1px #d5d5d5; text-decoration: none; color:#949494; margin-left:5px; }
.pagging a:hover { border-color:#8c3521; background:#ba4c32; color:#fff; }
.pagging span{ float:left; margin-left:5px; padding-top:2px; }
a.ico { color:#9d9c9a; font-size:10px; text-decoration: none; padding:0 0 0 14px; background-repeat:no-repeat; background-position:0 0; }
a.ico:hover { color:#333;}
a.del { background-image:url(images/delete.gif); margin-left:10px;}
a.edit { background-image:url(images/ed.gif); margin-left:10px;}
a.status { background-image:url(images/i.gif); margin-left:10px;}
.form { padding:15px 10px 5px 10px; }
.form label{ display:block; font-weight: bold; font-size:13px; padding-bottom:4px; }
.form label span{ color:#999; font-weight: normal;}
.form .field { display:block; }
.form .inline-field .field { display:inline;}
.form .req { font-size:13px; float:right; white-space:nowrap; color:#999; }
.form p{ padding-bottom:15px; }
.size1 { width:716px; }
.size2 { width:80px; }
.size3 { width:120px; }
textarea.size1 { height:180px; }
.buttons { text-align: right; padding:10px; background:#eee; border-top:solid 1px #e0e0e0; }
.buttons .button{ margin-left:3px;}
.box-content { padding:10px; }
.sort { border-top:solid 1px #e0e0e0; padding-top:10px; margin-top:15px; }
.sort label{ display:block; font-weight: bold;}
.sort .field{ display:block; margin-top:5px; }
.sort select.field{ width:203px; }
.box-content p { padding-top:10px; }
.select-all{}
.select-all label{ text-decoration: underline; padding-left:4px; }
.add-button,
.add-button span { float:left; height:26px; background:url(images/add-button.gif) no-repeat 0 0; padding:0 0 0 28px; }
.add-button span { background-position:right 0; padding:0 10px 0 0; }
.add-button { font-weight: bold; font-size:12px; color:#747474; text-decoration: none; line-height:26px; }
.add-button:hover { color:#333;}
#footer { height:44px; margin-top: -44px; background:url(images/footer.gif); line-height:44px; width:100%; color:#fff; position:relative; bottom:0; left:0; clear:both; }
#footer a{ color:#fff;}
#footer, #push {
height: 4em;
}
#footer, #push {
clear: both;
}
.msg { position:relative; padding-right:35px; margin-bottom:10px; }
.msg p{ padding:9px 10px 9px 40px; font-size:12px; background-repeat:no-repeat; background-position:10px 5px;}
.msg a.close{ font-size:0; line-height:0; position:absolute; top:0; right:0; width:34px; height:34px; background:url(images/close.gif); text-indent: -4000px;}
.msg-ok p{ background-color:#fffac2; border:solid 1px #dbd6a2; color:#5e5c40; background-image:url(images/ok.gif); }
.msg-error p{ background-color:#f3c598; border:solid 1px #e8b084; color:#ba4c32; background-image:url(images/msg-error.gif); }
/*** CSS3 ***/
.box { -moz-border-radius:5px; -webkit-border-radius:5px; -moz-box-shadow: 0 0 6px #978f6c; -webkit-box-shadow: 0 0 6px #978f6c;}
.box-head { -moz-border-radius-topleft:5px; -moz-border-radius-topright:5px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; }
.field, .button { -moz-border-radius:4px; -webkit-border-radius:4px; }
.small-field, .button, .pagging a { -moz-border-radius:3px; -webkit-border-radius:3px; }
.msg p { -moz-border-radius:6px; -webkit-border-radius:6px; }
.button { -moz-box-shadow: 0 0 2px #978f6c; -webkit-box-shadow: 0 0 2px #978f6c;}
.rrshow{
display:none;
}
<!--Print query css-->
#media print
{
.print-hidden {
display: none;
}
a {
display: none;
}
}
Try this to position it at the bottom
position:absolute;
bottom:0;

CSS Styles are not available on Firefox/IE

I designed a website using Dreamviewer. The styles I applied to the webpage are not available on Firefox and IE, webpage is displayed in plain HTML format. But all styles are well displayed in Chrome.What is the reason for that and how can fix that problem?
This is my stylesheet
* { padding:0; margin:0; border:0; }
p { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#202020; line-height:180%;}
h1, h2, h3, h4 { color:#00486A; font-family:Arial, Helvetica, sans-serif;}
h1 { padding: 5px 5px 10px 0; font-size:24px;}
#wrapper { margin:5px auto; width:1000px; background-color:#E6E6FF;} /*opacity:0.8; filter:alpha(opacity=80)}*/
body { background:url(../img/backgrounds/sparkling_design-HD.jpg); background-repeat:repeat; }
#logo { float:left; margin:10px 5px 10px 20px; opacity:1; ;}
#logo img { opacity:1;}
#loginform { float:right; padding: 20px 30px 10px 10px; margin: 10px 10px; }
#loginform a { float:right; clear:both; }
#loginform a:link { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#666; text-decoration:none; }
#loginform a:visited { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#666; text-decoration:none; }
#loginform a:active { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#666; text-decoration:none; }
#loginform a:hover { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#999; text-decoration:none; text-decoration:underline;}
#loginform a:focus { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#666; text-decoration:none; }
#loginform label { float:left; width:70px; line-height: 100%; font-family:Arial, Helvetica, sans-serif; color:#666; font-size:12px; padding-top:5px;}
#loginform input { -webkit-border-radius:5px; border-radius:5px; width:150px; line-height:180%; height:20px; margin-bottom:10px; padding-right:5px; border:1px solid #999; padding-left: 8px;}
#loginform input[type=submit] { float:right; text-align:center; width:75px; background-color:#82BDFF; font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#333333; padding-left:8px; border: 1px #999999 solid; line-height:10px;}
#loginform input[type=submit]:hover { background-color:#0060FF; color:#FFF; }
#topnav { clear:both; padding:10px 5px 10px 5px; margin:5px 5px 5px 20px; border-top:1px #B7B1FE solid; border-bottom:1px #B7B1FE solid;}
#topnav ul li { display:inline; list-style-type:none; padding-left:20px; }
#topnav ul li a:link { font-family:'Noto Serif',Arial, Helvetica, sans-serif; font-size:14px; text-decoration:none; color:#00324A; font-weight:bold; }
#topnav ul li a:active { font-family:'Noto Serif',Arial, Helvetica, sans-serif; font-size:14px; text-decoration:none; color:#00324A; font-weight:bold; }
#topnav ul li a:visited { font-family:'Noto Serif',Arial, Helvetica, sans-serif; font-size:14px; text-decoration:none; color:#00324A; font-weight:bold; }
#topnav ul li a:hover { font-family:'Noto Serif',Arial, Helvetica, sans-serif; font-size:14px; text-decoration:none; color:#7C96FC; font-weight:bold; }
#topnav ul li a:focus { font-family:'Noto Serif',Arial, Helvetica, sans-serif; font-size:14px; text-decoration:none; color:#00324A; font-weight:bold; }
#banner { clear:both; margin:5px 20px; width:960px;}
#banner img { padding: 10px 0 10px 15px; }
#content { float:left; width:700px; padding:10px 20px 10px 10px; margin:5px 5px 10px 10px; text-align:justify;}
#rightpane { float:right; width:220px; font-family:Arial, Helvetica, sans-serif; font-size:12px; line-height:180%; color:#202020; margin-right: 20px; background-color:#D9DDFF; margin-bottom:20px; border:1px #0080C0 solid; border-radius:5px;}
#searchbox { padding:10px 5px 10px 20px; margin-top:5px; }
#search input[type=text] { border-radius:5px; -webkit-border-radius:5px; height: 20px; width:150px; border:1px #0080C0 solid; margin-right: 5px; }
#search input[type=submit] { border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px; height:25px; width:30px; border:1px #0080C0 solid; background-color:#82BDFF; line-height:5px;}
#search input[type=submit]:hover { background-color:#0060FF; color:#FFF; }
#searchbox h3 { margin-left:0; }
/*---------------------Signup page------------ */
#form-content { border: 1px solid #666; float:left; width:690px; padding:10px 20px 10px 10px; margin:5px 15px 10px 20px; }
#form-add-account input[type=text], #form-add-account input[type=password] { width: 200px; height:20px; border-radius:5px; border: 1px #0080C0 solid;}
#form-add-account label { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#666;}
#form-add-account table { padding-top: 5px; }
/*---------------------------------------------*/
#latest-posts { padding:10px 5px 10px 10px; margin:20px 0; }
#latest-posts ul { list-style-type:none; padding-right:5px; padding-left:10px; line-height: 180%;}
#latest-posts ul li a:link { text-decoration:none; color:#202020;}
#latest-posts ul li a:active { text-decoration:none; color:#202020;}
#latest-posts ul li a:visited { text-decoration:none; color:#202020;}
#latest-posts ul li a:hover { text-decoration:none; color:#7C96FC; text-decoration:blink;}
#latest-posts ul li a:focus { text-decoration:none; color:#202020;}
#recommendations { padding:10px 5px 10px 10px; margin:20px 0; }
#recommendations ul { list-style-type:none; padding-right:5px; padding-left:10px;}
#recommendations ul li a:link { text-decoration:none; color:#202020;}
#recommendations ul li a:active { text-decoration:none; color:#202020;}
#recommendations ul li a:visited { text-decoration:none; color:#202020;}
#recommendations ul li a:hover { text-decoration:none; color:#7C96FC; text-decoration:blink;}
#recommendations ul li a:focus { text-decoration:none; color:#202020;}
#footer { clear:both; width:980px; margin:10px auto; border-top:2px #CCCCCC dotted; font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#666;}
#footer p { font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#666; }
#footer h4 { font-size:11px; padding-bottom:4px; }
#social-media { float:left; width:230px; margin:10px 0px 10px 30px;}
#social-media ul { list-style-type:none; line-height:180%;}
#social-media ul li a:link { text-decoration:none; color:#666;}
#social-media ul li a:active { text-decoration:none; color:#666;}
#social-media ul li a:visited { text-decoration:none; color:#666;}
#social-media ul li a:hover { text-decoration:none; color:#7C96FC; text-decoration:blink;}
#social-media ul li a:focus { text-decoration:none; color:#666;}
#contacts { float:left;width:230px; margin:10px 0px 10px 120px; }
#notice { width:230px; float:right; margin-top:10px; }
#footer-bottom { clear:both; text-align:center; padding:10px 10px 20px 10px; border-top:2px #CCCCCC dotted; }
I don't see any advanced or complex CSS code, so all modern browsers should support it. Anyway, here is a checklist:
Checklist
Did you checked different browser versions (you can switch inside Internet Explorer between older versions)? Check: http://msdn.microsoft.com/en-us/library/gg699485(v=vs.85).aspx
Did you try a more simplified CSS?
Did you clean up your browser cache?
Did you try "Browser Sniffing"? Check: http://en.wikipedia.org/wiki/Browser_sniffing
Did you try it on another computer?
If you testing online you might want to check your .htaccess.

How to not display this blue frame around my image?

I've got an image that is a link to a pop-up calendar where the display renders a blue frame around my image since I made it a link to make the cursor change to a hand when hovered:
where HTML is
<div class="fl20">Depositionsdatum:</div>
<div class="fl40"><input type="text" size="10" name="depositionsdatum"
id="depositionsdatum" value=""> <a href="#"><img src="images/cal.gif" width="16"
height="15" alt="" onclick="javascript:openCalWin('620','300','depositionsdatum')"></a></div>
The CSS is
.avnamn {
color:arial #90002b;
font-size:140%;
display:inline;
vertical-align:3%;
margin-left:1%;
}
.b {
border:1px solid #000;
}
.Webdings {
font-family:Webdings;
}
ul {
margin-top:0;
}
.mt3 {
margin-top:-3px;
}
.mt5p {
margin-top:5px;
}
.fontS80 {
font-size:80%;
}
.link {
color:#036;
text-decoration:underline;
cursor:pointer;
font-weight:700;
}
.link_sm {
color:#036;
text-decoration:underline;
font-size:70%;
cursor:pointer;
}
.smallg {
font-size:75%;
color:#555;
}
.ssmall {
font-size:65%;
font-weight:700;
color:#555;
}
.small60 {
font-size:60%;
}
.small50 {
font-size:50%;
color:#333;
}
.smallb {
font-size:85%;
}
table {
display:inline;
}
h1 {
font-size:130%;
display:inline;
}
h2 {
font-size:100%;
display:inline;
}
h4 {
font-size:70%;
display:inline;
}
.hthin {
font-size:125%;
}
.th {
text-align:left;
}
td,th {
font-size:75%;
vertical-align:text-top;
}
.td_link {
cursor:pointer;
}
.td40 {
height:40px;
}
.td60 {
height:60px;
}
.thkant {
border-top:1px solid #000;
border-bottom:1px solid #000;
font-size:70%;
text-align:left;
}
.bb {
border-bottom:1px solid #000;
}
.bbV {
border-bottom:1px solid #FFF;
}
.TB_bt,.TB_nb,.TB_db,.TB_bb {
background-color:#efefdc;
}
.hk {
background-color:#d9ddb3;
}
.hknot {
background-color:#f9faf2;
}
.TB_bt {
border-top:1px solid #FFF;
}
.TB_bt5 {
border-top:5px solid #FFF;
}
.TB_bb {
border-bottom:1px solid #999;
}
.TB_bb2 {
border-bottom:2px solid #c1c1b3;
}
.TB_db {
border-bottom:1px solid #000;
border-top:1px solid #000;
}
.TB_tb {
border-top:2px solid #efefdc;
}
.TB_bo_hk {
border-top:1px solid #efefdc;
}
.TB_bo2 {
border:1px solid #efefdc;
}
.TB_bo2B {
border-top:2px solid #c1c1b3;
border-left:3px solid #efefdc;
border-right:3px solid #efefdc;
border-bottom:2px solid #c1c1b3;
}
.TD_bo {
border-right:1px solid #c1c1b3;
width:9%;
font-size:70%;
text-align:center;
}
.TD_bo2 {
border-right:0;
width:9%;
font-size:70%;
text-align:center;
}
.ytb {
border-left:3px solid #efefdc;
border-right:3px solid #efefdc;
}
.datum {
font-size:70%;
padding-right:5px;
vertical-align:text-top;
}
.sub {
background:#EAEAEA;
}
.sub_meny,.sub_meny_r,.sub_meny_active,.sub_meny_sm {
font-size:70%;
padding-left:20px;
padding-right:20px;
vertical-align:text-top;
}
.sub_meny_sm {
font-size:60%;
vertical-align:middle;
padding-left:10px;
padding-right:10px;
}
.sub_meny_r {
float:right;
font-size:70%;
padding-left:8px;
padding-right:8px;
}
.sub_meny_rm {
margin-top:4px;
}
.sub_meny_active {
font-weight:700;
}
.flikkant1 {
background-image:url(../images/fl1k.jpg);
background-position:center;
z-index:-1;
}
.inl_namn {
font-weight:700;
font-size:70%;
color:#000;
text-decoration:none;
}
.tr {
text-align:right;
}
.g1 {
background-color:#FFF;
line-height:20px;
}
.g2 {
background-color:#EEE;
line-height:20px;
}
.g3 {
background-color:#DCDCDC;
line-height:20px;
font-weight:700;
font-size:100%;
}
.g4 {
background-color:#CCC;
line-height:20px;
}
.popup {
background-color:#FFF;
font-size:70%;
border-color:#000;
border-style:groove;
border-width:2px;
padding:0;
}
.popupN {
background-color:#F0F0E3;
color:#000;
width:100%;
display:inline;
font-weight:700;
height:auto;
border-bottom:1px solid #000;
padding:2px;
}
.pin {
padding:6px;
}
.fl10,.fl20,.fl30,.fl40,.fl50,.fl60,.fl70,.fl80,.fl90,.fl100 {
padding-bottom:4px;
color:#000;
}
.over {
background-color:#EFEFDC;
line-height:20px;
}
.half {
line-height:50%;
}
.quarter {
line-height:25%;
}
.lh10 {
line-height:10%;
}
.checkmargin {
margin-right:25px;
}
.checkmarginL {
margin-left:25px;
}
.pusher {
padding-left:15px;
}
.pusherR {
margin-right:40px;
}
.rand3 {
background-color:#FFF;
line-height:3px;
}
.rand1 {
background-color:#FFF;
line-height:1px;
}
.whiteborder {
color:#fff;
border:4px solid #fff;
margin:10px;
padding:10px;
}
#details {
width:580px;
color:#fff;
}
.column1 {
color:#000;
width:500px;
border:0;
float:left;
margin:0;
padding:0;
}
.column2 {
color:#000;
border:0;
width:80px;
float:right;
margin:0;
padding:0;
}
.f200 {
color:#000;
}
.f210 {
color:#000;
float:left;
}
.inp_sel {
width:80%;
}
.form-bg {
background:#eeefdf;
width:1080px;
overflow:hidden;
}
.data-bar {
border-bottom:1px solid #fbfbf7;
display:inline-block;
padding:10px;
}
.left {
float:left;
width:200px;
}
.right {
float:right;
width:700px;
}
.data-box {
width:650px;
height:100px;
border:1px solid #cbcbcb;
}
#table td {
margin:120px;
}
.personName {
float:left;
width:300px;
}
.otherDetails {
float:right;
width:300px;
}
.readonly,.TB_nbA {
background-color:#CCC;
}
a:link,a:visited,a:hover,a:active {
color:#000;
text-decoration:none;
}
.fontS75,.small {
font-size:75%;
}
h3,h5 {
font-size:80%;
display:inline;
font-family:"Arial Unicode MS", Arial, Helvetica, sans-serif;
}
.TB_bo,.b2 {
border:2px solid #efefdc;
}
I want the image to render like it does an another place on the same page:
Here it has no blue frame and the code is nearly identical:
<div id="datum" class="fl20">Datum ingivningsdag:</div>
<div class="fl20"><input type="text" name="ingivningsdag"
id="ingivningsdag" value="2012-04-11"> <img src="images/cal.gif" alt="" width="16" height="15" border="0" onclick="javascript:openCalWin('620','300','ingivningsdag')"></div>
Why does it work on one place and not the other?
You should have matched both code before asking, answer was in front of you. ;)
in first code there is no border="0"
and in second code there is a border="0"
Apply this css
a img
{
border: 0;
outline:0;(for removing dotted borders from image and links.You gonna need this in future )
}
or apply border="0" on first code.
The code isn't identical.
Note that the 2nd instance has border="0" set. You either need to set it as an attribute on the IMG element or (preferred), use a CSS selector to set border:none.
Simply set border=0 on the image, either in the HTML like so:
<img src="images/cal.gif" width="16" height="15" alt="" border="0" onclick="javascript:openCalWin('620','300','depositionsdatum')"></a>`
or CSS:
a img
{
border: 0;
}
This would do it:
a img {
border: none;
}
You have the image wrapped in an anchor so it's the link which has the border.
a img { border:none; }
<img /> has a default border of 1px. Set border: 0; in your Stylesheet or use border="0" inline within you <img /> tag.
use this css-
a img {border:none;outline:0;}
also you can use it if you need-
a:hover, a:active, a:focus {outline:0;}