Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1764 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

HTML/CSS Help Please

Thread title: HTML/CSS Help Please
Reply    
    Thread tools Search this thread Display Modes  
02-05-2011, 08:20 PM
#1
KewL is offline KewL
Status: OG
Join date: Apr 2006
Location: California
Expertise: Design, Music, Xhtml, Css
Software: Photoshop, Coda, FL Studio
 
Posts: 2,007
iTrader: 11 / 100%
 

KewL is an unknown quantity at this point

  Old  HTML/CSS Help Please

Hey guys I'm really having a lot of trouble with this, I tried reading a bunch of tutorials but none of them really fit for my layout.

Basically I need the page to stretch to 100% of the browser height with the footer at the bottom.

Right now It cuts off at the end of the content. I got the footer to stick earlier, but then the content background wasn't stretching. It gets tricky because of the header and navigation at the top, and the 2 background images.

Here's the html version:
http://worldofkewl.com/html/


Help would greatly be appreciated. Thanks.

Reply With Quote
02-06-2011, 02:09 AM
#2
Gaz is offline Gaz
Gaz's Avatar
Status: Request a custom title
Join date: Apr 2007
Location: UK
Expertise: Code & Programming
Software: Coda, TextMate, Sublime 2
 
Posts: 2,097
iTrader: 26 / 100%
 

Gaz will become famous soon enough Gaz will become famous soon enough

Send a message via Skype™ to Gaz

  Old

Have a look at the "sticky footer" technique.

Reply With Quote
Thanked by:
KewL (02-06-2011)
02-06-2011, 05:02 AM
#3
KewL is offline KewL
Status: OG
Join date: Apr 2006
Location: California
Expertise: Design, Music, Xhtml, Css
Software: Photoshop, Coda, FL Studio
 
Posts: 2,007
iTrader: 11 / 100%
 

KewL is an unknown quantity at this point

  Old

Thats for when you want the footer to scroll with the page right? I'm looking to have the blank space stretch to 100% of the screen, you know?

Reply With Quote
02-06-2011, 09:01 AM
#4
DigiTheme is offline DigiTheme
DigiTheme's Avatar
Status: Junior Member
Join date: Sep 2010
Location: Romania & U.S.
Expertise: Coding and Design
Software: Photoshop and Notepad++
 
Posts: 89
iTrader: -1 / 0%
 

DigiTheme is an unknown quantity at this point

Send a message via Skype™ to DigiTheme

  Old

Reply With Quote
Thanked by:
KewL (02-06-2011)
02-06-2011, 05:43 PM
#5
KewL is offline KewL
Status: OG
Join date: Apr 2006
Location: California
Expertise: Design, Music, Xhtml, Css
Software: Photoshop, Coda, FL Studio
 
Posts: 2,007
iTrader: 11 / 100%
 

KewL is an unknown quantity at this point

  Old

Originally Posted by DigiTheme View Post
Yeah I read that earlier and actually followed it. The problem is is the middle section cuts off after theres no more content.

Reply With Quote
02-28-2011, 05:12 PM
#6
ivanzavala is offline ivanzavala
Status: Junior Member
Join date: Jul 2009
Location: Tijuana, México
Expertise: Web Design,CSS,Photoshop
Software: Photoshop, TopStyle, Firefox
 
Posts: 43
iTrader: 0 / 0%
 

ivanzavala is on a distinguished road

  Old

Have you tried with a clear div? Use an empty div after your last content and add this values "width:100%; clear:both;" value.

Hope that helps.

02-28-2011, 09:36 PM
#7
cvwebb is offline cvwebb
Status: I'm new around here
Join date: Jul 2010
Location: Ohio
Expertise: Design
Software: Photoshop, Dreamweaver, Flash
 
Posts: 2
iTrader: 0 / 0%
 

cvwebb is on a distinguished road

  Old

Did you find a solution? If not, I've ran into the same issue to. Here's my fix.

body{
width:100%;
height:100%;}

make sure your footer is outside of the main div or wrapper and apply the attribute:

bottom:0;

03-05-2011, 07:19 AM
#8
david smigiel is offline david smigiel
Status: I'm new around here
Join date: Mar 2011
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

david smigiel is on a distinguished road

  Old

Here are the code for my style sheet:
body {margin: 0px; padding: 0px; font-size: 15px;
font-family: Arial, Helvetica, sans-serif;
background: url(domepaper.jpg) no-repeat 0% 0%}

Reply With Quote
03-08-2011, 09:18 AM
#9
ciint is offline ciint
Status: I'm new around here
Join date: Jul 2010
Location: california,US
Expertise: SEO,SEM,web design,web develop
Software: firefox
 
Posts: 20
iTrader: 0 / 0%
 

ciint is on a distinguished road

  Old  HTML/CSS Help Please

You should use outer table or div size in 100% not in fixed pixels,when you open your application in different platform it automatically adjust.

Reply With Quote
04-24-2011, 01:33 PM
#10
andrewsuzuki is offline andrewsuzuki
Status: I'm new around here
Join date: Apr 2011
Location: Connecticut, United States
Expertise: design/development
Software: Coda, Photoshop
 
Posts: 6
iTrader: 0 / 0%
 

andrewsuzuki is on a distinguished road

  Old

Yeah, by default most browsers put a margin/padding on the borders of any page. In order to remove this, simply write this at the top of your stylesheet:
Code:
* {
margin:0;
padding:0;
border:none;
}
That will "reset" the styles and remove the margin border.

Reply With Quote
Reply    


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

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed