|
|
 |
April 19th, 2008, 07:47 AM
|
#1
|
|
New Member
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
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.
|
|
|
April 19th, 2008, 08:35 AM
|
#2
|
|
Highly Reputable Member
SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 18
Posts: 844
Thanks: 0
Thanked 1 Time in 1 Post
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
Could you provide a link to your page please mate
|
|
|
April 19th, 2008, 10:11 AM
|
#3
|
|
New Member
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
|
|
|
April 19th, 2008, 10:14 AM
|
#4
|
|
Highly Reputable Member
SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 18
Posts: 844
Thanks: 0
Thanked 1 Time in 1 Post
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
You are using tables for layout, have you looked into using CSS for the layout?
|
|
|
April 19th, 2008, 12:56 PM
|
#5
|
|
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 461
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
Sorry I must be blind I dont see a difference in ff.
Pat
|
|
|
April 19th, 2008, 12:57 PM
|
#6
|
|
New Member
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
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!
|
|
|
April 19th, 2008, 01:01 PM
|
#7
|
|
New Member
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
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.
|
|
|
April 19th, 2008, 01:18 PM
|
#8
|
|
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 461
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
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.
<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
<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
|
|
|
April 19th, 2008, 01:57 PM
|
#9
|
|
New Member
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
Thanks very much. I'll give it a try  .
|
|
|
April 19th, 2008, 03:02 PM
|
#10
|
|
New Member
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
Yes, it mucks it up in ie  . Hmm . . . what to do.
|
|
|
April 19th, 2008, 03:10 PM
|
#11
|
|
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 461
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
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
|
|
|
April 19th, 2008, 04:00 PM
|
#12
|
|
New Member
Join Date: Apr 2005
Location: Oxfordshire
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
Thanks, I'll take a look.
|
|
|
April 20th, 2008, 06:41 PM
|
#13
|
|
Reputable Member
Join Date: Apr 2008
Location: Or-Yehuda, Israel
Age: 61
Posts: 281
Thanks: 0
Thanked 26 Times in 24 Posts
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
Try
Code:
<body style="margin: 0pt;" marginheight="0" marginwidth="0">
as a substitute to your leftmargin and topmargin in your bodytag
|
|
|
April 21st, 2008, 05:48 AM
|
#14
|
|
Most Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 1,633
Thanks: 22
Thanked 84 Times in 79 Posts
Rep Altering Power: 0
|
Re: Anchoring layers in Firefox
shalom_m, there's no need for marginheight and marginwidth. Besides, they're depracated attributes. Just use;
Code:
<body style="margin:0">
Better yet, use an external stylesheet with;
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Layers
|
WEB |
Your Design and Layout |
7 |
May 29th, 2007 08:26 PM |
|
Layers
|
GCrame5832 |
HTML, XHTML and CSS |
6 |
December 31st, 2005 06:42 PM |
|
Using layers in CSS
|
jwalker80 |
HTML, XHTML and CSS |
3 |
December 21st, 2005 11:08 AM |
|
layers
|
forry |
HTML, XHTML and CSS |
7 |
September 21st, 2005 05:42 AM |
|
Need help with layers
|
davidsnave |
HTML, XHTML and CSS |
0 |
August 29th, 2005 08:26 PM |
|