html

HTML/CSS layout question

I just need a little help with some CSS layout if you don't mind. I've got three things I'm trying to play around with and I need some help making this work the way I was hoping. I've got the <body> element of a page, which I'd like to be 100% of the browser window, obviously. Then I've got two <div> elements which I'd like to stack o...

how to fix footer at specific height

Hi All, Please tell me how to fix a footer at specific height and it will get down as per content Thanks Mayur ...

any suggestions on this css print problem

I have this code on my print.css: #header, #tae, #nav, .noprint {display: none;} width: 100%; margin: 0; float: none; In order not to display the elements within those div tags. But I don't know with the code below why it isn't cooperating. If I place the div tags on it. And then I hit the print button. I see...

Control an embedded flash movie's playback in HTML/php

Hi I am using an embedded flash movie in my web page. I would like to show some alerts on the page when the movie has played for x seconds, pause the movie while the user views and dismisses the alert and start playing the movie again after that (or the user can press the play button, not important) The important parts being - the app ...

how to fix footer at specific height as per content and it get enlarged if content increased

Hi All, Please tell me how to fix a footer at specific height and it will get down as per content its not working properly i want to fix it at specific height. Thanks Mayur ...

jQuery - making sure content is loaded before it's faded in?

Hi, Nick Craver really helped me out alot with this code in this thread http://stackoverflow.com/questions/2743443/jquery-can-someone-help-stitching-jquery-code-with-ajaxcomplete/2743791#2743791 And it is working. But I notice that there's a small delay after I've clicked a link and before the content is actually loaded. It's not very i...

Outputting an HTML entity character from a helper function

I am using Symfony 1.3.2 on Ubuntu. I have written a little helper function (statsfoo) that prints out summary statistics about an item. I am using the helper function in my template like this: // In StatsHelper.php <?php function statsfoo($some_param) { return "<div class=\"sfoo\">&9830; the stats number for item is 42</div>" } //...

Make a table start on the same line as header

I am trying to get a table of icons appear on the same line as the header. In the HTML below, the icons appear on a separate line. I tried using 'top' attribute to move the table, but this is not a good solution because then there's an ugly space between the icons table and the rest of the document. How can I fix this? <html> <head>...

XSLT: Transforming into non-xml content?

Is it possible to use XSLT to transform XML into something other than XML? e.g. i want the final non-xml content: <Content> <image url="file1.png"> <image url="file2.png"> ... <image url="filen.png"> <EndContent> You're notice this document is not xml (or even html), but it does have <elements>. Is it possible, using XSL...

Is there a way to have element behind a div (links) clickable in areas where the div is "transparent".

I have a block element that is positioned absolutely and some other elements on page that are positioned fixed. The effect is the block on top floats over the page which works well. The links in the elements at the bottom underneath are not clickable. They shouldn't be when the content of the div is over them, but when the "marginal" ar...

How does SO's form remember previous input values?

I've noticed that the Title or Body part is remembered if I come back to the Ask Question page by pressing Back button of my browser. This feature is available in all browsers I tested, but doesn't exist for the forms in my own projects. How can I approach that effect? UPDATE I still don't have any clue yet,but guess it that some kin...

Hide div after specific time and after buffer the flash video.

Hi i embed a video in my html page and i want to hide div after complete the video. and a specific time.my video time is 12 sec. I am using this function $('#fvideo').fadeOut(12000); and html code. <div id="fvideo" class="video"> flash video </div> UPDATE actually what i want is that flash video fadeOut time should...

Are table headers only for the top row in html?

Hi, I always see the th tag only used in the first row of the table. Is there some specific reason why it can't be used to create 'left' headers along the leftmost column. Is this bad form, or is this ok. Basically, a table with headings on the top row and the leftmost column, with the very top left square being empty. e.g. <table> ...

Website files caching?

I want to know how long certain files like css, html and js are desirable to be cached by .htaccess setting and why different time setting for each file type? In few examples i saw that someone cache html for 10 mins, js for a month and imagery for a year. ...

How do I access the array submit() calls in the dom?

I want to grab all the inputs inside a form, in order to submit them. The point of this is to use jquery's ajax to submit a dynamically sized form. Surely there must be an array inside the dom somewhere which i can just do something like... docment.forms['form'].elements which only lists inputs for that form, meaning I can loop throu...

HTML + FLEX: display flash behind HTML

hi, how can I display my flash video, behind the tags on top of the page ? Website: http://www.sanstitre.ch/drupal/portfolio?tid[0]=58 thanks I'm using SWFObject wrapper (cross-browser) http://code.google.com/p/swfobject/ <div style="background-color: rgb(255, 255, 255); width: 100%;"> <object height="445" width="660" type="applicat...

Select list shrinks in size horizontally when empty

Hello, I have two select list boxes and i can move items back and forth between them using the forward (-->) and backward (<--) button. However, if there are no items in a select list, it shrinks in size horizontally. Any way to keep the select list a fixed size, irrespective of whether it contains any options or not ? Below is the cod...

Basic xhtml/css models ?

Hi, I need to produce a very simple website (no dynamic-content, 2-columns, header&footer) and I have a basic knowledge of xhtml/css/php. So I could probably come with something from scratch, but it would probably won't work in "all" browsers. I've done some googling, but it's difficult for me to evaluate the quality of the "free temp...

Submit button question.

Can I turn a link for example <a href="#">submit</a> into a submit button for a form? If so how? I'm using PHP, MySQL, XHTML and CSS. ...

Employer wants direct, no-hack, ie6 support for CSS. Should I talk him out of it?

I'm currently employed by a website Designer, he gets the clients and sends me a mockup in a fireworks file, and I send him the html/css/js. The problem is that he wants direct ie6 compatibility for every site I build. That is, no conditional ie6 hack, no separate style sheets. A lot of my html has suffered because of it. I just started ...