SitePoint Sponsor

User Tag List

Results 1 to 11 of 11

Thread: Table Crisis!

  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Table Crisis!

    Help!

    The only thing on my page is a table (containing a sliced image), and there is a nasty G-A-P above it and to the left. It looks really incompetent (hmm, wonder why...)

    Is there any way I can get rid of these? Maybe using stylesheets or something?


    I Ching with Clarity
    http://www.onlineClarity.co.uk

  2. #2
    not tyrael anymore.. Manores's Avatar
    Join Date
    Jan 2002
    Location
    Izmir-Ankara-Istanbul / Turkey
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    would you mind sending a link or something?

    Nanaman never dies!
    Once I was Tyrael!

    I wish Wayne also could change my whole life as he did with my nick and made me a rally driver!

  3. #3
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can we have a link to the page or some code?

    Glen

  4. #4
    not tyrael anymore.. Manores's Avatar
    Join Date
    Jan 2002
    Location
    Izmir-Ankara-Istanbul / Turkey
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by tyrael
    would you mind sending a link or something?

    Originally posted by glenplake
    Can we have a link to the page or some code?

    Glen
    Nanaman never dies!
    Once I was Tyrael!

    I wish Wayne also could change my whole life as he did with my nick and made me a rally driver!

  5. #5
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow! The speed of you people!

    Actually I think I may have it solved since I posted. I hope.

    The page used to start
    <head>blah</head>
    <body bgcolor=whatever>
    <table valign=top align=left>
    etc

    now I've added

    marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0"

    to the body tag, and there's no more stupid gap. Does this sound right?

    (Someone at htmlforums.com had had a 'stupid table problem', and sure enough it was the same one.)

    Thanks for the help.
    I Ching with Clarity
    http://www.onlineClarity.co.uk

  6. #6
    not tyrael anymore.. Manores's Avatar
    Join Date
    Jan 2002
    Location
    Izmir-Ankara-Istanbul / Turkey
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you could also use CSS for that

    BODY {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    }

    etc.

    good luck
    Nanaman never dies!
    Once I was Tyrael!

    I wish Wayne also could change my whole life as he did with my nick and made me a rally driver!

  7. #7
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Hilary

    now I've added

    marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0"

    to the body tag, and there's no more stupid gap. Does this sound right?
    Yep, thats spot on, but as tyrael said, you could and you should use CSS for that. If its one page, then its not really a problem, but for multiple pages and for good practice, you should use an externally linked style sheet.

  8. #8
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I'll start experimenting with my stylesheet again. (Must get a more sensible hobby.)

    I have a completely unrelated question, if anyone can answer it.

    I have an image map with 'polygonal' linked areas. Is there a way to prevent the outline of the area from appearing when people click on it?

    Thanks
    I Ching with Clarity
    http://www.onlineClarity.co.uk

  9. #9
    not tyrael anymore.. Manores's Avatar
    Join Date
    Jan 2002
    Location
    Izmir-Ankara-Istanbul / Turkey
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Hilary

    I do not have an answer to your question, but i think you really should post your latter question as a new thread if you want a faster response..

    Nanaman never dies!
    Once I was Tyrael!

    I wish Wayne also could change my whole life as he did with my nick and made me a rally driver!

  10. #10
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Hilary

    I have a completely unrelated question, if anyone can answer it.

    I have an image map with 'polygonal' linked areas. Is there a way to prevent the outline of the area from appearing when people click on it?

    Thanks
    There is, but be aware that that feature is an accessibility feature and is there for a reason. Its called the focus and is there to assist users in navigating webpages using the keyboard. However, you can read about this and how to get around it at:

    http://www.macromedia.com/support/dr...tted_lines.htm

    Issue
    A dotted line border appears around images and links in Microsoft Internet Explorer.

    Reason
    The dotted line border, which Microsoft refers to as a "selection rectangle" or "focus lines," appears around images or links in Internet Explorer for accessibility purposes. Internet Explorer's accessibility features enable Web site visitors to navigate a site using a keyboard only (with the Tab key and Shift and Tab key combination). The focus lines offer the visitor a visual clue as to which element is currently selected. The keystroke navigation and the visual selection indicator work together to allow people who are not able to use a mouse to enjoy the benefits of Internet access.

    Workaround
    If focus lines negatively affect your page design, they can be removed using an extension found on the Macromedia Dreamweaver Exchange. This extension (named the IE Link Scrubber) will remove all of the focus lines from around text links, image links, and image maps in Internet Explorer 4 - 5 and Netscape 6. The newest version of this extension, Scrubber 2, is found on the Project Seven Web site. The newer version supports keystroke navigation (the Tab key and the Shift and Tab key combination), which does make the links "accessibility friendly."
    HtH

    Glen

  11. #11
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you. I hadn't realised they served a purpose - I'll leave them in.
    I Ching with Clarity
    http://www.onlineClarity.co.uk


Bookmarks

Posting Permissions

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