Results 1 to 2 of 2

Thread: WebBrowser control not displaying row borders (VS 2010 Pro)

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2017
    Posts
    1

    Unhappy WebBrowser control not displaying row borders (VS 2010 Pro)

    Hello,

    My WebBrowser control doesn't display row borders (in a table) declared in a <tr> tag with the following code:

    <tr Style='border-bottom: 3px solid black;'>

    This code works normally when opened inside IE 11.

    If I declare a row style in the header, it is working in VS 2010 !
    EX:
    <style>
    tr{'border-bottom: 3px solid black;}
    </style>
    But I don't want to multiply this type of declaration for styles I use only once.

    Have you any ideas ?

    Thanks anyway

    Akis

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    Re: WebBrowser control not displaying row borders (VS 2010 Pro)

    so don't.... create it as a style with a name and only apply it to elements you want:
    Code:
    <style>
    .tr_line{border-bottom: 3px solid black;}
    </style>
    ...
    <tr class='tr_line'>
    It's how CSS works...

    and doesn't need to be confined to tr either:
    Code:
    <p class="tr_line">...</p>
    Works just as well.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

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