iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Visual Design > Your Design and Layout

Reply
 
LinkBack Thread Tools
Old 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 mark_88_turbo is on a distinguished road
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 April 19th, 2008, 08:35 AM   #2
Highly Reputable Member
SuperMember
 
unitedcraig's Avatar
 

Join Date: Oct 2007
Location: Stockport
Age: 18
Posts: 844
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Rep Altering Power: 0 unitedcraig is on a distinguished road
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 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 mark_88_turbo is on a distinguished road
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 April 19th, 2008, 10:14 AM   #4
Highly Reputable Member
SuperMember
 
unitedcraig's Avatar
 

Join Date: Oct 2007
Location: Stockport
Age: 18
Posts: 844
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Rep Altering Power: 0 unitedcraig is on a distinguished road
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 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 dab42pat is on a distinguished road
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 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 mark_88_turbo is on a distinguished road
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 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 mark_88_turbo is on a distinguished road
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 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 dab42pat is on a distinguished road
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 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


HTML Code:
<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 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 mark_88_turbo is on a distinguished road
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 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 mark_88_turbo is on a distinguished road
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 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 dab42pat is on a distinguished road
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 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 mark_88_turbo is on a distinguished road
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 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 shalom_m is on a distinguished road
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
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 April 21st, 2008, 05:48 AM   #14
Aso
Most Reputable Member
 

Join Date: Oct 2007
Location: UK
Posts: 1,633
Blog Entries: 2
Thanks: 22
Thanked 84 Times in 79 Posts
Rep Altering Power: 0 Aso is on a distinguished road
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;
Code:
body {
    margin: 0
}
Aso 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
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 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


Search Engine Optimization by vBSEO 3.2.0 RC8