Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Using CSS for page height
Old 12-08-2009, 10:17 PM Using CSS for page height
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
Hi,
I have converted my homepage from tables to div, http://www,thai-discovery.com .
The page length is different in IE8 and FF which is not too much of a problem.
Now I would like to update all my pages to divs, they will all be different height.
How do I do that using CSS? I was thinking of making a seperate externeral CSS sheet for the length for every page but that would take forever.
Is there any other way? Or is the will I have to put a height on every div for each page?
Does the above make sense?
__________________
[
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
]
TheDon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-09-2009, 03:30 AM Re: Using CSS for page height
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
When have you seen a website where ALL the pages are the same height?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-09-2009, 07:29 AM Re: Using CSS for page height
Experienced Talker

Posts: 48
Name: Pieter
Location: Holland
Trades: 0
Height: auto;

this wil let the div height expand for as long as the data goes.
elcosmo is offline
Reply With Quote
View Public Profile
 
Old 12-09-2009, 09:39 AM Re: Using CSS for page height
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
Height: auto;
this wil let the div height expand for as long as the data goes.
And it's completely pointless because the div will stretch to hold what's in it by DEFAULT! As long as you're not nailing down a height.

I'll never understand this obsession with all pages being the same height or having to fill the viewport -- really.. visitors don't care if the pages are not all the same height, they're (hopefully) there for the CONTENT you offer
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-10-2009, 06:15 AM Re: Using CSS for page height
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
I dont want all the pages to have the same height, what I meant was my 3 columns of my website to have the same height.

Like if I change it to auto, the left and right column will be shorter then my content (middle column)
__________________
[
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
]
TheDon is offline
Reply With Quote
View Public Profile
 
Old 12-10-2009, 06:23 AM Re: Using CSS for page height
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
here's my solution.
http://www.candsdesign.co.uk/article...eight-columns/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-10-2009, 03:05 PM Re: Using CSS for page height
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I agree with Chris - use the faux columns method and save yourself a lot of aggravation.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Using CSS for page height
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45423 seconds with 12 queries