|
|
 |
RE: FN-FORUM: Div styling problem
date posted 3rd February 2008 08:25
> -----Original Message-----
> Hi Sam, Andy (and anyone else who wants to take a look!),
>=20
> Right - it is up now; take a look at http://www.not42.net/index.php.
> The
> copyright (a div) should be inside the black framed text, along with
> the few
> random characters I put in to test how it would look. My problem is
> that I
> want the frame to expand downwards when more text is added, but I have
> gone
> a complete blank on how to do it. I have not added in the clear:both
> keyword
> you suggested yet Sam, as I wanted you to see the code first - will
> adding
> this in sort it out?
Hi Alex,
With the left: 179px; on your wrapper is that there for a reason? It =
looks a bit odd on my monitor are you really wanting to center on the =
page?
As Tony has said, remove the height on your wrapper and things will =
work.
Assuming you did want it centered this is what I would change in the css
body {
text-align:center;
}
#wrapper {
text-align:left;
width: 730px;
border: 1px solid black;
position: relative;
margin-top:80px;
margin-left:auto;
margin-right:auto;
}
Regards=20
Sam Morgan=20
--=20
WiredEyes Media / ServWise Advanced Hosting
tel (Uk): +44 (0)20 7100 2178
tel (Italy): +39 070 773 6543
web : www.wiredeyes.com / www.servwise.com
umop ap!sdn w,! aw dlaH
--=20
=E2=98=85=E2=98=85 Hosting from 63p per month using coupon : HALFPRICE
=E2=98=85=E2=98=85 Domain Names from =C2=A33.89/y & 128bit SSL =
Certificates only =C2=A38.00/y
|
 |
|