Fires of Heaven Guild Message Board  

Go Back   Fires of Heaven Guild Message Board > General forums > General
User Name
Password
Or, use your gamerDNA username: (more...)
ForumSpy Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-06-2005, 09:16 AM   #1 (permalink)
Slagar
Registered User
 
Join Date: Jun 2003
Location: Florida
Posts: 154
+0 Internets
Send a message via AIM to Slagar
Web/html question

I'm making a page with the layer tags in it. I'm experiencing trouble when trying to make the page compliant for all browsers.

In essence, the (x.y) offset for the layer shows up in different parts of the screen for IE and for Firebird - this is rather inconvenient when I'm trying to have dropdown menus which have to line up exactly.

Currently they appear properly in IE but are pushed down and right in Firebird... am I overlooking anything simple here or is this going to frustrate me for a while yet?
__________________
Your mother says that when you were four you got a Nintendo?

No, when I was four I got Shadow Word: Pain.
Slagar is offline   Reply With Quote
Old 07-06-2005, 01:26 PM   #2 (permalink)
Vorph
Never Go Full Retard
 
Vorph's Avatar
 
Join Date: May 2002
Location: Hell
Posts: 5,880
Maybe I'm reading this wrong, but are you saying you're actually using the LAYER tag or are you talking about CSS Layers?

If you are, don't. Use DIV instead. LAYER was deprecated a while ago, and I wouldn't be surprised if Firefox doesn't have working support for it.

If you're actually using DIVs and it still doesn't work, I'd need to see some code.
Vorph is offline   Reply With Quote
Old 07-06-2005, 03:24 PM   #3 (permalink)
Slagar
Registered User
 
Join Date: Jun 2003
Location: Florida
Posts: 154
+0 Internets
Send a message via AIM to Slagar
Yeah, I'm referring to div tags. With IE it looks fine, in Mozilla it looks off. And for whatever reason my boss isn't happy unless it's perfect in both. I'm using Dreamweaver for the coding, here is the layer in question.

To see what I'm talking about check out the test site.

Here's the code with < replaced with (.

(div id="products" style="position:absolute; width:120px; height:120; z-index:2; left: 142px; top: 119px; visibility: hidden;")(/div)
__________________
Your mother says that when you were four you got a Nintendo?

No, when I was four I got Shadow Word: Pain.
Slagar is offline   Reply With Quote
Old 07-07-2005, 03:59 PM   #4 (permalink)
Vorph
Never Go Full Retard
 
Vorph's Avatar
 
Join Date: May 2002
Location: Hell
Posts: 5,880
1. mainbanner.swf -- wmode param set to opaque when it should be transparent

2. mainbanner.swf -- missing wmode = "transparent" in the EMBED tag.

3. In main STYLE definition add the following above .style1:

body {
padding: 0;
margin: 15px 10px;
}

4. For the two dropdowns, even in IE there's a slight issue - make top: 118px instead of 119px.

5. In the DIV for the entire menu table it currently reads: <div align="center">
Change that to: <div align="center" style="position:absolute; top: 118px">

The principle here is that if you're going to layout part of your site with absolute positioning, you need to lay it ALL out with it. Firefox and IE will add different amounts of whitespace (check out your current site and you will see that there's more space between the banner flash object and the menu in IE)


I think that's everything I changed to make it work; now I'm going to go make myself a good stiff drink to get rid of the headache that Dreamweaver's retarded inline CSS gave me. :P

Last edited by Vorph : 07-07-2005 at 04:01 PM.
Vorph is offline   Reply With Quote
Old 07-08-2005, 11:50 AM   #5 (permalink)
Guild Lackey
Samurai Blue
 
Join Date: Apr 2002
Location: Omaha
Posts: 335
+0 Internets
Send a message via AIM to Guild Lackey
A style sheet would make your life easier.
__________________
Guild Lackey is offline   Reply With Quote
Old 07-12-2005, 09:22 AM   #6 (permalink)
Slagar
Registered User
 
Join Date: Jun 2003
Location: Florida
Posts: 154
+0 Internets
Send a message via AIM to Slagar
Sorry I haven't been able to access the boards the past several days so I didn't read your response until this morning.

Thank you very much for the helpful response -- the absolute positioning was spot on, it now lines up exactly the way it should.

Can I buy you a drink or order you a pizza?
__________________
Your mother says that when you were four you got a Nintendo?

No, when I was four I got Shadow Word: Pain.
Slagar is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
uberguilds network



All times are GMT -7. The time now is 01:26 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6