Welcome to WebmasterWorld Guest from 54.81.69.220

Forum Moderators: mack

Message Too Old, No Replies

Newbie- question about layers

     
7:03 pm on Nov 3, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 27, 2004
posts:174
votes: 0


I have a site I designed in DW which displays perfectly in internet explorer. Yesterday I finally got my hands on firefox and looked at it in there- it's mostly ok, except the layers seem a tad off. For some reason the layers in two or three pages aren't displaying correctly.

Is this common? Anything I can do to fix it without severely rehauling my site?

7:36 pm on Nov 3, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 27, 2004
posts:174
votes: 0


Ok, I just checked it out in Opera, too.

For some reason, Opera is cutting off the bottom few lines, no matter what's there- whether it's text, a graphic, etc.

Ugh.

12:08 am on Nov 4, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 27, 2004
posts:174
votes: 0


Anyone help?
2:21 am on Nov 4, 2004 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12548
votes: 2


Layers? You mean the markup? Have you tried the CSS Forum [webmasterworld.com]?
2:29 am on Nov 4, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 27, 2004
posts:174
votes: 0


I tried posting it there once, but it got moved by one of the moderators. I'll have to try again. Thanks.
2:40 am on Nov 4, 2004 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12548
votes: 2


You may have to give a bit more detail ;)
6:39 pm on Dec 10, 2004 (gmt 0)

New User

joined:Dec 10, 2004
posts:5
votes: 0


"Layers" is a DW reference. That's why some people don't understand. I had the same issue. I put my layers inside a table and that helped a bit. Did you try that?
8:22 pm on Dec 10, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 4, 2002
posts:111
votes: 0


What Dreamweaver calls a layer is actually a <div>. Try getting it to look right in Firefox first and then tweak it so it looks right in IE. Also make sure your pages validate [validator.w3.org].
2:56 am on Dec 12, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 27, 2004
posts:174
votes: 0


I did put my layers inside a table. It helped some, but didn't solve all of the layer problems. I tried validating the code, but it comes up with some wacky errors related to the php references.

I'll just have to go another route. Thanks all!

9:05 pm on Dec 12, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 11, 2002
posts:482
votes: 1


If you use an extension called Layer2Style on the pages it should help, I had the same problems.

When you run it will show you all the sizing errors in your Layers, it also gets rid of a lot of extra code.

If you cant find it let me know and I'll sticky you the url.

Karl :)

1:52 am on Dec 13, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 27, 2004
posts:174
votes: 0


Thanks Karl. I'll have to look into that.
4:59 pm on Dec 13, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 19, 2003
posts:136
votes: 0


I've found that IE and Mozilla display elements a little differently. There are default settings for padding and margins in each browser that cause the layers to look different in each browser.

This can be remedied by setting those elements to your desired spacing.

Ex:
body{ margin:0px; padding:0px; }
p { margin:0px; padding:0px; }
div { margin:0px; padding:0px; }