html

IE7 png images loading but appearing with the 'image not found' red x

Below is an image of the problem. I've tried correcting the folder permissions to 755, i've tried setting exact paths, i've tried removing all of my styles and nothing works. Background png images seem to load fine. There are some flash elements on the page (top and side nav) Any help would be much appreciated. Thanks in advance. ...

jquery load/unload content

I'm doing my first project with jquery: My site will have some tabs: 1. I've got a list which will be the tabbar. 2. I've got a lot of content-container-divs which I hide() / show() depending on which tab I clicked. My question/s: Should I load() unload these divs, even if they are in the same html ? (on jquery-docs they load from ex...

Close <p> tags in jQuery

I have a large html file of a story. The <p> tags are not closed, for example: <p> First paragraph <p> Second paragraph I would like to have a proper XHTML document: <p> First paragraph</p> <p> Second paragraph</p> Can I achieve this with jQuery? Thanks ...

Difference between <input type=submit /> and <button type=submit>

There are many legends about them. I want to know the truth. What is the difference between <input type='button' value='text' /> and <button type='submit'>text</button>? ...

How get to pretty HTML source code from PHP generated output?

When you look at the source code of PHP generated output usually everything is on one line, it makes it very hard for front end developers to read the code and trouble shoot. So is there a way to get PHP generated output to go from this: <ul><li>Hello</li><li>Hola</li><li>Bonjour</li></ul> to <ul> <li>Hello</li> <li>Hola</li...

disabling table border in a column wise

I want to disable border in a table by selecting a column, i dont want to see any border on the first row and first column of my table. <table> <tr> <td style="border-left:0; border-left-color:white; border-top: none;"> </td> <td colspan="2"> Header text </td> </tr> <tr> <td> One ...

Gradient alpha fade out effect with CSS 3

I would like to know if it would be possible to replicate the effect like the bottom of the Top Tweets list with pure CSS? http:///www.twitter.com ...

Specify embeded flash object directory?

How should I change the following code if I want to put my flash object into a directory named "flash/", I tried changing the value to "flash/photo.swf" but it didn't work. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="...

How do I structure my HTML to give priority to a specific divs width over another div?

I need to create the following layout: +--------+----------------------------------+-----------+ | fixed | variable | variable | fixed | | width | width - p2 | width - p1 | width | +--------+-------------------+--------------+-----------+ Where the two middle boxes, with their variable widths have the p...

CSS Background Image Query

Hi, I basically have the following class: .sf-sub-indicator { background: url("/abcprod/images/arrows-ffffff.png") no-repeat -10px -100px; } Is it possible in CSS to set a background image clause to use a hardcoded symbol such as ">" so that instead it uses: .sf-sub-indicator { background: url(">") no-repeat -10px -100px; } ...

How to show images or data in bottom to top in a table in php

I have more than 30 images and and i am getting them in a loop,Currently i am showing 7 images in a row but i want like this that after first 7 images which are shown in row the next seven will be shown in its above row and the next seven in it its above row in a table.i want to do it dynamically in php. ...

display jquery returned data correctly

hi...i've been a prototype user for a few years, and now for several reasons, i'm moving to jquery.. but still have yet familiarize myself with jquery's syntax.. my question is how do I convert this prototype code to jquery correctly? new Ajax.Updater('displayArea', 'shoutbox.php', { method:'post', parameters: {action: 'display', s...

Why does adding a hidden text box to a form stop IE refreshing on enter

Hi, I was looking for a fix to stop IE refreshing the page instead of submitting my single line form, when a user hits enter instead of clicking go. I found this solution, which works well, but I was wondering if anyone could explain why it works? The solution I used is to add a hidden text input within the form tags, like this `<fo...

Questions about building a website

Just a couple questions about building websites. I know the basics of building a website, but there are a few things I was wondering about. The first thing is about posting on the main page. What I mean is if I want to set up an admin page where me or the other admin want to login and fill in the box and click post, how do you post to an...

How do I remove checkbox border?

Is it possible to remove the borders around a checkbox so that it appears invisible? I have it placed in a DIV with a color background. ...

one TMLH footer page to show all my web page

i am making side all pages static html i want to make footer another page and i want to show all my web page because when i have to make change in footer then i will have to change all of my web pages its so difficult i want when i change one page it will appear all pages how can i do it please help me i am using html pages Thank's ...

How do I overlay a menu ontop the rest of my site?

I have php generating html and I want to create layers. Basically I want to have a menu overlay without messing up the structure of everything displayed under it. ...

Learning cross-browser development (CSS/XHTML)

I have been out of the loop with web development for about a year and a half now. My current project is working/functioning well with OS X browsers; Google Chrome, Apple Safari and Mozilla Firefox (minus a few things). Many things have changed since I was working heavily with these technologies. Does anyone have any suggestions in the ...

CSS in ID colon means

Hi, I have seen an HTML code like this for the ID tag, id="t1:c3" Can someone explain this to me? What is the purpose of the said colon(:) ? Thank you. ...

Help to make jQuery simple

How can i make this shooter. It does what it should but it is very long. Oh and I need to run a function for each number. This is my HTML <div id="moremenu" class="hide"> <ul> <li>View count</li> <li>Click count</li> <li>Profile</li> <li>Inbox</li> <li>Uploads</li> <li>TV</li> <li>Notes</li> <li>More</li> </ul> </div> <div class="stat...