Web Design and Development Forums

Anchoring layers in Firefox

This is a discussion on "Anchoring layers in Firefox" within the New to Web Design section. This forum, and the thread "Anchoring layers in Firefox are both part of the Beginners category.


Go Back   Webforumz.com > Beginners > New to Web Design

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Apr 19th, 2008, 10:47   #1 (permalink)
Junior Member
 
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Anchoring layers in Firefox

Hi All,
I'm a bit of a novice with websites and would be very grateful for some help please. I've designed my index page in Dreamweaver using layers to put the graphics and text in. The layers all line up in ie and the top banner anchors to the top and edge of the page, however they all go out of line in Firefox.
Is there a way I can anchor them?
Thanks for any help you can give,
Mark.
mark_88_turbo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 11:35   #2 (permalink)
Highly Reputable Member
 
Join Date: Oct 2007
Location: Stockport
Age: 16
Posts: 738
Blog Entries: 1
Re: Anchoring layers in Firefox

Could you provide a link to your page please mate
unitedcraig is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 13:11   #3 (permalink)
Junior Member
 
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Re: Anchoring layers in Firefox

Yes, it's:http://www.lotusespritturbo.com
mark_88_turbo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 13:14   #4 (permalink)
Highly Reputable Member
 
Join Date: Oct 2007
Location: Stockport
Age: 16
Posts: 738
Blog Entries: 1
Re: Anchoring layers in Firefox

You are using tables for layout, have you looked into using CSS for the layout?
unitedcraig is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 15:56   #5 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: Anchoring layers in Firefox

Sorry I must be blind I dont see a difference in ff.

Pat
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 15:57   #6 (permalink)
Junior Member
 
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Re: Anchoring layers in Firefox

No, never heard of them, just Googled it and it says cascading style sheets. Is that something seperate to Dreamweaver?
As you'll see, the website design is very basic!
mark_88_turbo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 16:01   #7 (permalink)
Junior Member
 
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Re: Anchoring layers in Firefox

Hi Pat,
in ie, the top banner and central picture are justified to the top and left edge. In Firefox the top banner is offset and from the top and side edge, as is the central picture. I think the layers move in Firefox, but I don't know for sure.
mark_88_turbo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 16:18   #8 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: Anchoring layers in Firefox

try this it should sort out firefox but the effects on ie could be drastic.
Find this piece of code.

HTML: Select all
<div id="Layer2" style="position:absolute; left:3px; top:125px; width:786px; height:3524px; z-index:18; visibility: visible">
And change top:125px; to top:101px;

Then find


HTML: Select all
<div id="Layer4" style="position:absolute; left:0px; top:0px; width:791px; height:132px; z-index:19; visibility: visible">
And change top:0px; to top:-20px;

Give it a try.

Pat
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 16:57   #9 (permalink)
Junior Member
 
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Re: Anchoring layers in Firefox

Thanks very much. I'll give it a try .
mark_88_turbo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 18:02   #10 (permalink)
Junior Member
 
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Re: Anchoring layers in Firefox

Yes, it mucks it up in ie . Hmm . . . what to do.
mark_88_turbo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 18:10   #11 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: Anchoring layers in Firefox

thought it might.

You could use conditional comments for ie. See this link.

http://creativecoding.webforumz.com/...8/january/faq/

Take a look, basically it allows you to specify a style that only ie will use and ff will ignore.

Any problems just post back.

Pat
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 19th, 2008, 19:00   #12 (permalink)
Junior Member
 
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Re: Anchoring layers in Firefox

Thanks, I'll take a look.
mark_88_turbo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 20th, 2008, 21:41   #13 (permalink)
Up'n'Coming Member
 
Join Date: Apr 2008
Location: Or-Yehuda, Israel
Age: 60
Posts: 88
Re: Anchoring layers in Firefox

Try
Code: Select all
<body style="margin: 0pt;" marginheight="0" marginwidth="0">
as a substitute to your leftmargin and topmargin in your bodytag
shalom_m is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 21st, 2008, 08:48   #14 (permalink)
Chief Moderator
 
aso186's Avatar
 
Join Date: Oct 2007
Location: UK
Posts: 715
Blog Entries: 2
Send a message via Skype™ to aso186
Re: Anchoring layers in Firefox

shalom_m, there's no need for marginheight and marginwidth. Besides, they're depracated attributes. Just use;
Code: Select all
<body style="margin:0">
Better yet, use an external stylesheet with;
Code: Select all
body {
    margin: 0
}
__________________

aso186 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Layers WEB New to Web Design 7 May 29th, 2007 23:26
Layers GCrame5832 CSS Forum 6 Dec 31st, 2005 21:42
Using layers in CSS jwalker80 CSS Forum 3 Dec 21st, 2005 14:08
layers forry HTML Forum 7 Sep 21st, 2005 08:42
Need help with layers davidsnave CSS Forum 0 Aug 29th, 2005 23:26



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 20:10.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59