Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: Div styling problem

date posted 3rd February 2008 16:50

Hi Sam, Andy,

Thanks for your help on this - removing the height worked a treat. In =
answer
to Sam's question about centering, I had intended to center, but not the
text - I wanted the whole site centered on screen. I removed the =
position:
relative - with the margin: auto set, and the margin-top set to 80px, =
this
worked. It appears to be OK in FF 2.0.0.9 and IE7 on XP - using
browsercam.com, it seems to be OK for IE6 as well. There is one =
exception -
this is the layer that floats at the top right, containing the links. =
This
is not locked in place, so I will work on relocating this so that it =
stays
in the right place.

Thanks guys!

Alex.

-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Sam M =
-
www.wiredeyes.com
Sent: 03 February 2008 09:39
To: FN-FORUM / [EMAIL REMOVED]
Subject: RE: FN-FORUM: Div styling problem



> -----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=20
> the few random characters I put in to test how it would look. My=20
> 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=20
> 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
Sam Morgan
--
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
--
=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



--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.

To advertise here: http://www.freelancers.net/advertising.html



Messages by Day
February 29th 2008
February 28th 2008
February 27th 2008
February 26th 2008
February 25th 2008
February 24th 2008
February 23rd 2008
February 22nd 2008
February 21st 2008
February 20th 2008
February 19th 2008
February 18th 2008
February 17th 2008
February 16th 2008
February 15th 2008
February 14th 2008
February 13th 2008
February 12th 2008
February 11th 2008
February 10th 2008
February 9th 2008
February 8th 2008
February 7th 2008
February 6th 2008
February 5th 2008
February 4th 2008
February 3rd 2008
February 2nd 2008
February 1st 2008


Messages by Month
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000