html

how decrease font size ?

i am using this css. .text_style3{ font:normal 8px Helvetica; color:#f7922c; } i want to it more small but after 10px this is not working. i have used 7px, 6px, 5px etc. but this is not working. so how can i decrease size. this css is not working in mozilla. ...

How to make expandable/collapsable text boxes in UIWebView?

I want to display some text in UIWebView with boxes that can be expanded or collapsed. The box has the title in it, and when tapping the bar of the collapsed box, it expands. I guess there's already some cool solution for this that could be easily incorporated into an local UIWebView html file? ...

What are the good wysiwyg HTML editor controls based on ActiveX?

What are the good wysiwyg HTML editor controls based on ActiveX? There are two editors I have found so far, both are good but also have some shortcomings. I am looking for a better alternative. nBit HTML ActiveX Control XStandard Pro XHTML WYSIWYG Editor Javascript based HTML editors are not relevant in my context. I want to add th...

PHP:HTML / $_POST FORM

I have this: <form action="profiles.php" method="POST" name="SearchSimple" id="SearchSimple" > <input name="search" id="s" style="width: 150px;" type="text"> <a style="display: inline-block; width: 100px; font-weight: bold; cursor: pointer;" id="submitSearchSimple">Search </a> <script> $('#...

how to use the arrary of names in post method..

<td class="widht200"> <input type="text" name="agg" size="2" disabled="disabled"/> </td><td class="widht200"> <input type="text" name="agg" size="2" disabled="disabled"/></td><td class="widht200"> <input type="text" name="agg" size="2" disabled="disabled"/> </td><td class="widht200"> <input type="text" name="agg" size="2" disabled="disa...

Stretching TD's

I have a layout where I need tabs at the top, and content to fill the rest of the space. So to make the bottom content div stretch I would need to have: style="height:100% - 20px;" Where 20px is the height of my tabs. Obviously that code isn't valid but it illustrates my point. So what I tried next was a table where the td in the fis...

Form with radio button

I have this: <td> <input id="sex" name="sexFemale" value="female" type="radio"> <label for="sexFemale"> Kvinna </label> </td> <td> <input id="sex" name="sexBoth" value="both" checked="checked" type="radio"> <label for="sexBoth"> Båda </label> </td> <td> <input id="sex" name="sexMale" value="ma...

Url redirect after click and downloading a file

Hi; My goal is to redirect or refresh my page while downloding excel file : Details : In my application i am sending dynamically generated excel file setContentType("application/vnd.ms-excel; charset=windows-1254"); setCharacterEncoding(Constants.ENCODING); setHeader("content-disposition", "attachment;filename=" + Constants.DEFAULT_...

Div inside div not auto expanding (screenshot)

I need the red box to expand with the blue box content, so they are always both the same size. The red box is defined as: .leftMenu{ float:left; width:20%; background-image:url(../images/leftMenuBG.jpg); background-position:bottom; background-color:#BFDAE3; background-repeat:repeat-x; } Can't seem to get it ...

"window.location.history.go(-2)" possible in major browsers?

As the title says, will this code work and will it work in major browsers? I ask because currently I have no resources to test it, so I would appreciate some help on this. Here is what I have (not tested): setTimeout(window.location.history.go(-2), 5000); Thanks ...

Keep JavaScript files in HTML or in JS file - what is best?

Would the page load faster if I keep all my JavaScript files in a separate file say MyCode.js and reference that file? Or does it not really matter? Thanks in advanced! ...

Is it possible to change the value of the query string when I click on a link?

I have a hyperlink with a query string like cgi-bin/filename.cgi?sort=ASC. When I click this link I want it to change its value to cgi-bin/filename.cgi?sort=DESC. And again when I click the link then it should go to its original query string state. Is it possible? I had posted the same question previously, got an answer also which I hav...

iphone/ipad large canvas vs small canvas + div animation

Since I dont have either of these devices handy to test, which method would be faster on an iphone/ipad? One large canvas (overlayed over a bg of the same size), that is cleared, and has new pixel data drawn to it each frame, at a certain position or A small canvas that updates each frame, contained in a div that is animated across a ...

How many keywords are ideal for the META keywords tag?

The answers to a previous question pointed out that the keywords meta tag in HTML is used by some search engines, such as Yahoo! and Ask. Now, I know not many of us have direct knowledge of the algorithms behind different search engines, but in your experience, does the number and order of keywords have any effect? Is it better to have...

Maintain scrollbar position upon page reload

Hallo All, I would like to have the table content to go to the same position that it had before the page is refreshed rather than go to the top of the table content. In other words, if the user scrolls down, and a button triggers a page reload, I want table content to come back to the same position after the refresh. CSS used for my t...

Specifying base url for css

I had to split up a long css file. I put the smaller css files within a "styles" directory. Now I have to update the the urls to go up one level with the "../" notation. Is there anyway to specify the base url from which to load assets like with the base tag in html, but with CSS? ...

How can i remove special characters in a Posted data

I need to remove special characters from the posted data. It may be possible by using Regular Expressions or may be other. How to strip the special characters. Plz help ...

html div with text on top and bottom

I need to create a <div> of height 200px that has some text at the very top and the very bottom. This needs to work in all major browsers. I've tried various combinations of alignment/vertical-alignment with no luck. ...

table header fixed on scroll down

I have a table with header on it. I need the header to be fixed when the user scrolls the table data. my table is as follows <div style="height: 300px;overflow: auto"> <table> <thead> <tr> <th> Nr. </th> <th> Name </th> <th> Status </th> <th> Date </t...

Sourcecode in the url

Hello all, normally you go on a website and by right click you can choose to see the source code. Or you just use firebug and select an element you want to analyse. Is it possible to write the source code in the URL so that it wouldn't be shown by right click + choosing or selecting an element? I'm asking because I've already seen thi...