CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    1,488

    [RESOLVED] Was wondering why am I seeing white line in this simple example?

    Please take a look at the screenshots attached. The ASP/HTML code is also visible in one of them. I was wondering why am I getting this white line when the page is rendered in the web browser? (I tried it with IE, FF, and Chrome and all produced the same result.)

    PS. I'm also attaching the project where I took it from.
    Attached Images Attached Images   
    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Was wondering why am I seeing white line in this simple example?

    Possible Reasons..

    #1: Master page settings overriding

    #2: CSS
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

  3. #3
    Join Date
    Jun 2011
    Posts
    35

    Re: Was wondering why am I seeing white line in this simple example?

    By default the table rows have a border. Try setting the border of the table to none in your css.

    also try viewing the page in a browser other then IE.

  4. #4
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    1,488

    Re: Was wondering why am I seeing white line in this simple example?

    Quote Originally Posted by GremlinSA View Post
    Possible Reasons..
    #1: Master page settings overriding
    What is it?

    Quote Originally Posted by GremlinSA View Post
    Possible Reasons..
    #2: CSS
    I removed all CSS to be sure.

    Quote Originally Posted by blaurent View Post
    By default the table rows have a border. Try setting the border of the table to none in your css.

    also try viewing the page in a browser other then IE.
    Guys I posted a project up there. Can you try loading it and see if you have the same result.

    And, blaurent, as I stated above, I did try it in three separate browsers with the same result.

  5. #5
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Was wondering why am I seeing white line in this simple example?

    Change the table style like follows
    Code:
     <table border="0" cellpadding="0" cellspacing="0" width="100&#37;" style="font-size: 1px">
    should fix your problem....
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

  6. #6
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    1,488

    Re: [RESOLVED] Was wondering why am I seeing white line in this simple example?

    Thank you. Actually setting the font size to 0 would also do it.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured