Daakuryu
07-26-2008, 09:42 PM
Hey there,
first off I want to say thanks for the advice I was given the other day;
checking my css and html cleaned up a few things in my code. which made IE work a tad better. I'm still coding specifically for FF for now until if worked out the kinks.
Unfortunately the advice I got did not fix the real issue I had last time; basically the logo in the footer portion of the page will step over the content portion if the display size or browser size goes under a certain size.
site is slightly nsfw due to 2 ladies clad in lingerie
http://www.salonatouchofclass.com
To try and fix the issue I've tried to make modifications to make the site liquid. Unfortunately that still does not fix my issue (so I must be messing up somewhere) and it has disabled the vertical scrollbar that overflow:auto; caused to appear prior to liquid mods.
Same site with liquid modifications
http://daakuryu.boldlygoingnowhere.org
All I want is this;
- Header and Menu are always same height, adjustable width
- Right Bar and Left bar always same width, adjustable height
- Footer always same height, adjustable width.
- Content panel adjust with and height based space it has inside the
header/footer/left/right boundaries and has a vertical scrollbar inside in case there is too much content for the display area.
- Logo stays inside the darn footer, centered to the width of the footer.
I shouldn't be having this much trouble :(
Css of "liquid version"
html {
overflow:hidden;
height:100%;
}
body
{
background-color: #006699;
color: #ffffff
margin:0;
padding:0;
height:100%;
}
ul.Menu
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
a.Menu
{
float:left;
width:6em;
text-decoration:none;
color:white;
background-color:purple;
padding:0.2em 0.6em;
border-right:1px solid blue;
}
a.Menu:hover
{
background-color:#ff3300;
}
li.Menu
{
display:inline
}
#Maindiv
{
position: absolute;
height:100%;
width:100%;
Z-index:0;
}
#Container
{
padding-bottom:110px;
}
#Container:after
{
content:" ";
display:block;
clear:both;
}
#Contain {
position:relative;
margin-left:200px;
}
#Banner
{
top:0px;
left:0px;
width:100%;
height:110px;
Z-index:1;
}
#Menu
{
top:110px;
height:1.6em;
width: 100%;
background-color:purple;
Z-index:1;
}
#Leftbar
{
float:left;
height:100%;
width:200px;
text-align:center;
}
#Rightbar
{
float:right;
height:100%;
width:200px;
text-align:center;
}
#Content
{
overflow:auto;
}
#Bottom
{
position:absolute;
bottom:0;
height:110px;
width:100%;
text-align:center;
}
Css code for non liquid version
html {
overflow: hidden;
}
body
{
background-color: #006699;
color: #ffffff
}
ul.Menu
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
a.Menu
{
float:left;
width:6em;
text-decoration:none;
color:white;
background-color:purple;
padding:0.2em 0.6em;
border-right:1px solid blue;
}
a.Menu:hover
{
background-color:#ff3300;
}
li.Menu
{
display:inline
}
Div.Maindiv
{
position: absolute;
top:0px;
left:0px;
height:100%;
width:100%;
Z-index:0;
}
Div.Banner
{
position: absolute;
top:0px;
left:0px;
width:100%;
height:110px;
Z-index:1;
}
Div.Menu
{
position: absolute;
top:110px;
left:0px;
height:1.6em;
width: 100%;
background-color:purple;
Z-index:1;
}
Div.Leftbar
{
position: absolute;
top:140px;
left:0px;
height:100%;
width:15%;
Z-index:1;
}
Div.Rightbar
{
position: absolute;
top:140px;
left:85%;
height:100%;
width:15%;
Z-index:1;
}
Div.Content
{
position: absolute;
top:140px;
left:15%;
height:60%;
width:70%;
overflow: auto;
Z-index:1;
}
Div.Bottom
{
position: absolute;
top:78%;
left:0px;
height:100px;
width:100%;
Z-index:1;
}
first off I want to say thanks for the advice I was given the other day;
checking my css and html cleaned up a few things in my code. which made IE work a tad better. I'm still coding specifically for FF for now until if worked out the kinks.
Unfortunately the advice I got did not fix the real issue I had last time; basically the logo in the footer portion of the page will step over the content portion if the display size or browser size goes under a certain size.
site is slightly nsfw due to 2 ladies clad in lingerie
http://www.salonatouchofclass.com
To try and fix the issue I've tried to make modifications to make the site liquid. Unfortunately that still does not fix my issue (so I must be messing up somewhere) and it has disabled the vertical scrollbar that overflow:auto; caused to appear prior to liquid mods.
Same site with liquid modifications
http://daakuryu.boldlygoingnowhere.org
All I want is this;
- Header and Menu are always same height, adjustable width
- Right Bar and Left bar always same width, adjustable height
- Footer always same height, adjustable width.
- Content panel adjust with and height based space it has inside the
header/footer/left/right boundaries and has a vertical scrollbar inside in case there is too much content for the display area.
- Logo stays inside the darn footer, centered to the width of the footer.
I shouldn't be having this much trouble :(
Css of "liquid version"
html {
overflow:hidden;
height:100%;
}
body
{
background-color: #006699;
color: #ffffff
margin:0;
padding:0;
height:100%;
}
ul.Menu
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
a.Menu
{
float:left;
width:6em;
text-decoration:none;
color:white;
background-color:purple;
padding:0.2em 0.6em;
border-right:1px solid blue;
}
a.Menu:hover
{
background-color:#ff3300;
}
li.Menu
{
display:inline
}
#Maindiv
{
position: absolute;
height:100%;
width:100%;
Z-index:0;
}
#Container
{
padding-bottom:110px;
}
#Container:after
{
content:" ";
display:block;
clear:both;
}
#Contain {
position:relative;
margin-left:200px;
}
#Banner
{
top:0px;
left:0px;
width:100%;
height:110px;
Z-index:1;
}
#Menu
{
top:110px;
height:1.6em;
width: 100%;
background-color:purple;
Z-index:1;
}
#Leftbar
{
float:left;
height:100%;
width:200px;
text-align:center;
}
#Rightbar
{
float:right;
height:100%;
width:200px;
text-align:center;
}
#Content
{
overflow:auto;
}
#Bottom
{
position:absolute;
bottom:0;
height:110px;
width:100%;
text-align:center;
}
Css code for non liquid version
html {
overflow: hidden;
}
body
{
background-color: #006699;
color: #ffffff
}
ul.Menu
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
a.Menu
{
float:left;
width:6em;
text-decoration:none;
color:white;
background-color:purple;
padding:0.2em 0.6em;
border-right:1px solid blue;
}
a.Menu:hover
{
background-color:#ff3300;
}
li.Menu
{
display:inline
}
Div.Maindiv
{
position: absolute;
top:0px;
left:0px;
height:100%;
width:100%;
Z-index:0;
}
Div.Banner
{
position: absolute;
top:0px;
left:0px;
width:100%;
height:110px;
Z-index:1;
}
Div.Menu
{
position: absolute;
top:110px;
left:0px;
height:1.6em;
width: 100%;
background-color:purple;
Z-index:1;
}
Div.Leftbar
{
position: absolute;
top:140px;
left:0px;
height:100%;
width:15%;
Z-index:1;
}
Div.Rightbar
{
position: absolute;
top:140px;
left:85%;
height:100%;
width:15%;
Z-index:1;
}
Div.Content
{
position: absolute;
top:140px;
left:15%;
height:60%;
width:70%;
overflow: auto;
Z-index:1;
}
Div.Bottom
{
position: absolute;
top:78%;
left:0px;
height:100px;
width:100%;
Z-index:1;
}