Results 1 to 4 of 4
  1. #1
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    In-cell positioning: emulating a tab

    I am creating some ASP pages where two different fields will fit nicely on a single line. The general appearance is as follows:

    <table border=1 cellpadding=5 width=100%><tr><td><big>Client Name</big>
    Attached Files Attached Files

  2. #2
    5 Star Lounger
    Join Date
    Jul 2002
    Location
    Toronto, Ontario, Canada
    Posts
    1,139
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: In-cell positioning: emulating a tab

    Jefferson,

    I have tested in the following browsers on XPP SP1

    Looks very similar to your IE 5.5 screen shot
    IE 6 SP1, Mozilla 1.2.1, K-Melon 0.7 (Mozilla based)

    Some differences
    Netscape 6.2, Opera 6.05

    Fell Apart
    Netscape 4.7

    I am going to attach screen shots of the last 3 so you can see what the differences are.
    Attached Files Attached Files
    --
    Bryan Carbonnell - Toronto <img src=/S/flags/Ontario.gif border=0 alt=Ontario width=30 height=18> <img src=/S/flags/Canada.gif border=0 alt=Canada width=30 height=18>
    Unfortunately common sense isn't so common!!
    Visit my website for useful Word, Excel and Access code, templates and Add-Ins

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: In-cell positioning: emulating a tab

    Thanks, Bryan. I don't know how you find the time to deal with so many browsers... but it works for me. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    I'm not surprised by NS4 not working correctly, but I am puzzled by the "relativity" of absolute positioning among these browsers: it's as though the default behavior of the "top" coordinate (when unstated) differs from browser to browser. And while IE handles the positioning "inline" with preceding text, NS 6 and Opera 6 do it on the next line down. I thought standards were supposed to solve our problems...

    One of my colleagues has NS 7. I hope it works more like Mozilla and less like NS 6. <img src=/S/crossfingers.gif border=0 alt=crossfingers width=17 height=16>

    Meanwhile, this technique has created another problem for me: if someone doesn't have at least an 800x600 wide window, the absolutely positioned element can overlay another element, and the other element doesn't wrap. <sigh>

  4. #4
    5 Star Lounger
    Join Date
    Jul 2002
    Location
    Toronto, Ontario, Canada
    Posts
    1,139
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: In-cell positioning: emulating a tab

    I don't really deal with them all that much. I just have them to make sure the stuff I do is cross-browser friendly. I open the browser, load the page, and say to myself "It works here. Next." and repeat the process for the other browsers. Takes me about 10 minutes to check. Although my browser of choice is still IE.

    I would take Opera as the correct look. Opera is, from everything I have read and heard, the most standards compliant browser on the market. SO that's mostly where I do my final checks.

    If you really want to make sure you're doing it right, have a look at the W3 Consortium's site, http://w3.org They are the folks that define the standards. You can read the actual standards documents. It's pretty dry reading, but it's THE place to go if you want to ensure standards compliant sites.
    --
    Bryan Carbonnell - Toronto <img src=/S/flags/Ontario.gif border=0 alt=Ontario width=30 height=18> <img src=/S/flags/Canada.gif border=0 alt=Canada width=30 height=18>
    Unfortunately common sense isn't so common!!
    Visit my website for useful Word, Excel and Access code, templates and Add-Ins

Posting Permissions

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