html

Building comic strip site that allows owner to place panels (divs) in a custom manner using CSS and HTML

I'm building a website for a client to produce a comic strip. There are five divs for panels: Right square Left square Right tall (double height) Left tall(double height) Double wide I'm trying to provide a solution to teach them to fish as opposed to giving them fish. Here's my problem: index.html If you go to the bottom of the '...

How to effectively change local changes made to an html document via javascript back to the server ?

So let's say you display a list of divs that each represent a list item with certain properties (for an example a todo list): <div class="list"> <div class="items" id="item1"> <div class="itemtitle">Some title</div> <div class="icon"><img src="1.jpg"></div> <div class="footer1" /> </div> . . ....

How to vertically center image and text in a block element? [CSS]

I am trying to accomplish this with CSS. Here is my markup: <h2> <img src="A.gif" alt="A" width="30" height="30" /> <img src="B.gif" alt="B" width="30" height="30" /> 18 pt; vertically centered; </h2> A and B are 30x30 pixel images. Small red lines are 5 pixels paddings/margins (whichever works) As a result of the images' hei...

CSS - Lock scrollbars if overflowing

How do i TOTALLY prevent scrolling on my website even if there is overflow. I just don't want to hide the scrollbars because you usually can just use the mousewheel or page down anyway. I want them to be both hidden and locked. The problem is that i have this structure(with real css and html of course) <outerdiv height="100%"> <inner...

How to adapt php page to jpolite2 template

Hi. I just discovered jpolite and think it looks very cool. I thought I would change my php page based on that. The problem is that I need allot of php code on each page to interpret _POST input and such. To do that I think I need to make index.html from jpolite, that normally just load different modules containing html like this: var ...

Using spaces before and after the `=` sign of HTML element attribute

I am wondering if there's a "best" approach to having a space before and after the equal sign in a HTML page when you write it down. It seems like no one is using this, but for me it seems fairly natural coming from programming languages that have this printed in their basic code style. So, is there any standard that you have to not use ...

Django, automatic HTML "sanitizing" when putting HTML to template, how to stop it?

I'm kind of confused by this because it seems that Django templates have optional HTML filters but this seems to be happening automatically.. I am making this demo app where the user will do an action that calls a python script which retrieves a url, I then want to display this in a new window.. its all fine except when the display comes...

Can I make a set of radio buttons that does not get submitted with the form?

I have a set of radio buttons that is in between other controls that are part of an HTML form. I do not want the value of these radio buttons to be submitted with the query (I am just using these radio buttons for JavaScript stuff). Normally, I can do this with other controls (i.e. checkboxes, etc.) by not having a "name" attribute for t...

PHP if statement with multiple file extensions?

if(!file_exists("dynamic/content_".$get.".html")) This exists in a php file. I need to modify this line of code to also encompass being able to navigate to dynamic/content_whatever.php, not just .html. What is the best way to do this? Thanks. ...

Possible channels of communication between Javascript on HTML page and a windows EXE ?

Hi all Here's the thing. A two-way communication (RPC-style) is needed between Javascript on HTML pages provided by a web server online (with session-management and whatnot) and a windows EXE application running on the PC of the website visitor. Both are parts of the same 'package' and should be able to communicate. There is the us...

Preventing special character input to html text field

I have an input text field that needs to be limited as to what characters can be typed in. As one form of defense against faulty input, I'm trying to not even let the user type in incorrect things. The input can be [a-zA-Z-._] characters and is limited to 32 characters. <input id="aliasEntry" type="text" maxlength="32"> As you can s...

password protected file associated with a hyperlink

I am trying to create a homepage, which includes hyperlink. For example, after clicking sth called file1.txt, I should be directed to text file. However, before the file is to be displayed, a box should be popped up asking username and password. Can you tell me how to do it? Thanks. ...

Prevent iframe "This webpage is not available." error from displaying on website

Hi, Is there a way to prevent the error "This webpage is not available." from displaying within an iframe that displayed on another site? For example, if I have a website and I want to display my Facebook fans in a box, one way to display it is with an iframe (typically Facebook supplied code). However, if for some reason Facebook is d...

I can't get my instructions to line up with my video

I can't get my instructions to line up with my video on this page http://101river.com/record.. . I am using a table... I want the instructions on the right side of page to be parallel with the video. Any help? <table> <tbody> <tr> <td><object id="container" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="280" height="336" co...

most appropriate decision for dynamic web content

Hello all, First of all, I'm sorry because of this lame question. But I'm kind of lost in all dynamic-html, ajax, etc stuff. So i decided get help from the pros. Basically what I'm trying to do is creating a web page which have dynamic content(messages) coming from a web server(asp.net or php) presented in floating(movable by viewer) box...

Embedding wordpress into a php page

Hey Guys, I'm looking for a tutorial on how to embed Wordpress into a webpage e.g a php page. I found one such tutorial about a year ago. I remember it split the pages into parts making the main require the rest, one of the requires was the blog posts on the wordpress. I'm looking for this tutorial or something similar. Basically I just...

adding a shadow border to my wrapper

I have a #wrapper, which contains all page content, and I'd like to place another div around it with a shadow border, #shadowwrap. I've been staring at this stuff for way to long today, and my brain's stuck... #shadowwrap { background:url("images/shadowborder.png") repeat-y center; background-color:transparent; max-width:10...

jQuery move div around in DOM.

I know this has been asked many times, but I don't understand what is incorrect about my code. I have a series of DIV 'columns' containing some 'object' DIVs. I'm trying to move object DIVs from one column to another using the code below. I don't receive any errors, just nothing on the client and nothing to suggest in debug that anythi...

We hear so much about "semantic html". Where/what are the algorithms reading our semantic html?

I keep making attempts at properly using HTML5 but I feel like it's still not even close to anything semantically valuable. My attempts: HTML5 Article node Architecture HTML5 Blog Page Architecture But there's such subtleties in every single tag! My question is, what specific software out there on the web is actually doing things l...

Google maps static api - Marker doesn't show up

I got a static map link using this wizard http://gmaps-samples.googlecode.com/svn/trunk/simplewizard/makestaticmap.html and the marker is on the image, but when i put this link into my website, the marker doesn't show up. Here is the website where i'm trying to view the map. I see the map, but no marker. http://church.allthingswebdesig...