Forum Moderators: not2easy
echo("<div id = output>");
foreach($arrayOfFileNames as $value){
echo("<p>$value</p>");
}
echo("</div>");
}
#right{
align: right;
padding-right: 1em;
position: relative;
float: right;
font: 20px bold;
text-decoration: none;
}
#bottom{
float: right;
position: relative;
top: 1em;
bottom: 2em;
right: 1em;
font: 20px bold;
}
a.info {
position: relative;
z-index: 24;
color: #006595;
margin-left: 1em;
text-decoration: none;
font-family: cursive;
}
a.info:hover {
z-index: 25;
background-color: #006595;
text-decoration: none;
color: white;
font-family: cursive;
}
a.info span {
display: none
}
.spanClass{
padding-left: .5em;
padding-top: .5em;
font: 17px bold cursive;
padding-bottom: .5em;
padding-right: .5em;
text-decoration: none;
font-family: cursive;
}
a.info:hover span { /*the span will display just on :hover state*/
display: block;
position: absolute;
top: 2em;
right: 2em;
width: 30em;
border: 3px groove #006595;
background-color: #F0F0EC;
color: #006595;
font-family: cursive;
text-decoration: none;
}
a.ex{
position: relative;
z-index: 24;
color: #006595;
margin-left: 1em;
text-decoration: none;
}
a.ex:hover {
z-index: 25;
background-color: #006595;
text-decoration: none;
color: white;
}
a.ex span {
display: none
}
.exClass{
padding-left: .5em;
padding-top: .5em;
font: 17px bold cursive;
padding-bottom: .5em;
padding-right: .5em;
text-decoration: none;
}
a.ex:hover span { /*the span will display just on :hover state*/
display: block;
position: absolute;
top: 2em;
left: 2em;
width: 50em;
border: 3px groove #006595;
background-color: #F0F0EC;
color: #006595;
font-family: cursive;
text-decoration: none;
}
and here is my body css tag
html, body{
color:#006595;
font-family: cursive;
background-image: url("fcBG.gif");
width: 100%
}
I have some text tags but they only contain font, text-align, and padding properties. Any suggestions? Thanks,
<div id = 'output2'>
<p class = 'text'>A really long string goes here with some returns outputted by php
</p>
</div>
<div id = 'output3'>[B]<p>[/B]A really long string goes here with some returns outputted by php
</p>
</div>
Anyways - you may want to make the outer divs position:absolute and take them out of the flow of the document. Of course, it will probably still naturally end at the end of the end of the browser screen - so you may want to specify a width which will roughly work for all of your output. Try it just as position:absolute first though.