browser

Why does Opera 9 have a space between these two images?

纵然是瞬间 提交于 2019-12-20 04:59:19
问题 Every other browser is rendering this correctly. <body> <div> <div><img src="img/logo_top.png" width="168" height="85" alt="Logo top" /></div> <div><img src="img/logo_bottom.png" width="168" height="83" alt="Logo bottom" /></div> </div> </body> It's the same thing without the divs, and with a < br /> between images. Update: Here is my HTML, with doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"

Cyrillic characters in browser address bar

 ̄綄美尐妖づ 提交于 2019-12-20 04:50:12
问题 When I put cyrillic symbols in address bar like this: http://ru2.php.net/manual-lookup.php?pattern=привет it switches to http://ru2.php.net/manual-lookup.php?pattern=%EF%F0%E8%E2%E5%F2 What does that characters -- %EF%F0%E8%E2%E5%F2 -- mean? And why is it happening? 回答1: The characters are getting URL encoded. A URL may only contain a subset of ASCII characters, so anything outside plain alphanumeric and some special characters must be URL encoded. Some browsers display non-ASCII characters

QTP/UFT - Close all browsers except QC/ALM

那年仲夏 提交于 2019-12-20 04:45:14
问题 Currently I am using the below code to close all the browsers except the ALM browser from where I run the test suite from. However When I run the suite from ALM, the below code identifies 2 browsers - ALM browser and the test case browser. It first closes the test case browser and when it executes the iteration for the ALM browser, it says the browser is not identified when it tries to find the name of the browser. I am not sure why it counts it as a browser if it cant identify it later. Any

Should we bother about IE < 8?

大憨熊 提交于 2019-12-20 04:38:06
问题 It might look like philosophical question, however it really bother me. We're expecting HTML 5, we're using JS, Ajax, Flex, all this stuff, but when older browsers were developed, no one even dreamed about such technologies. IE6 can't see transparency in PNG's. Some correct W3C techniques, are bad interpretations by IE6. It's just too old for our "new" world. IE7 is sight better better than IE6, but it still has some weird errors. How many people use IE6 now? And if someone upgraded it to IE7

Get word under mouse pointer

帅比萌擦擦* 提交于 2019-12-20 04:25:17
问题 according this (get a word under cursor using JavaScript )link i can get word under mouse pointer.it's fine for english language. i change it (for arabic language) <p>سلام به همه</p> Word: <span id="word"></span> <script type="text/javascript"> $(function() { // wrap words in spans $('p').each(function() { var $this = $(this); $this.html($this.text().replace(/[^\x00-\x80]+/g, "<span>$1</span>")); }); // bind to each span $('p span').hover( function() { $('#word').text($(this).css('background

Java: How to invoke code running on a server from a browser?

陌路散爱 提交于 2019-12-20 04:13:49
问题 Is there somehow that I can invoke Java running on a server from a web browser? I would like: User navigates to URL in a browser User fills in input boxes (text) User presses submit button Input fields are sent as parameters to java that is executing on the server A new html page is displayed that was generated by the java running on the server. What is the standard way to do this, or something similar to this. I think with PHP this would be relatively simple. I think that you would just pass

VBS going to a URL in the background

梦想与她 提交于 2019-12-20 03:50:15
问题 I would like to have my VB script go to a URL in the background. It can open a browser in the background and close it afterwards. The more "silent" the better. I had 2 implementations that work on my machine but doesn't work on another: Set WshShell = WScript.CreateObject("WScript.Shell") Return = WshShell.Run("iexplore.exe " & myURL, 1) Here's another: Set objExplorer = WScript.CreateObject _ ("InternetExplorer.Application", "IE_") objExplorer.Navigate myURL 'Determines if the window is

WPF: How to auto-size WebBrowser inside a Popup?

*爱你&永不变心* 提交于 2019-12-20 03:12:05
问题 I have a Popup with a WebBrowser inside (see code below). The WebBrowser have MaxWidth = "800" . I want auto-size the height of WebBrowser to its content height after it load website, so it dont need vertical ScrollBar. I tried set Height = "Auto" or MaxHeight = "5000" , but I dont get right result. Can you help me how to do it? Thank you very much! <Popup Name="popup1" VerticalOffset="3"> <Border BorderThickness="1"> <DockPanel> <ScrollViewer MaxHeight="700" VerticalScrollBarVisibility="Auto

Webbrowser control's window.external is ALWAYS null

断了今生、忘了曾经 提交于 2019-12-20 03:09:56
问题 The Web browser's Window.External object is always null! To reproduce drop a web browser on a new winform and type: Option Strict Off Public Class Form1 Private Sub Form1_Load() Handles MyBase.LoadMe.WebBrowser1.Document.Window.DomWindow.External.AddFavorite("http://www.google.com") End Sub End Class Make certain you go to the Assembly Information dialog and check "Make Assembly COM-Visible." This is necessary. I am lost as to why with a COM visible assembly the External object is always

Why fieldset inside flex act differently between browsers

微笑、不失礼 提交于 2019-12-20 03:02:44
问题 I wrote this sample code: <div style="display:flex;flex-direction:row;width:100%"> <fieldset style="white-space: nowrap; width:100%; overflow:auto"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis est id posuere pellentesque. Donec sem lacus, consequat id consectetur a, semper in felis. Suspendisse potenti. Nam eu dapibus ex, nec convallis diam. Donec mollis sit amet nunc quis malesuada. Vestibulum semper cursus magna at commodo. Etiam tincidunt enim vel urna tempor