html

HTML divs can go outside browser window??

I was playing around with ASP.NET Web Parts which has a "drop down" div. It's all the way to the right of the page. When I click to bring it up, it goes off the window. Usually anything off the viewable area will trigger the bottom scrollbars. How is this possible? Edit: It's Internet Explorer 8. Below is the markup with some c...

Set border on first table row, w/o using a ID or class

I am trying to style a web app that we don't have the source code too. So I drilled down into the DOM, but right now the bottom border is being set on ALL the rows, I need only the first row. #tableID tbody tr td table tbody tr { border-bottom: solid 1px #cccccc; } Is this possible? ...

Why are IE6 and IE7 not completely showing this div?

I'm having problems in IE6 and 7 with a div that doesn't complete the bottom padding that is attributed to it, so doesn't appear to finish the div down to the white content area like required. Here's the coded homepage with the problem. http://qwibbledesigns.co.uk/preview/Softwear/ The div house's this content: Services : Design, Xht...

TeX to html converter

What is the best way to convert latex document with PGF & TikZ images to html files? ...

How to display query results in an HTML page

When showing data from a mysql table on an php page does it have to be in a table?? What I want to do is display my results in divs. like so: <div class="moviebox rounded"><a href=""> <img src=" $imgurl " /> <form method="get" action=""> <input type="text" name="link" class="link" style="display:none" value="http://us.imdb....

how to protect client side codes...

is there any open source tool to encrypt or hide the client side code.... is it possible....??? i need to encrypt php,html,java script// ...

How can I control the action of onbeforeunload in IE?

Hi all I've got a problem about onbeforeunload recently that I need to pop up a voting page when users try to close their IE browsers.I did it by using: <body onbeforeunload="makevote()"> And the main structure of makevote() in javascript is as follows: function makevote() { comet.distruct(); if(csid != null && isvote == nu...

Is it good to use float in table less design?

Is it good to use float in table less design? What is the pros/cons of float in the context of table less cross browser compatible design? Is there any the best practices guidelines for cross browser compatible tableless design? ...

why my print doesn't work?

hi In this below program i am printing the contents of the div when i click the print button i am receiving an alert message printer error not available why it is so <html> <head> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.1.min.js" > </script> <script type="text/javascript"> function Print...

Easiest way to create twitter-like status update widget

I want a widget that allows users to add a request if that request hasnt already been added, or vote for a request if it has already been added. when a user adds a request, i want it to immediately appear as the first element of the list, like what would happen to your timeline if you made new tweet. ive tried to look for a jquery plug...

how to stop my html page resize

hello i made an HTML page with all widths and heights as percentage "that's primary for my design to work with all resolutions" but when i re-size my web browser everything will be damaged. is there a way that when i re-size my web browser i can scroll the page ? Thanks ...

What's the best way to automatically print an HTML header and bottom in php?

Currently I'm using: PrintHeader(); /* Page code... */ PrintBottom(); Is there a better way? ...

javascript csv validation

How to check for comma separated values in a text box and raise an alert if not found. And there is should be characters in it like A,B,C,D function validate() { //validate text box; } <input type="text" id="val" >A,B,C,D</input> <input type="button" id="save" onclick="validate()"> Thanks. ...

How to convert HTML to text keeping linebreaks

How may I convert HTML to text keeping linebreaks (produced by elements like br,p,div, ...) possibly using NekoHTML or any decent enough HTML parser Example: Hello<br/>World to: Hello\n World ...

I Have Error to open Second Html Page as popup window in first html page?

The following syntax I wrote <input id="Button1" type="button" value="Scan" language="javascript" onclick="return Button1_onclick()" /></td> <script language="javascript" type="text/javascript"> function Button1_onclick() { window.open("win1.html","Window1", "menubar=no,width=430,height=360,toolbar=no"); } </script ...

Setting Path and Expiration for session cookie in asp.net

Anything I have tried didn't work. Currenly I have following code to change asp.net session cookie expiration date and path, but asp doesn't want to listen to me. I sends same cookie in Set-Cookie header two times sometimes, sometimes it sends it's default cookie ignoring path and expiration date, sometimes it sends everything as expecte...

I want to open html page as popup window in my html page when i press button.

please send any reference ...

I have lots of images on a html page - how can i make certain ones load first (or certain ones load last)?

Hi, i have a page with the main content area being big thumbnails, but elsewhere on the page are about 100-200 other (smaller) thumbs that are not important but must still show. What ways do i have to make the main ones show first (or the unimportant ones show last)? I was thinking of these ways: JS load: on page load (once it has fi...

Blogger Page Loading Booster

Every blogger have a template like header css main wrapper sidebar wrapper footer etc etc ... But in most of the cases the header and sidebar-wrapper, footer are stationary part of page, most of the time the sidebar content are not changes means they are constant. Only the main wrapper is always changes. So I want ...

Adjust fontsize in fixed-height/width table cells in javascript/jquery

Hi folks, I want to make a a printable schedule as table with fixed height/width cells. Cells contains names and i don't want that the names do line breaks. Is there a way to dynamically adjust the font-size so that there will be no linebreaks or hiding text? Maybe someone knows a good plugin or snippet for that issue? ...