Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: IE doesn't display html with comments properly!

Reply
Thread Tools

Re: IE doesn't display html with comments properly!

 
 
Keeper
Guest
Posts: n/a
 
      04-27-2004

use a style sheet to remove the horizontal scrolling..




"Nik Coughin" <nrkn!no-spam!@woosh.co.nz> wrote in message
newsaqac.273$d%(E-Mail Removed)...
> Nik Coughin wrote:
> > Nik Coughin wrote:
> >> In my earlier post, "List item misplaced in IE" I said:
> >>
> >>> IE applies extra space to the bottom of the page, and causes
> >>> vertical scrollbars to appear. Same as with the original post,
> >>> except that the help image now appears in the right place.
> >>
> >>> WTF? How do I get rid of that extra space?
> >>
> >>> Once again, only occurs in IE.
> >>
> >> Goddamn IE.
> >>
> >> It was the comments. I removed all of the lines with
> >> this: <!-- this explains what this piece of html does -->
> >>
> >> ...and the space disappears. WTF?
> >>
> >> This is the *only* thing that I changed.
> >>

>
> Put all of the comments back in, one by one. It's the comment above the
> rightmost div on the page that was causing the problem. So in my html:
>
> <div>
> <!-- comment -->
> <div id="navigation">
> ...
> </div>
>
> <!-- comment -->
> <div id="information">
> ...
> </div>
>
> <!-- comment -->
> <div id="action">
> ...
> </div>
>
> <!-- comment -->
> <div id="quickNavigation">
> ...
> </div>
>
> </div>
>
> ...makes extra padding after the last closing div. If I remove the last
> comment, or place it inside the .quickNavigation div instead of above it,
> then the padding disappears.
>
> However, there must be more to it than that, because I haven't been able

to
> replicate the problem in a new html page.
>
>
>
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.669 / Virus Database: 431 - Release Date: 4/26/04


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A program to replace all JS comments with JSP comments in jsp files tungchau81@yahoo.com Javascript 4 06-03-2006 02:00 PM
A program to replace all JS comments with JSP comments in jsp files tungchau81@yahoo.com Java 0 06-02-2006 06:35 AM
Comments format: comments extending over multi-line Monk C Programming 10 04-20-2005 05:09 PM
Display comments in Modelsim ALuPin VHDL 4 09-14-2004 11:37 AM
CHtmlView: How to read html text before display, change and give to display changed html code? Marek Kurowski C Programming 1 08-18-2004 06:41 PM



Advertisments