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: css guru needed help with css

date posted 30th January 2005 23:41

Hi HRH,

I agree with you the stylesheet is in a mess, I've been trying different
styles to find what I'm looking for.

The margin in question arises from the different way's IE and mozzila
treat margins, IE measures from the bottom of the last layer, while
mozzila correctly identifies the hierarchal structure of
, so I was trying to set a fix that would allow IE and
mozzila to work. My masthead is exactly 178pixels high, this measurement
would stop mozzila browsers from pushing all other layers under the
fixed head.

Kind regards

D.G

-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Dai
Williams
Sent: 31 January 2005 00:18
To: FN-FORUM / [EMAIL REMOVED]
Subject: RE: FN-FORUM: css guru needed help with css



> -----Original Message-----
> From: David [EMAIL REMOVED]
>
> Hi CSS Guru ALL,
>
> I am really stuck and if someone reading this knows the
> answer; then please let me know.
>
> If you visit http://www.linkhomes2000.co.uk view with mozzila
> you will see the start of the problem, I have used the
> snippet below to correct: navbar and content but it has no
> effect on headline which is the left bar. What am I doing
> wrong? The weird thing is, it actually moves text down, but
> not the bar. I know this for sure, as I have set z-index:100
> on all, and the left bar is being measured from the HTML tag.
> Totally confused, please help, is Tony around? Not seen
> anything from him for sometime.
>
> Kind Regards
>
> D.G
>
>
> }
> body>#navbar,#headlines #advert2a,#content #advert2{
> margin:203px 0 0 0;
> }

I am no guru, but the masthead is set as position: fixed; Firefox
correctly treats that as fixed wrt the viewport which means it does not
move as you scroll and is therefore outside the normal flow of the
document. What were you trying to achieve with that? If it was just to
have the masthead at the top of the page it should not be necessary?

That aside, your headlines container appears to have margin set to 0 I
cannot see the 203px margin anywhere?

You might want to clean up your stylesheet too, there appear to e far
too many styles defined for any one page and a lot of information is
duplicated which could be defined a lot simpler.

HTH,

Dai

TechnologyAngel
http://www.technologyangel.co.uk/



--
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
January 31st 2005
January 30th 2005
January 29th 2005
January 28th 2005
January 27th 2005
January 26th 2005
January 25th 2005
January 24th 2005
January 23rd 2005
January 22nd 2005
January 21st 2005
January 20th 2005
January 19th 2005
January 18th 2005
January 17th 2005
January 16th 2005
January 15th 2005
January 14th 2005
January 13th 2005
January 12th 2005
January 11th 2005
January 10th 2005
January 9th 2005
January 8th 2005
January 7th 2005
January 6th 2005
January 5th 2005
January 4th 2005
January 3rd 2005
January 2nd 2005
January 1st 2005


Messages by Month
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
March 2005
January 2005


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