/    Sign up×
Community /Pin to ProfileBookmark

Problems with 3 col layout.

OK. Did some poking around at these sites ya’ll listed. Found one ([url]www.csscreator.com[/url]) that produced the code I’m currently using. It works as far as resizing goes but the 3 columns don’t extend down the total height of the page.

Could someone look at this and see if they can see the problem? ([url]www.cooltoneamps.com[/url])

Thanks,
Rut

css code:

html,body{
margin:0;
padding:0;
}

#pagewidth {
background-color: #900000;
max-width:80;
min_width:40;
}

#header {
background-color: #900000;
position: relative;
height: 11em;
width: 100%;
}

#leftcol {
background-color: #900000;
float: left;
position: relative;
height: 100%;
}

#twocols {
float: right;
position: relative;
width: 85%;
}

#rightcol {
background-color: #900000;
float: right;
position: relative;
width: 18%;
}
#maincol {
float: left;

display::inline;
position: relative;
width: 82%;
background-color: #FFFFFF;
background-image: url(churchbuilding.jpg);
}

.clearfix:after {
content: “.”;
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.clearfix{display: inline-table;}

/* Hides from ID-mac */
*
html .clearfix{height: 1%;}
.clearfix{display: block;}

#leftcol{display:none;}

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYOct 24.2005 — pretty empty isn't it?

you really should put the content first

and check it in firefox, because even with no content at all, there already are big differences between FF and Internet Explorer
Copy linkTweet thisAlerts:
@avaOct 24.2005 — Looks to me like you need to set the table height to 100% (not the columns but the actual table). Try adding

[CODE]table {
height: 100%
}[/CODE]
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYOct 24.2005 — there is no table on the page!
Copy linkTweet thisAlerts:
@SylvainOct 24.2005 — or is it a miscopy thing?

see display::inline
Copy linkTweet thisAlerts:
@rutledjauthorOct 24.2005 — pretty empty isn't it?

you really should put the content first

and check it in firefox, because even with no content at all, there already are big differences between FF and Internet Explorer[/QUOTE]



I get the same behavior in FF. The center col actually contains a picture. I'm not using tables (don't mean to be anyway.
×

Success!

Help @rutledj 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.20,
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,
)...