CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 7th, 2012, 11:39 PM
cswilsn cswilsn is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 2 cswilsn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 17 sec
Reputation Power: 0
Problem with CSS container box

Hello Everyone, and thanks ahead of time for any help

I'm having a problem with a page, my CSS container is cut off at the bottom left, I think it has something to do with my iframe auto resize script. Any help would be appreciated, I'm stumped!

Example:

(URL address blocked: See forum rules)=dtcemail

Code:

<CENTER><IMG SRC="/n0csw.png"></CENTER>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"(URL address blocked: See forum rules)">
<html xmlns="(URL address blocked: See forum rules)"
xml:lang="en"
lang="en">
<head>

<title>
n0csw.com hosting control panel
</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta name="title" content="n0csw.com Hosting" />
<style type="text/css">
* {margin: 0;	padding: 0; text-align: center;}
html{height:100%; margin:0; }
body{height:100%;margin:0;	font: 12px Arial, Helvetica, sans-serif; color: #000000;  }
html>body #container {height: auto;	}
a { color: #105278; }
a:hover { color: #000000; }
h1{text-decoration:none; text-align:center;}
#container {  margin: 0 auto;  width: 900px; border: 1px solid #000; }
.top{padding:15% 0 0 0 ; text-align:center;}
.message{padding:1% 5% 1% 5%; text-align:center;}
.footer{width:98%; text-align:center; position:absolute; bottom:0; padding:1%; }
.italics{font-style:italic;}
ul#list-nav {  margin:0px;  padding:0px;  list-style:none;  width:910px; text-align:center;}
ul#list-nav li {  display:inline }
ul#list-nav li a { text-decoration:none; padding:0px 0; width:150px; background:#485e49; color:#eee; float:left; }
ul#list-nav li a { text-align:center; border-left:0px solid #fff; }
ul#list-nav li a:hover { background:#a2b3a1; color:#000 }
</style>
<script>
function setFrmHeight(){
frheight=(document.documentElement.offsetHeight);
document.getElementById("FRAME_ID").style.height=(frheight+"px");
document.getElementById("FRAMEDIV_ID").style.display="block";
}
</script>
</head>
<body onload="setFrmHeight();" onresize="setFrmHeight();">

<div id="container">

    



<UL id="list-nav">
 <li>	<a href="?">Home</a></li>
	<li><a href="?sousrub=dtc">Web Hosting Control Panel</a></li>
	<li><a href="?sousrub=dtcemail">E-mail Control Panel</a></li>
	<li><a href="?sousrub=squirrelmail">Webmail</a></li>
	<li><a href="?sousrub=phpmyadmin">PhpMyAdmin (MySQL)</a></li>
	<li><a href="?sousrub=register">New account</a></li>

<div id="FRAMEDIV_ID" style="width:90%;height:90%;display:none;">
<iframe id="FRAME_ID" allowtransparency="true" overflow="visible" frameborder="0" src="//control.n0csw.com/dtc/" width="100%">  </iframe>
      </div>



</div>
</div>
</body>
</html>

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Problem with CSS container box

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap