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 14th, 2002, 08:37 PM
blissdev blissdev is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 78 blissdev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Send a message via AIM to blissdev
CSS Problem in NS7

I don't have any idea what this page looks like in older browsers, but i know that it looks and works fine in IE 6 but the footer element does not appear correctly in NS7. Can someone help me out here?


Main Page
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html>
    <
head>
        <
title>Inside Autism - </title>
        <!-- 
Meta Tags         -->
        <
meta name="keywords" content="autism, research, doctors, news, events, links, forums, message, board, community" />
        <
meta name="description" content="A portal for parents of autistic children. Information is Power." />
        <
meta name="author" content="Jordan Arentsen - Bliss Development Inc." />
        <
meta name="authorware" content="Homesite 5.1" />
        <!-- 
Linked Styles    -->
        <
link rel="stylesheet" href="frontend/css/layout.css" />
        <
link rel="stylesheet" href="frontend/css/elements.css" />
    </
head>
    <
body>
        <
div id="content">
            <
div class="header">
                <
div class="image">
                
                </
div>
            </
div>
            <
div class="nav">
                <
div class="image">
                
                </
div>            
            </
div>
            <
div class="main">
            
Hello
            
</div>
            <
div class="footer">
            
© 2002 Inside Autism Org.
            </
div>
        </
div>
    </
body>
</
html


Layout.css
PHP Code:
/* Defaults */
body {
    
margin0;
    
padding0;
    }

/* Content */

#content {
    
positionabsolute;
    
width710px;
    
heightauto;
    
left50%;
    
margin-left: -355px;
    
margin-top20px;
    
borderblack 1px solid;
    }
.
header {
    
width100%;
    
background#c0c0c0;
    
heightauto;
    }
.
nav {
    
width100%;
    
background#0033cc;
    
heightauto;
    }
.
main {
    
width100%;
    
heightauto;
    }
.
footer {
    
width100%;
    
height10px;
    
background#c0c0c0;
    
bottom0;
    
margin0px;
    
padding2px;
    } 


elements.css
PHP Code:
/* Header Elements */
.header .image {
    
width    20px;
    
height    100px;
    }

/* Nav Elements */
.nav .image {
    
width    10px;
    
height    30px;
    }
    
/* Footer Elemements */
.footer p {
    
font-size    8pt;
    
font-family    verdana,ms sans serif;
    } 


It is probably my fault, but i cannot figure out where i went wrong.

Bliss Dev
__________________
--blissdev

Reply With Quote
  #2  
Old December 15th, 2002, 08:04 AM
Tuxie Tuxie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Inside the GNU/Hurd kernel
Posts: 492 Tuxie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m
Reputation Power: 12
It is your fault,not Mozilla's.Because you have this code:
.footer {
width: 100%;
height: 10px;
10px is not enough for the text,change it to something higher and it will work.

Reply With Quote
  #3  
Old December 15th, 2002, 02:40 PM
blissdev blissdev is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 78 blissdev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Send a message via AIM to blissdev
I fixed that problem, but now i have a new problem. My footer is not all the way to the bottom in ns7. I've tried a few things and none have worked. I have posted the page at...

http://insideautism.org/

Here is the new css...


/* Defaults */
body {
margin: 0;
padding: 0;
}

/* Content */

#content {
position: absolute;
width: 710px;
height: auto;
left: 50%;
margin-left: -355px;
margin-top: 20px;
border: black 1px solid;
}
.header {
width: 100%;
background: #c0c0c0;
height: auto;
}
.nav {
width: 100%;
background: #0033cc;
height: auto;
}
.main {
width: 100%;
height: auto;
padding: 10px;
}
.footer {
width: 100%;
height: auto;
background: #c0c0c0;
overflow: hidden;
}

/* Main Layout */
.main .leftcol {

}
.main .rightcol {

}


how can i get rid of the space at the bottom.

Reply With Quote
  #4  
Old December 15th, 2002, 03:50 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 3,009 Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Days 17 h 35 m 11 sec
Reputation Power: 1223
this seems to work,
checked it ie6, moz1.3a, opera7b

.footer {
position:relative;
bottom:0px;
width: 100%;
height: 15px;
background: #c0c0c0;
overflow: hidden;
}

Reply With Quote
  #5  
Old December 15th, 2002, 04:12 PM
blissdev blissdev is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 78 blissdev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Send a message via AIM to blissdev
Thanks Akh, i will try that.

You are a genius. It works like a dream. Thanks man.

Last edited by blissdev : December 15th, 2002 at 04:17 PM.

Reply With Quote
  #6  
Old December 15th, 2002, 04:45 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 3,009 Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Days 17 h 35 m 11 sec
Reputation Power: 1223
no problem

Reply With Quote
  #7  
Old December 16th, 2002, 07:31 PM
blissdev blissdev is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 78 blissdev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Send a message via AIM to blissdev
Another problem that i'm having, but is not browser specific. When my page becomes vertically larger than the browser window it seems that i cannot add space underneath it. Does anyone know how i would do this? I've tried so many things, but i am not an expert. Please help me!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Problem in NS7

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