Webmaster Forum

Sponsored Reviews   1,000 Directory Submissions   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Reply
 
LinkBack Thread Tools Display Modes
Old 07-07-2004, 12:20 PM   #1 (permalink)
Inactive
 
Join Date: 06-27-04
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

jolene is liked by many
Blank space at bottom of screen XHTML 1.0

Hi I have this following code which works well, except that it leaves about 1 cm of horizontal blank space at the bottom of the screen in IE and Mozilla. Any idea how I can fix it? Thank you.
[code:1:d4d08a1b3c]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>CSS layout, 3 columns with Header and Footer, Ordered columns, Netscape 4 compatible</title>

<!-- the methods on this page are largely the hard work (freely given) of many people from the css-discuss list [http://www.css-discuss.org], including (but not limited to) Big John, Holly Bergevin, Douglas Livingstone, Scott Sauyet, Victor Caston, Mike Papageorge, and me, Alex Robinson [css-stuff@alex.cloudband.com] -->

<!-- <script type="text/javascript" src="ResizeReloadNN4.js"></script> -->

<style type="text/css">

/* ================================================== ==================
box layout
-------------------------------------------------------------------- */
.columns-float {
float : left;
width : 75%;
}
.column-one {
width : 67%;
float : right;
}
.imageinbox {
margin : 0;
}
.column-two {
width : 32.6%;
float : left;
}
.column-three {
width : 25%;
float : right;
}
.box-footer {
clear : both;
}
.box-clear {
clear : both;
line-height : 0;
font-size : 1px;
}
.box-clear {
font-size : medium;
}
.fake.box-clear {
display : none;
}
html > body div.box-clear {
display : none;
}
head:first-child + body div.box-clear {
display : block;
}
.nn4clear {
clear : both;
line-height : 0;
font-size : 1px;
}
.nn4clear {
display : none;
}
.box-wrap {
padding : 0;
color : #000000;
background-color : #eeeeee;
HEIGHT : 100%;
}
.box-header {
margin : 0;
padding : 12px;
color : #ffffff;
background-color : #003399;
border : medium none inherit;
text-align : center;
}
.box-footer {
position : relative;
bottom : 0;
padding : 8px 8px 8px 9px;
color : #eeeeee;
background-color : #003399;
border : medium none inherit;
text-align : center;
}


.column-one-content {
color : #ffffff;
text-align : justify;
background : #ff9900;
}
.column-two-content {
background : none repeat;
}
.column-three-content {
background : none repeat;
padding : 0;
}
.column-one-content , .column-two-content {
margin : 0;
padding : 8px 8px 8px 9px;
border : medium none inherit;
}
.box-wrap , .columns-float , .column-one , .column-two , .column-three , h2 {
position : relative;

}
body {
margin : 0;
padding : 0;
font-family : helvetica, arial, sans-serif;
font-size : 12px;
background-color : #ffffff;
color : #000000;
width : 780px;

margin-right : auto;
margin-left : auto;
}
div {
margin : 0;
padding : 0;
}
h1 {
margin : 0;
padding : 0;
font-size : 3em;
color : #ff9933;
}
h2 {
margin : 0 0 9px;
padding : 9px 0 0;
color : #003399;
font-size : 2em;
font-weight : bold;
text-align : center;
}
h3 {
margin : 0 0 9px;
padding : 0;
color : #eeeeee;
font-size : 1.5em;
font-weight : normal;
text-align : center;
}
h4 {
padding : 0 0 0 20px;
color : #003399;
font-size : 1.5em;
font-weight : normal;
text-align : left;
}
p {
margin : 0 0 9px 8px;
padding : 0 3px 0 9px;
color : #003399;
font-size : 1em;
font-weight : bold;
text-align : left;
}


</style>


<!-- Controls.css only used to style the layout controls and style display -->


</head>

<body>

<div class="box-wrap">

<div class="box-header">

<h1>Title</h1> <br/>
<h3>Text TextTextTextTextTextTextTextTextTextTextTextTextTe xtText</h3>
</div>

<div class="columns-float">

<div class="column-one">
<div class="column-one-content">
<img src="image.jpg" alt="" width="372" height="236" class="imageinbox" />
This is some text This is some text This is some text This is some text This is some text
This is some text This is some text This is some text This is some text This is some text
This is some text This is some text This is some text This is some text This is some text
This is some text This is some text This is some text This is some text This is some text
This is some text This is some text This is some text This is some text This is some text

</div>
</div>
<div class="column-two">
<div class="column-two-content">
<h4>
link one<br/>
link two<br/>
link three<br/>
</h4>


</div>
</div>
<div class="box-clear">&nbsp;</div><!-- # needed to make sure column 3 is cleared || but IE5(PC) and OmniWeb don't like it -->

</div><!-- close boxbody -->
<div class="column-three">
<div class="column-three-content">
<h2>column 3</h2>

<p>column filler</p>
<p>column filler</p>
<p>column filler</p>
<p><a href="#" title="fake link for testing">test link</a></p>
</div>
</div>
<div class="box-clear">&nbsp;</div><!-- # needed to make sure column 3 is cleared || but IE5(PC) and OmniWeb don't like it -->
<div class="nn4clear">&nbsp;</div><!-- # needed for NN4 to clear all columns || not needed by any other browser -->
<div class="box-footer">Credits go here

</div>

</div>



<form method="get" action="3Col_NN4_FFFF.mhtml">
</form>



</body>
</html>
[/code:1:d4d08a1b3c]
jolene is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 07-07-2004, 12:24 PM   #2 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Can you post a link to the page?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-07-2004, 12:29 PM   #3 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
you call for a <form> and right after you kill the form </form>. a <form></form> tag will create a table... that's what space you're seeing
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-07-2004, 12:45 PM   #4 (permalink)
Inactive
 
Join Date: 06-27-04
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

jolene is liked by many
Thanks Richline,
That worked just fine. I don't suppose I needed that Form for anything important? Oh and...thanks to Sara too, but I'm much too shy to give a link to the page...it's ..cough...still under construction.
jolene is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-07-2004, 12:48 PM   #5 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
no prob
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank Page! rob7676 Coding Forum 2 03-01-2008 07:31 AM
Search engine friendly box always displays at bottom of screen Jayesh Lodha Coding Forum 3 09-13-2006 06:10 PM
Brain is a blank Immo Web Design Lobby 45 04-20-2004 01:24 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 05:01 AM.
© Copyright 2008 V7 Inc