If you have an HTML <select multiple> of a certain width and height (set in CSS), if there are more values then you can possibly fit in that height, then the browser adds a vertical scroll bar. Now if the text is longer than the available width, is it possible to instruct the browser to add a horizontal scrollbar?
I'm looking for a tool that will scan my JSP, HTML and JS files and report whether the scripts are cross browser compatible or not. I'm not really interested in an online tool which I have to enter all my URL's.
Hi
I want to have a drop down menu where a user can select from several predefined options but i also want to give him the option of inserting a user specific value, i was thinking having one of the options as "user specific" which will in turn allow the user to insert a user specif entry in a text box that appears or is editable when user selects the "user specific" option. any one have any ideas how i can implement this is HTML and Javascript?
thank you
I want my video to show a specified image while embedding it on html
basically I'm doing the following:
<embed src="video.m4v" width="520" height="456" autoplay="false" controller="true" type="video/quicktime" scale="tofit" pluginspage="http://www.apple.com/quicktime/download/" bgcolor="black"> </embed>
Is there a specific parameter that I can add that says when the video shall start?
Hi There,
I am having trouble finding out how to figure out if a a html dropdown box has been set?
Ok, I understand how I acn check the index once it has been activate and an item chosen. But, how do I determine that the box ahsn't been touched and no item selected?
Thanks.
Is knowledge of HTML beyond the basics a prerequisite for learning CSS?
I am making a learning plan so this will help me evaluate the time required better.
I am trying to write a simple Perl CGI script that:
runs a CLI script
reads the resulting .out file and converts the data in the file to an HTML table.
Here is some sample data from the .out file:
10.255.202.1 2472327594 1720341
10.255.202.21 2161941840 1484352
10.255.200.0 1642646268 1163742
10.255.200.96 1489876452 1023546
10.255.200.26 1289738466 927513
10.255.202.18 1028316222 706959
10.255.200.36 955477836 703926
Any help would be much appreciated.
I'm writing a game and I've got a console for developers to interact with JavaScript methods in the game. I have a problem though; I can't figure out how to drop JavaScript errors to the console. Is there anyway to write errors to a div or HTML element?
You can locate the place by searching test11" " " " " " " " in the page,
but if you view the source code, you'll see the related html is like this:
test11<table style="display: table;" class="listview rowstyle-rowhighlight"" id="resourcegrid">
Where does the " " " " " " " " come from?
The problem can be seen here
i am trying to find a way using javascript or jquery to write a function which remove all the html tags from a page and just give me the plain text of this page.
How this can be done? any ideas?
I need to dinamicaly generate a PDF from HTML, but I have PDF Support disabled on my hosting, so is it possible to do without PDFlib GmbH library?
Thanks
I am using Vim 7.2 on WinXP. I've tired to run tidy like this:
:compiler tidy
:make
:copen
When I do :copen it shows me no errors to jump to. I've seen references that shellpipe might need to be set a specific way, but that refers to an earlier version of VIM.
How should I be using HTML-tidy with VIM, and do I need to mess with shellpipe to get it to work with WinXP?
Consider the following piece of code :
<select>
<option value="0">foo</option>
<option value="1" selected="selected">bar</option>
</select>
If I select the first option and reload the page, the first option stays selected and the select does not switch to the second option. How can I force firefox to give priority to the html?
I have a html table with 3 rows and 1 column. In the top and button row I have images and in the middle row I have div.
Between my rows I see a separation (I see background of my page). I tried to set all padding and margins to zero (for tables, div and images) and I still have this separation. Can anybody, please, help me to solve this problem.
The page is here:
hi,
I've some troubles to specify the height of my lightbox, since the content is dynamically loaded I dunno how tall the container should be.
The content is a part of a html page (some divs).
What do you suggest me to do ? Should I change the lightbox height with javascript only after the content is loaded ?
thanks
I want to create slide show to display any images to limited space.
And I don't want to use javascript.
How to create slide show with html and css only?
How to use Regular Expression to extract the answer "Here is the answer" from a HTML webpage like this?
<b>Last Question:</b>
<b>Here is the answer</b>
..:: Update ::..
Thanks everybody!
Here is my solution by using BeautifulSoup since I'm using Python framework:
response = opener.open(url)
the_page = response.read()
soup = BeautifulSoup(''.join(the_page))
paraText1 = soup.body.find('div', 'div_id', text = u'Last Question:')
if paraText1:
answer = paraText1.next
How to find all files in directory? I have HTML page in some directory. Using JavaScript I want to get all existing files in some subdirectory (get file names or relative links to them)
On an HTML page, using the INPUT tag, how can you get it so that when you click the browse button that it filters for image files only? Bonus points if it can include .bmp files.
Is there any CSS/HTML code to make a cursor work on Mozilla Firefox?
the only cursor code I know is
but that only works for Internet Explorer (and others maybe, I don't know) but what I need is a code that works in MFirefox
edit: I don't know how to make the code appear D:
How do I do the following in Perl in order:
a) curl a page and save it to a variable
b) parse the value of the variable (which is HTML content) for values I want (ex: the info is kept between tags like ... )