html

HTML Form. Add/Remove Form *Sections* (not single fields) on drop-down selection.

I'm creating a quote form where a user will select a service (logo, print, website etc.) via a drop-down and click add. A div of predetermined form values related to their choice will appear below in order for me to gain more detail on what they're looking for. Once they make a choice, and customize it's options, they can add additional ...

CSS: IE8 vs World (Firefox, Chrome, Safari)

I have a theme using Adaptavist Theme Builder for Confluence, and I've encountered an issue where the theme is prefect in Firefox, Chrome or Safari but IE8 doesn't want to constrain the width of the table: Example: http://wiki.bccampus.ca/pasbc Turning on Compatibility mode doesn't help... It's a three column layout, and the width of ...

Vertically aligning <div> with one <form type="text"> and 2 <span>s

Hello, I'm looking to align one of my <div> containers which has a nested <form ype="text"> and 2 <span> tags but I can't seem to apply a margin-top: 6px; to the container <div>. Would padding-top: 6px; be the answer? ...

Setting tooltips for disabled input text boxes in javascript and CSS

I am trying to display a tooltip when you hover over a textbox which has been disabled to indicate why the textbox has been disabled. Setting the title attribute works on IE but doesn't seem to work in Mozilla Firefox. Does anyone know of a simple solution in Javascript and CSS without using JQuery or any other Javascript library. ...

Javascript seems to be altering form field style

Hello, The form with the class="checkMax3" below displays text a few pixels lower than it should. In Chrome, letters like lower-case "p" and "q" extend below the bottom of the field. In IE 8, the bottom portion of these same letters does not display. If I recall correctly, this problem started after I applied the Javascript below to ...

Why won't this text float around the image in the middle?

I'm working on this site http://church.allthingswebdesign.com/about.php and why won't the p tags float around the image? ...

CSS Transform Rotate letter alignment

Im using CSS Transforms to rotate an h2 5deg. For some reason the letters are out of alignment. Take a look at an example here http://dev.bestprintideas.com/bpi/image.png Heres the CSS .note-offer h2 { color: #626262; text-shadow: none; text-transform: none; margin: 15px 0 10px 25px; -moz-transform: rotate(-5d...

How does Google create its form buttons?

I really like how Gmail has created the form input and accompanying "Search Mail" button. See linked for screenshot. However, I'm having a difficult time deciphering Gmails compressed HTML/CSS code to figure out how they created this look. Can someone assist me in figuring out what HTML and CSS I need to use to recreate the combinatio...

HTML & PHP : Doublequotes-Singlequotes Issue

in HTML we can face='Tahoma' face="Tahoma" and in PHP $name = "Junaid"; $name = 'Junaid'; $names = array('Junaid','Junaid','Junaid'); $names = array("Junaid","Junaid","Junaid"); now all these statements are correct with single or double quotes but what difference does it make which is the preferred method what types of quotes t...

How do I get an element to cover a Flash video (tried wmode=transparent)?

I have a Youtube video on my homepage, and now I need a modal to display on certain events. For some reason, even when adding <param name="wmode" value="transparent"> to the Flash object, it still covers the HTML elements (with higher z-index too). I've got it on JSfiddle. I figured maybe an iframe could solve this, but that would req...

Camtasia html page Video does not play when uploaded to Server

Hi All, The graphic designer created a camtasia video yesterday and im just trying to upload it to our production server. When i navigate to the html page the video and screenshot of the video show without issue. When i click play the media bar shows up down the bottom but nothing will play. Any ideas? Thanks ...

Will static page content wait to load until an AJAX script gets its content?

I'm trying to get off site content and display it on my web site. I have site 1 and I want to display some content from site 2 on site 1. My plan is to use AJAX, on site 1, to load a PHP script, on site 1, that will load the content from site 2 and echo it. Then AJAX would take the echo from the PHP script and display it in a DIV on si...

Once I have identified the beginning and end parts of a section of an html document using lxml, how do I get everything between them

I am working with some html files. I am trying to figure out a way to consistently get to some text that exists in the documents. I know that the section I want begins with some bolded words and I know that the section ends with other bolded words. bolded_item=atree.cssselect('b') myKeys=[item for item in bolded_items if item.text if...

Aligining Authorize.Net element to the center.

Hello, I have this Authorize.net element on my page, which is basically authorizing my site for payment, which basically authenticates my site as an authorize.net merchant, but I can't find out how to center it, as I think it looks better this way in my right column, rather than aligned to the left. Here is the page: http://www.mariopla...

UL in HTML scrollable on iPhone

The HTML page has two section the first section takes the top half and the second section takes the second half. Each section is a <ul> with 25 <li>s. I use event.preventDefault(); in the body to prevent the HTML page from scrolling. but can I still make those two section scrollable? and display them as described above? ...

How to mute background music in html page

Hello friends, As per clients requirement, i have added a background music to webpage. I have set the music in loop mode to play it continuous. I have used <BGSOUND> tag to play the audio. The problem here is how to implement mute button so that client can mute the playing sound. I know nowadays its a bad idea to play automatic backgrou...

Equal height columns with padding

Hey. I have the following markup: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <title></title> <style type="text/css"> * { padding: 0; margin: 0; } #container { padding-left: 200px; ...

resize picture c# for web

Goal: I have lots of pictures in many sizes (both dimensions and file size) I'd like to convert these files twice: thumbnail-size pictures pictures that will look OK on a web page and will be as close to a full screen as possible... and keeping the file size under 500KB. HTML Questions: A. What is the best file format to use (jpg,...

Easiest CMS to Theme?

I'm trying to create a theme for a CMS, but it's proving nearly impossible, as I have no understanding of PHP or ASP.NET. I can put a site together via CSS and HTML, but I want clients to be able to add and edit content themselves. I'm about ready to give up on designing one altogether and just use an existing theme. I've had a go at tr...

how to transform a dropdown list to a button with dropdown list popup

I need to modify a dropdown list: http://dl.dropbox.com/u/72686/now.png to this widget (not sure how to define it): http://dl.dropbox.com/u/72686/later.png I can use jQuery for it.. or maybe there is a html form element ? thanks ...