The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Div, xml and CSS

RhinoRhino TheRhinLOLRegistered User regular
edited July 2007 in Help / Advice Forum
I haven't "updated" my web page "skills" since earlier 90s; meaning everything I know is html 2.0 and am really sloppy/uneducated when it comes to xhtml/css (basically just picking it up as I got, but still have a lot of html bad habits).

I have this web page though (I didn't create it, but have to work on it now) that is xhtml 1.1 and for the most part I've been able to hack and fake my way though most of it. But the div tags are messing me up.

There is a javascript library/script that prints a bunch of div tags in dhtml and works fine under IE 7.0; but is broken under the firefoxes; not broken, it works, but puts one div "box" in the wrong place.

I've spent hours working on it and the library/script works for the most part, but one of the "boxes" is off just slightly.

What I'm looking for is maybe a div "viewer" that takes a web page and puts borders around the divs so that I can see what they are doing? To see it from the web browser point of view?

When i'm debugging tables I just put 'border=1' and can see what the table is trying to do and think something like that would help debug this. Surely there is some type of dig "viewer"?

this is the javascript code: http://javascript.axelschneider.info/

It works under firefox/ie under a "blank" page, but the page I'm working on has a bunch of Div tags that is breaking it under firefox (but working under IE). I wish I could post the page cause it's all sorts of fucked up, but it's internal to our intranets and it's for "internal use only".

93mb4.jpg
Rhino on

Posts

  • JaninJanin Registered User regular
    edited July 2007
    Firefox has the built in DOM inspector, which you can use. You could also install the Web Developer toolbar.

    Janin on
    [SIGPIC][/SIGPIC]
  • RhinoRhino TheRhinLOL Registered User regular
    edited July 2007
    jmillikin wrote: »
    Firefox has the built in DOM inspector, which you can use.

    How do you get to it? I looked in all menu's. There is error console, but that doesn't help much
    You could also install the Web Developer toolbar.

    I just installed it and I'm in love already. If it was legal to marry a toolbar; I would.

    Rhino on
    93mb4.jpg
  • RhinoRhino TheRhinLOL Registered User regular
    edited July 2007
    Has an outline feature!

    I just came myself.

    Rhino on
    93mb4.jpg
Sign In or Register to comment.