/    Sign up×
Community /Pin to ProfileBookmark

3 column design: 100% height for 2 sidediv’s

Hello! ?

Have a look here:
[url]http://alauda.be/tmp/test11.htm[/url]

Is it possible to give div’s with characters A and B the same height as the main div? (so that all gray disappears)

thanks for the help!

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@skilled1Apr 10.2006 — give them the height=100% param, same with the main table, and add a   in an extra column so it fills up that extra space
Copy linkTweet thisAlerts:
@Bobby_SauthorApr 10.2006 — Hmm, are you sure?

I tried some: http://alauda.be/tmp/test12.htm

But not ok ?
Copy linkTweet thisAlerts:
@UltimaterApr 10.2006 — This will work in Firefox but not in IE. It's a start.
<i>
</i> #main {
margin:0; padding:0;
background:gray;
overflow:hidden;
zoom:1
}

<i> </i>#left {
<i> </i> float:left;
<i> </i> width:150px;
<i> </i> margin:0; padding:0;
<i> </i> background:blue;
<i> </i> height: 100%;
<i> </i> }

<i> </i>#right {
<i> </i> float:right;
<i> </i> width:150px;
<i> </i> margin:0; padding:0;
<i> </i> background:red;
<i> </i> height:100%;
<i> </i> }
×

Success!

Help @Bobby_S spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...