dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Demented <DIV> block implementation

  1. #1
    Join Date
    Dec 2002
    Location
    Perth, Western Australia
    Posts
    55

    Post Demented <DIV> block implementation

    [IMG] code is off on this board, so I made an extension page here: http://newsdf.tripod.com/webforum/

    In my experiment I created a test page with minimal HTML and modified the code several times, trying to get identical results from four browsers. In each case I include the code and the screenshots of the browsers. Have a look.

    Question:

    Does anyone know a way, which I could use to create a page with a <DIV>, exactly as it is in the HTML section of my test page (ie. retaining the semantics of the document), but using styles to achieve the same visual results for at least IE (where it already works fine) and NC4.7 (with which I have a problem).

    Also: I think my Netscape6 testing is wrong. It could be a bad version (Preview Release off an old disk, actually). Tell me if this code would render as I want it to, you happy NS6+ owners, please.

  2. #2
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,843
    most of the older browsers (4.0 and older) don't support CSS 2; which renders any positioned element as if it were not. also when using hexi-decimal color codes use the full six character lenght (use #000000; not #00 or #000)

    the older NN browsers suck; they tried to hard not to be like IE

  3. #3
    Join Date
    Nov 2002
    Posts
    984

    Re: Demented <DIV> block implementation

    Originally posted by King Pellinore
    In my experiment I created a test page with minimal HTML
    Um, a minimal page still need to actually be VALID HTML.

    If you test your codesnippets at http://validator.w3.org you will find that they get a critical error (Doctype missing) as a severe error (cherencoding missing).

    Especially the Doctype is vital when working with CSS and modern browsers. Browsers like IE/win 6, Opera 7 and Geckobrowsers uses it to switch between "standards complaince"-mode and "this webdesigner doesn't know what he's doing"-mode.

    BTW, NS 6.0x was quite a bad versions of NS, and I doubt anyone actually use them anymore.
    If you don't want to download the compleate Mozilla 1.2.1 or NS 6.2+, try the smaller K-Meleon, which is only a 5MB download, it's much more representative of the NS >4 browser people are likely to be using.
    http://prdownloads.sourceforge.net/k.../kmeleon07.exe
    Last edited by Stefan; 12-13-2002 at 11:06 AM.

  4. #4
    Join Date
    Nov 2002
    Posts
    4,473
    Originally posted by ShrineDesigns
    the older NN browsers suck; they tried to hard not to be like IE
    Boy, do you have it backwards. You should get your facts straight before mouthing off.

    The people that started Netscape created the first graphical browser called Mosiac at NCSA. When they graduated, they formed Netscape and released Netscape Navigator. Microsoft was caught totally naked in the internet business, and in an attempt to catch up, purchased Mosiac from NCSA, tweaked it and called it Internet Explorer. Ever since then, Microsoft has been doing it's level best to smash Netscape (and any other good software company) out of business. By making browsers free, they have essentially eliminated any motivation for creativity and customer service.

  5. #5
    Join Date
    Dec 2002
    Location
    Perth, Western Australia
    Posts
    55
    Right. I'll use the validator.

    But NC4.7 doesn't understand the <!DOCTYPE>. I was actually asking:

    why does the float:left rule work like that (shows the layer-background-color) in NC4.7?

    Thanks
    Last edited by King Pellinore; 12-14-2002 at 12:03 AM.

  6. #6
    Join Date
    Nov 2002
    Posts
    984
    Originally posted by King Pellinore
    why does the float:left rule work like that (shows the layer-background-color) in NC4.7?
    Buggy software do strange things at times.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles