|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Aug 2002
Posts: 269
|
HTML Layers - Browser Compatability?
Hello all,
I just started tinkering with HTML layers (DIV elements) after being a true table layout guy for many years. The flexability of using layers is awesome, but like I kind of figured.... there are browser compatability issues. Here's a page I put together: http://images.gibbonsdealerships.com/rentals/ This page renders perfectly in IE, but the layer placing is off a touch in FireFox. Thinking maybe it was good old FrontPage that caused the F-up, I then went on to edit the page in Dreamweaver, and place those layers where they looked perfect. And then the page looks perfect in FireFox, but not IE. Is this just something to be expected because CSS-2 is still new, and browsers aren't rendering things the same? Or can any CSS gurus out there suggest anything to make sure the layers render the same on cross browser views? Thanks in advance.
__________________
No sig = good sig |
|
|
|
|
|
#2 |
|
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
I'm using K-Meleon and your page is totally fucked up, I don't know anything about CSS, but may be you should go back to using tables ;)
|
|
|
|
|
|
#3 |
|
Drinker of Scotch
Industry Role:
Join Date: May 2003
Location: Texas
Posts: 242
|
Well, there are a few items to note...
(Just my $.02) First, ditch dumbweaver n' frontpage. Don't trust apps that add in their own code in order to trick-boink it into workin'. You'll waste a lot of time debuggin' it. Second, in your source, there is a mix of relative layout and fixed position method uses within the box model. A carry-over from excessive table layout use. Lastly, try these references... Zeldman A List Apart w3c tutorials ...and to help understand what those css attributes actually mean, try Select Oracle Hope this helps. |
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Aug 2002
Posts: 269
|
Quote:
As for the mix of code... I started out using a standard table layout on that page, and went on to overlay the layers. So it does have a table structure on the page, with layers placed on top. I just needed to bang something out quick, and didn't really care what it looked like in alternate browsers. But for my own peace of mind, was just looking for a bit of info on layer designs because they are quite powerful with how you can lay out a page.
__________________
No sig = good sig |
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Feb 2004
Location: United Kingdom
Posts: 575
|
Yep got same prob myself fucking annoying not sure what to do about it yet but just thinking of some javascrip detecting type of browser to set layer height.
|
|
|
|
|
|
#6 |
|
www.creationcrew.com
Industry Role:
Join Date: Feb 2005
Location: CREATIONCREW.COM CREATIONCREW.COM CREATIONCREW.COM CREATIONCREW.COM CREATIONCREW.COM CREATIONCREW.COM
Posts: 12,111
|
ie......
__________________
![]() ++ Adult and Mainstream Websites Designs | 10 banners for only $50 | html5 Banners ++ email : [email protected] Telegram : https://t.me/creationcrew | HTML5/Responsive Site - Div/CSS - ElevatedX - NATs - Wordpress |
|
|
|
|
|
#7 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
Tru using NetObjects. That is the program that layers were made for.
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Feb 2002
Location: Mars
Posts: 897
|
sorry, but that page looks horrible. tables (layers) are at the wrong places. some headers are half-hidden etc.
using: firefox 1.0.2 1024x768 just wanted to let you know :]
__________________
SEO since 2002 - Google Index Record: 32 minutes. - Selling SEO services and tools |
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: Dec 2004
Location: TO
Posts: 8,619
|
I used to build sites with layers but due to browser compatibility issues, had to build the page in DIV and LAYER tags - that is, surrounding page elements in both tags.
I would use the <NOLAYER></NOLAYER> tags to block out the DIV elements for Netscape browsers. In the end, it worked like a charm (I put together one of the first true drop-down menu systems on any large-scale site for a national bank) but the code was long and SEOs would cringe. I'd say things have come a long way but just test like mad on different browsers, OSes as you'll see huge differences. |
|
|
|
|
|
#10 | |
|
Confirmed User
Join Date: Aug 2002
Posts: 269
|
Quote:
I'll have to spend some time to figure them out properly, because now I'm hooked. It's like photoshop for HTML, similar to being able to move a layer anywhere on the page you want, and/or resize it on the fly. And I will give NetObjects a shot... thanks for the tip pornguy
__________________
No sig = good sig |
|
|
|
|
|
|
#11 |
|
Confirmed User
Join Date: Aug 2003
Location: C.A. All Day
Posts: 2,509
|
nice thread...
|
|
|
|
|
|
#12 |
|
Confirmed User
Join Date: Sep 2005
Location: The Confederate States of America
Posts: 713
|
i would start with a netscape resize fix.. i would also change you text & use a css to format the text so the surfer can not change the text size..when i change the text size to a lager one, your page gets a bit out of alignment.
i dont lnow how it happened using dreamweaver as i use dreamweaver & my layers came out fine on all browsers, although in firefox my own site seems to have problems with firefox not showing the javascriot elements & certain elements of the css & i havent found a firefox fix for it, but no big deal as my site isnt dependant on it for the two or 3 particular parts that differ http://www.beatingskull.com |
|
|
|
|
|
#13 | |
|
Confirmed User
Join Date: Aug 2002
Posts: 269
|
Quote:
Code:
<p class="StyleName"> Code:
<span class="StyleName"> Don't get me wrong, I love FireFox, but man it was easier before these browser wars started back up again!
__________________
No sig = good sig |
|
|
|
|
|
|
#14 |
|
Confirmed User
Join Date: Jun 2004
Posts: 689
|
This is a case of different box models being used in different browsers. Try specifying a doctype, it may cure a lot of problems. I personally use XHTML Strict, both IE and FF use the same box model for this doctype.
Read more about box models here: http://www.w3.org/TR/REC-CSS2/box.html Julio
__________________
Webmasters! Looking for new affiliate programs to promote? Affiliate Program Search <-- Search for programs with FHGs, RSS feed, specific niche sponsors, ... |
|
|
|