i’m sure this question has been asked over and over again and i’ve done a bit of research, but nothing quite fits what i need.
it’ll be a bit much for me to ask u guys for a complete code, so instead i’ll ask if there are any good sites that explains what’s needed in the css layout code. most of the sites i’ve seen show u a 3 column page maybe with a top row and then simply show u the code for it.
I’m trying to design a dual-post blog, which means i have to split the center into 2 columns, hence i need a 4-column layout.
in addition to 4 columns, i need a top row, and either a bottom row or a bottom frame nestled between the left and right frames. there’s a couple more details but u get the idea, and no tutorial i’ve googled has yielded a good code for me to edit..
case in point: i’ve no idea what codes to use for designing and css layout and would be grateful if someone could point me to a few pages so i can get this quite complicated layout off the ground.
thanks
[i]Originally posted by BonRouge [/i]
[B]... something like[URL=http://cheers-sendai.com/4f2c.htm]this[/URL] ?
The CSS is in the page (source).
I hope this helps.
(I'm sure there are more efficient ways to do it by the way - by using classes or whatever - but this works fine for me). [/B][/QUOTE]
[i]Originally posted by Jona [/i]
[B][font=trebuchet ms]Elastic changes based on font size; fluid or liquid changes based on screen resolution/browser size.[/font] [/B][/QUOTE]
[i]Originally posted by Jona [/i]
[B][font=trebuchet ms]Well, keep in mind that there are aslo a lot of users who still have 800x600 screens, as well. Always try to[url=http://www.vladdy.net/Demos/ElementSizing.html#header]choose the most efficient layout type[/url] .[/font] [/B][/QUOTE]
[code=php]html{
height: 100%;
max-height: 100%;
overflow: hidden
}
body{
height: 100%;
max-height: 100%;
overflow: hidden;
text-align: center;
background-color: #000000;
background-image: url('http://www.darkscythe.com/images/DarkChiiEdit.JPG');
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat
}
#container {
margin-left: auto;
margin-right: auto;
text-align: left;
display: inline;
background-color: white;
width: 940px;
height: 100%;
border: 0
}
#banner {
position: absolute;
top: 0;
left: 0;
margin: 0;
border: 0;
display: inline;
background-color: blue;
width: 940px;
height: 100px;
text-align: center;
z-index: 3
}
#leftmenu {
position: absolute;
top: 100px;
left: 0;
bottom: 50px;
width: 150px;
margin: 0;
display: inline;
background-color: red;
border: 0;
overflow: hidden;
z-index: 2
}
#textbox {
position: absolute;
top: 100px;
left: 150px;
bottom: 50px;
width: 640px;
margin: 0;
display: block;
background-color: yellow;
border: 0;
overflow: auto;
z-index: 1;
visibility: visible;
}
#kuraibox {
position: absolute;
display: inline;
background-color: purple;
top: 0;
left: 0;
bottom: 0;
width: 310px;
margin: 0;
border: 0;
font-color: #FFFFFF;
filter: alpha(opacity=30);
z-index: 2
}
#kimochibox {
position: absolute;
display: inline;
background-color: green;
top: 0;
left: 310px;
bottom: 0;
width: 310px;
margin: 0;
border: 0;
font-color: #FFFFFF;
filter: alpha(opacity=30);
z-index: 2
}
#rightmenu {
position: absolute;
top: 100px;
left: 790px;
bottom: 50px;
width: 150px;
margin: 0;
display: inline;
background-color: orange;
border: 0;
overflow: hidden;
z-index: 2;
}
#footer {
position: absolute;
bottom: 0;
left: 0;
width: 940px;
height: 50px;
margin: 0;
border: 0;
display: inline;
text-align: center;
font-color: #FFFFFF;
background-color: teal;
z-index: 5
}
p { font-color: teal }[/code]
[code=php]
<div id="container">
<div id="banner"> </div>
<div id="leftmenu"> </div>
<div id="textbox">
<div id="kuraibox"> </div>
<div id="kimochibox"> </div>
</div>
<div id="rightmenu"> </div>
<div id="footer"> </div>
</div>[/code]
[CODE]#container {
margin-left: -470px;
margin-right: auto;
text-align: left;
display: inline;
background-color: white;
width: 940px;
height: 100%;
border: 0;
position:absolute;
left:50%;
} [/CODE]
(By the way - what's the Japanese stuff about?)[/QUOTE]
[code=php]html {
height: 99%;
max-height: 99%;
...[/code]
0.1.9 — BETA 6.16