I'm trying to build a single row css table with multiple cells that has text that is vertically centered inside the cells. Basically the table behaviour I am trying to mimic with css is this:
<table width="100%" height="54" border="0" bgcolor="red">
<tr>
<td width="20%">text</td>
<td width="20%">text</td>
<td width="20%">te...
I like the functionality of Share This, but I only need the "email this" option using my own custom icon. Is there a sensible way to do this?
Thanks!
...
Hellogain, this time I have a page which will load different kinds of file formats, well... i use a switch with php to load the correct player according to the filetype. But when I try to load a wmv file, the video automatically grows and exceeds the allowed size that i gave the player... i don't know how to prevent that. Here is my cod...
I am trying to insert rows into an html table with javascript. I have the table created and can add rows successfully with the click of a button. However, I want to be able to populate the rows with elements from several arrays on load. The button is just to make sure the rows are being added.
<html>
<input type="button" value="Add ro...
I have a question with turning this html into erb.
<button name="support" type="button" value="Get Support" class="brightOrange">
<span>Get Support</span>
</button>
I've been trying to do something like this in rails.
<% form_tag get_support_path do %>
<%= text_field_tag :email, "Email:" %>
<% submit_tag "Join", :class=>"bri...
Why does the inner DIV also become transparent when I use this code?
My plan was to have the text visible and transparent background.
Do I have to float the inner div over the transparent div?
You can see live demo here: http://jsfiddle.net/pBAf5/
HTML
<div class="openinghours floatRight">
<div class="content">My test goes here</div...
I have a interesting problem I need to solve. A customer wants to enter a customer id (using a scanner) in a input element and using AJAX, it will fill another input element with the customer name. A new input element should be added and focus set, so the customer can enter another customer id. I have two issues that I need help solvi...
I created some HTML code based on a javascript var. I want to update these HTML code when I update the source var. Because I have object reference in the HTML, I know which HTML section to update.
How do I accomplish such thing?
Thank you.
...
Should I be using $("#myElement") or $(myElement)? Both appear to work.
...
I cant figure it out. How do i align the textbox? I thought using float: left on the labels on the left (then doing it on the input when i notice the input was now on the left without that) but that was completely wrong.
How do i get the textbox align along with the labels on the left of them next to the textbox instead of the far left?...
Hi all,
Just wondering: what is the current king of the hill for rich text textarea editors?
Last time i checked (years ago) it was TinyMCE, is there a better option now?
Thanks a lot
...
I am making some changes on an already established website and need to make the following change.
Currently, there are three images and when one of the image is clicked/chosen, a text message displays and after that a next button can be clicked which takes them to the next page.
Currently, the next button (an image) shows right when th...
I'm trying to add _1, _2 etc to the end of my input elements in a dynamic form. The user can add as many as they want I wrote this method but it seems to throw errors saying the "dName is undefined"
$j("#addBranch").click(
function()
{
//see withDataAndEvents, copie...
I have the following check box list inside table. I want to hilight the <td> when a checkbox is checked and unhilight when checkbox is unchecked. I know that I need to add class to <td> when checkbox is checked and remove class when unchecked.
<table id="cbDepartment">
<tbody><tr>
<td><input type="checkbox" name="cbDepartme...
We embed some flash stuff onto our site (YouTube videos + an audio player), and they're causing most of our validation errors.
http://validator.w3.org/check?uri=http://www.greendayauthority.com/&charset=(detect+automatically)&doctype=Inline&group=0
Getting a lot of these
Element param not allowed as child of element ...
In css, i set the overlow property of the div to scroll and it works well. But the scrolls are visible but not active with a greyed color even they are not needed.
So how can i make the scrolls invisible when they are not needed ?
...
Hello,
I have modal view controller:
[ self presentModalViewController: some_controller_ animated: NO ];
In this controller i have UIWebView with player - <video> tag.
<video id="player" width="420" height="310" autoplay='true' controls>
<source src='<TMPL_VAR NAME=VIDEO_URL>' type="video/mp4"/>
</video>
It has native contr...
It's working fine under chrome, anyone have an idea on what tool I could use to check what is wrong? Or where to look?
This is the whole code if anyone is interested, but I doubt it would be of use.
$(document).ready(function(){
$('a').click(function(){
$(this).blur();
});
$('.opcion').hover(function() {
$(...
Hello,
My question is almost stupid because I think I know the answer but I wanna be sure. Does it exist a mechanism to be able to put a tag at a specific location. I mean, I can set the coordinates X and Y of a tag. Maybe this specific tag should be placed in a special parent tag?
Do you know an another way to do this?
An example sho...
Using Sphinx, I'm editing pylearn documentation content at https://bitbucket.org/omidraha/pylearn/.
All paragraphs are Right-to-Left (because of Persian language) and code samples between text, rendered incorrectly.
Generally I'm looking for a way to apply bi-directionality algorithms of unicode or microsoft on a web page.
Is there...