html

CSS background source gets 'flashy' in IE8 + Vista

Hi, i know, the title is a bit crampy, but it's a weird problem. i'm planning to adopt a open source webdesign. It all looks good on firefox 3.5 on vista, but when i open it up in Ie8 on vista the background goes 'flashy' on reload (i can't find another word, sorry) what i THINK happens is that the background source (a 1px width and 12...

modal-dialog or div overlay over frameset?

I have a html page with several frames in it (also nested framesets). I want to show an overlay over all these frames to show a modal box / light box. Is that possible? I know, i know, framesets are not good to use, but I want to give it a try! a modal dialog example ...

Raising Errors on Failed Validation

Please check out the code HTML Code: First Name: <input type="text" name="fname" id="fname" > <p id='p1'></p> Last Name: <input type="text" name="lname" id="fname" > <input type="submit" name="submit" value="Submit" onclick="return validate_form();" > Validation Code: function validate_form() { if ( document.form.fname.value ...

How do I move identical elements from one div to another with jQuery?

With the example below, I'd like to select the contents of the < h3 > tags for each block, and move them inside the 'title' divs (without the h3 tags). Is this possible? <div id="block1"> <div class="title"> </div> <div class="content"> <h3>Title 1</h3> </div> </div> <div id="block2"> <div class="title"> </div> <div c...

Internet Explorer 8 error - Expected Identifier, string or number - JQuery...

Wondering what to do about this. Googling but can't seem to find anything. I am using the Cycle Plugin for JQuery and works great in all browsers but IE of course. Same problem in IE 6, 7, and 8. Expected identifier, string or number referring to line 13 of my js file. Anyone know what to do here? js file: $(document).ready(function(...

How to send a string from a python script at Google App Engine to the browser client as a file

I have a python web-application running inside the Google App Engine. The application creates on user-demand a string and I want the string to be send to the browser client (application/octet-stream?) as a file. How can i realize this? ...

Right align and left align text in same HTML table cell

I have a cell in an HTML <table>. I would like part of the cell contents to be left justified and part to be right justified. Is this possible? ...

How to specify an image to appear in facebook link to your site?

Silly question: Seeing as how Facebook will automatically sniff out images from a website when somebody links to it, is there any way to give Facebook a hint as to which image you'd prefer be used from your site? Currently, the logo image that I'd like to appear doesn't even show up in the list that Facebook generates. Any ideas? ...

white-space:nowrap causes contents to go outside cell

I have a td where I declare white-space:nowrap;. This prevents linebreaks in the text, but the cell size does account for the missing linebreaks and the text goes outside the td. Is there anyway to make the cell size account for white-space:nowrap;? My code looks like this: <tr><td style="background-color: #0C264C;color: #FFFFFF; pad...

vb6 - create html document in runtime + set baseurl

hi all, i'm creating a htmlfile like this: Dim m_doc As MSHTML.HTMLDocument Set obj = CreateObject("htmlfile") obj.Open obj.Write m_htm Set m_doc = obj the variable m_htm contains plain html data. my problem: the created htmldocument will have local paths for links/includes. how can i set the document's baseUrl? thx ...

reset css to defualt settings in span

For our entire website, we have one elaborate CSS file to set page styles. Because there are so many declarations in the CSS file it is tricky to overwrite all of them for a particular span. Is it possible to reset all CSS in a particular span? ...

What the?!? text in div wraps right everywhere but IE7. IE7 has one word per line?

I've got an unordered list that is sort of a nested javascript helpbox. You click on the help topics, and a scrollable div appears with the help items. Those help items are the unordered list. Everything is working great in FF, Safari, IE6 (well-I am getting a horizontal scrollbar there in IE6 for some reason) and IE8. But in IE7, it...

what is an alternate way to refer to HTML/JavaScript/CSS?

Often I need to refer to code written in HTML/JavaScript/CSS, but it is a very awkward construction to constantly refer to the descriptive trio of 'HTML/JavaScript/CSS' code. for example, Mozilla refers to its HTML/JavaScript/CSS JetPack code as 'a JetPack'. Other than the defunct 'dHTML', what are some concise, generic and accurate ...

Can you just tell, What is the use of iframe in asp.net?

I want to know the use of iframe in asp.net. I am new in asp.net.help me ...

Disable a link using css

Is there any way to disable a link using css? I have class called current-page The links having this class should be disabled(means no action should be occur when clicking on it). ...

Jquery lightbox is not functioning

Hey guys, I am currently using prettyPhoto lightbox for my images and for some reason i cant get it to work. I know this is a very basic questions but some help would be appreciated. i found the script here:http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/ Additionally here is the page i am trying to get i...

z-index and anchor tag

I have a div with position relative and z-index :-1. and I have placed <A> over that div. But it seems <a> is not working when i give postion :relative to its parent. when change that position to absolute it starts working. Could anybody tell me why this is happening. I want that link to work and as far as possible need to keep its paren...

What's the right way to define an anchor tag in rails?

It's obvious from the documentation (and google) how to generate a link with a segment e.g. podcast/5#comments. You just pass a value for :anchor to link_to. My concern is about the much simpler task of generating the <a name="comments">Comments</a> tag i.e. the destination of the first link. I've tried the following, and although the...

How to apply groupname to HTML radio buttons in asp.net?

Can anyone please tell about how to apply group name to html (input) radio button controls so that i can select any one of the available radio buttons? I have input radios in a table. Each row contains two radios as follows. I want to select one from each row. But i am able to select only one radio button amongst all radio buttons prese...

Hidden input types get's created in ASP.net at RUN time

For some reason I have noticed that at run time when looking at my source of my ASP.NET page there are tags being created. <input type="hidden" name="_VIEWSTATE" id="_viewstate" value="..lots of text.." /> and <input type="hidden" name="_EVENTVALIDATION" id="_EVENTVALIDATION" value="..lots of text.." /> Why is this and what is it ...