Height problem

This is a discussion on "Height problem" within the Web Page Design section. This forum, and the thread "Height problem are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 16th, 2007, 12:14
frinkky's Avatar
Design Admin
Join Date: Oct 2006
Location: Southampton
Age: 30
Posts: 252
Blog Entries: 2
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via MSN to frinkky Send a message via Skype™ to frinkky
Height problem

Hi,

Currently experimenting with a veritcally split page down the middle, one colour one side, another the other yada yada.

I have a couple div tags in the html each assigned to a different class (left1 & right1), left1 having the same background colour as the BODY as defined in the css file. right1 has the other colour defined. Now, in Firefox, the right1 colour seems to follow the 'height: 100%;' function in the css (a bit to well, it seems to add the 50px padding-top to the 100%) and looks ok - in IE6 however the right1 colour stops right after the content finishes.

Any ideas? Oh heres the link: http://storm-wind.com/2007SW/index.htm

CSS:
Code: Select all
 
/* CSS Document */

BODY {
margin: 0px;
padding-left: 0px;
padding-right: 0px;
background-color: #B9C0E1;
min-width: 775px;
background-image: url(../images/split1.jpg);
background-position: 50%;
background-repeat: repeat-y;
}

DIV.left1 {
border: none;
position: absolute;
left: 0%;
padding-left: 0px;
padding-right: 0px;
background-color: #B9C0E1;
width: 50%;
height: 100%;
}

DIV.right1 {
border: none;
position: absolute;
left: 51%;
padding: 50px;
padding-bottom: 0px;
background-color: #3D60A5;
height: 100%;
}
Last Blog Entry: Fobriwap! (Mar 10th, 2008)
Reply With Quote

  #2 (permalink)  
Old Jan 16th, 2007, 14:49
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,604
Thanks: 0
Thanked 6 Times in 6 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Height problem

Maybe try this for starters:

Save some lines of code.

Code: Select all

BODY {
margin:0;
padding:0;
min-width:775px;
background:#d6e6f6; url(../images/split1.jpg) no-repeat center top;
}
The problem is, IE is not going to stretch that right column 100%.

You also have a padding-top:50px?
__________________
I've got <style> and .class

Last edited by moojoo; Jan 16th, 2007 at 14:51.
Reply With Quote
  #3 (permalink)  
Old Jan 16th, 2007, 15:14
frinkky's Avatar
Design Admin
Join Date: Oct 2006
Location: Southampton
Age: 30
Posts: 252
Blog Entries: 2
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via MSN to frinkky Send a message via Skype™ to frinkky
Re: Height problem

Furry 'nuff. I'll have to try something else. Thanks for the input.

Woo, idea forming..... may be back later if it goes titsup
Last Blog Entry: Fobriwap! (Mar 10th, 2008)
Reply With Quote
Reply

Tags
firefox, height, ie6

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
100% height on content problem jasonmillward Web Page Design 1 Apr 9th, 2008 14:08
CSS Div height problem dryjoy Web Page Design 1 Jan 6th, 2008 18:05
box height problem in Safari Colm Osiris Web Page Design 3 Oct 27th, 2007 14:52
Firefox and 100% height problem monkey64 Web Page Design 17 Sep 29th, 2006 23:09
css problem - div height edd_jedi Web Page Design 3 Aug 30th, 2006 19:38


All times are GMT. The time now is 22:30.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43