See the code below:
<div>Lorem ipsum dolor sit amet</div>
<object
type="application/x-shockwave-flash"
data="banner.swf"
width="965"
height="120"
></object>
<div>Consectetur adipiscing elit</div>
Viewing it in either Gecko, Webkit or Presto, an unintentional vertical space occurs a...
Hi,
Is it something bad to use <BR/> tags? Why I ask this is, in our development team it was one of the first advices to me not use <BR/> but to use styles.
But why? Are there some negative outcomes to use <BR/> tags?
Thanks.
...
We have buttons of many sizes and colors that use background images. There is a label on the background image itself, but we need to keep the button's text in the HTML for usability/accessibility. How do I make the text disappear in all browsers?
Modern browsers are easy, I just used -
color: transparent;
It's Internet Explorer 7 tha...
There is no way to have a tri-state check button (yes, no, null) in HTML, right?
Are there any simple tricks or work-arounds without having to render the whole thing by oneself?
...
I can change the width of an upload field with the size attribute:
<input type="file" size="20">
But CSS's width, which works fine for regular input fields and other forms controls, seems to have no effect here, even on Firefox:
<input type="file" style="width: 20em">
Is there another way to accomplish this?
...
I desire to make 3 things in a straight line at the top of the page pretty much ok there, but the 4yh will not budge and if i do get it to move somehow, it conflicts with the other 3 causing those to break.
Consider the following:
<\Span style="textContainer"; CLASS = string; STYLE = string;
TITLE = string;">
<\div id="searchBoxC...
How do I emulate
<img align='top' src='huge_image.jpg'>
<span>I start at the top right corner of the image!</span>
in CSS?
Maybe it's embarrassingly simple, but I really don't know.
...
how can i make a form where you dont need to hold down control key to select multiple options ?
i want to make it so that when you just click on any of the options, they will be highlighted.
...
Requirements to render properly any html ( CSS , tables and etc... ) either from url or string and possibility to intercept click on custom hyperlinks ( looking like usual ones ) and do something else instead of navigation ( navigation silently suppressed , because url may be a fake , but information from "a" tag - id attribute , fake...
Hi folks. On the page http://listtree.appspot.com/about/bEcPYABxI$6UeBDHzASwlA
if I scroll to the bottom using MSIE 8 the left hand side yellow div borders to a weird jumping up and down dance -- what am I doing wrong? I have similar pages where this isn't happening and the "developers tools" interface seems happy with the html.
Also...
I am trying to create a search text-field like on the Apple website.
The HTML looks like this:
<div class="frm-search">
<div>
<input class="btn" type="image" src="http://www.wdmadvertising.com.au/preview/cfs/i/btn-search.gif" />
<input type="hidden" name="cx" value="012437731193502990522:kx_jllw0ckq" />
<input type="hidd...
In my CSS file, I have defined a class as given below.
input.entryFormInputBoxColor:focus
{
background-color:cyan;
}
When I use Firefox (3.5.5), the Input Box background color changes to cyan when there is focus, but it is not changing in IE (6.0). The class is successfully executing in Firefox, and all other classes defined, work...
This code only seems to work in Firefox. Safari and Opera don't like it:
alert($("<body>").css("background-color"));
I've tried other methods too which are even less successful.
alert(document.getElementsByTagName("body")[0].styles.backgroundColor);
alert(document.body.styles.backgroundColor);
I've tested these browsers on Mac - an...
In my below given code, the second DIV section is not executing. The PHP code contained therein is not executing. I added a test echo, but it is not displaying it also. Why the control is not reaching there.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-eq...
I have a JavaScript file contains various string functions. It is a separate .js file. I also have a .css file that defines the styles of Input Boxes. Some styles are executed on certain events like: focus etc.
I want to call the string functions in the .js file on Input Box events. I want to know:
(1) Whether to call the functions fr...
I have a .php file with HTML code also in it. Through this file I am calling a function in another .php file that resides in a class. The call is not working. It is simply not entering the function in the class.
Below are the codes of first and second file respectively.
<div id="sectionGrid"> <!-- Begin of Grid Section -->
<table ...
Hi,
I am having problem to display the special characters like ’, é in Firefox and IE. But these characters are supported for the local server.
I have used the following
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/19...
Hi,
can anyonme give me an idea of how to catch (using PHP) multiple values from a multi 'selectbox' please?
<select name="auto_issue_update" multiple>
<option>1</option>
<option>2</option>
</select>
...
Hi all,
I am having query regarding checking the browser state........
for example i am uploading some data and i am trying to show the progress bar in which i need to check the browser state.
Like if browser busy will continue showing progress.
I am using only javascript and HTML
...
Hi!
Im trying to build a simple AJAX script that uses a form to send parameters to the Tumblr API.
This is the current code:
<body>
<script type="text/javascript">
function ajaxFunction()
{
var email = document.getElementById("email").value;
var password = document.getElementById("password").value;
var title = document.getElementById(...