html

How do you create a hidden div that doesn't create a line break or horizontal space.

i want to have a hidden checkbox that doesn't take up any space on the screen if i have this: <div id=\"divCheckbox\" style=\"visibility: hidden">" i dont see the checkbox but it still creates a new line if i have this: <div id=\"divCheckbox\" style=\"visibility: hidden;display:inline;\">" it no longer creates a new line but it t...

HTML printing - what methods are there to make an html based printout? What are the pros and cons?

Hi, I have a report I need to print out in an application I'm usually doing maintenance for. My question, which interests me beyond the scope of this task is, what are the ways to format an HTML page for printing? What are the pros and cons of each? Note that the page is meant only to be printed. I'm not asking about an HTML page that l...

html Modal popup

All, How to make a simple modal popup for the following code.And on click on the background the modal popup should not disappear. <html> <input type="textarea"></input> </html> Thanks......... ...

How to insert fields values from HTML page to SQLite database

Hi, How to insert fields values from HTML page to SQLite database ? How to connect from HTML to SQLite ? Thanks. ...

How to make the browser display image with same name and not the cached one ?

I have solved this with PHP by adding the 'time()' to the img src tag. But how is it done with Javascript, same way? Here is my code: th_div_html+= "<img src='"+path_th_img+"' class='shadow2' style='margin:7px;' onclick='imageShow("+z+");'>"; I'm better with PHP than javascript so I need your help on this one. How can I add somet...

HTML Div overlays

Hello to all, I want a code for html overlays like thickbox, that is worked in all browsers. can u please tell the related urls or something else... regards KK ...

html making table borders invisible

I use Drupal 6 with theme summertime. Also I use FCKeditor. In order to align content I wanted to create a table with invisible borders. First I tried FCKEditor table properties and I gave 0 to border size in order to make borders invisible. But it did not work. I looked up the source and non working code was like below (Why giving borde...

css layout - 2 column, dynamic width problem

hi there, My problem has todo with a dynamically loaded image in col1 and resizing col2 to fill the rest of the space. the width of container is fixed at 950px. col1's width could be any with. +-------------- container -------------+ | +---- col1 ----+ +---- col2 ----+ | | | Image | | Text | | | | |...

CSS style padding for an empty element

I'm generating a page for an upcoming portal site, and I've got an HTML element with some optional content. I'd like the element to not render if it is empty, but adding some padding to it causes it to render. How do I add padding to the content, but only if content is present? .someElement{padding-top: 5px;} HTML in question: <div c...

Should I use sessions or go with what I have now ?

I have a classifieds website where users may insert ads. There is a insert-ad section (PHP based). In the insert section, firstly users enter specified data and fill in all fields of the form, then they click the "Preview Ad" and the ad is previewed. The preview page is another php page which puts all the form fields from the first 'pu...

CSS layouting. Why table-row not accepting margin ?

Hello, I have this css <style> .container { width: 850px; padding:0; display: table; margin-left: auto; margin-right: auto; } .row { display: table-row; margin-bottom: 30px; /* HERE */ } .home_1 { width:64px; height: 64px; padding-right: 20px; margin-right: 10px; display: table-cell; } .h...

Is Dreamweaver "upwards" compatible with manually created semantic html?

A prospective client has a site with pages done in Dreamweaver(tm). I don't have Dreamweaver(tm), never use it, and have in the past have seen some spaghetti (html) code on pages created with it. As a result, I'm wondering: if I create clean sections of semantic html, will Dreamweaver continue to be able to edit it when the client wish...

How do I ensure that the text encoded in a form is utf8

I have an html box with which users may enter text. I would like to ensure all text entered in the box is either encoded in UTF-8 or converted to UTF-8 when a user finishes typing. Furthermore, I don't quite understand how various UTF encoding are chosen when being entered into a text box. Generally I'm curious about the following: H...

TinyMCE and blockquotes

Hi, I have a TinyMCE field initialized as follows: ... extended_valid_elements: "ul[type],li,a[name|href|target|title],img[class|src|border|alt|title|hspace|vspace|width|height|align|name|style],hr[class|width|size|noshade],span[class|align|style],iframe[src|class|width|height|name|align],#p/div,strike", force_br_newline...

How to launch my web page in a web hosting domain?

Am very to new to web development. I have the web pages; web pages are developed in html, CSS Style sheet. For Example I have the ftp domain or crystal.com for hosting my web page For hosting my web pages, I have to create setup file for hosting my web page or simply post my html files. Can any one tell the procedure, what are the ...

Leverage browser caching

I have a website and when I check page speed with Google plug-in, I receive: Leverage browser caching The following resources are missing a cache expiration Searching only returns information on using htaccess under Apache, but my site is running on Windows 2003 Server, in plain HTML language, and I don't even have access to the ...

set image as submit button

i am using following code to set an image as submit button *<input type="submit" src="submit1.jpg" alt="submit Button"onMouseOver="this.src='submit1.jpg'">* but i actually did not know at which place in whole code to put this line of code because i put it after but it is not working at which place i put this code there appear "su...

a div above another?

i have some php files with html code in it and from my php file i have: require "popup.html"; require "main.html"; then i use css to hide the div in popup.html. when i click a link coupled to jquery to display the popup it will be above all divs in main.html except the ones that i have rendered in with ajax. how can i make the pop...

using image as reset button

i want to use an image as reset button what code i should use in HTML and CSS ? ...

HTML email not received in gmail, but succeeds with yahoo, msn, aim, and work domain. Is it my HTML?

I have tried sending and HTML formatted email using ACYmailing for Joomla AND Mailchimp. It works for yahoo, msn, aim, my work domain but not for gmail. I can send plain emails from my server to gmail but the HTML formatted newsletter doesn't work. Someone suggested it may be my HTML code ~~~> Pastebin I couldn't find a problem with i...