html

Lining up content in divs without table cells

Hi, I have two rows of links like: Link 1 Link 2 Link 3 Link 4 Link 5 Link 6 Link 7 LInk 8 I need the top four links to align with the top bottom links regardless of how many characters are in the link. For example, This is link 1 This is link 2 Link 3 L4 LInk 1 Link 2 that is l...

fixing IE7 float inside float bug

hi, in ie7 if you put a floated element inside a floated element to the same side the inside element just pushed far away outside the container element to the direction of the float. consider this code <div style="float: right"> <div style="float: right"> some text </div></div> any solution for this bug?? ...

CSS layout problem on Firefox with filling space between end of left column and footer

Basically, the left column is supposed to extend to the footer with the continuous red color. However, in Firefox on pages with lots of text, the column does not extend to the footer and leaves a large white gap--see site: http://library.luhs.org/JHSII/about.html I've tried readjusting the heights, creating the sticky footer, and other...

Creating dynamic text for a literal control

On the ListView1_ItemDataBound of a list view event, i create the literal.text like so... <span style=&quot;position:relative;&quot;> style="position:relative"> <span id=&quot;term1&quot; class=&quot;popup&quot;>This id="term1" class="popup">This is the answer!</span> <a href=&quot;javascript:void(0);&quot;onMouseover=&quot;ShowPop('ter...

jQuery + form + textinput > Is it possible to display one value in a textinput and submit another?

I'm working on an application where dates are passed as yyyy-mm-dd but displayed to the client as mm-dd-yyyy (US based client). I'm using a jQuery datepicker for selecting from/to dates in a report and would like to show the dates to the client as mm-dd-yyyy but when the form is submitted, submit as yyyy-mm-dd. Is it possible to displa...

Array of paths to html lists

I wrote a recursive function, which returns an array with the paths to all files/folders in a given path. An array is already sorted and returns the exact information i want, but i struggle to display it properly in html lists. Array_of_paths = ( [0] => /path/to/folderA/ [1] => /path/to/folderA/subfolderAA/ [2] => /path/to/folderB/ [3]...

IE7: display problems

I have a fieldset- let's call it "foo"- in a form that is conditionally displayed based on whether a checkbox is checked or not. If the checkbox is clicked, then a javascript function is called which sets the display property of "foo" to "block" or "none". In IE8 and FF a displayed "foo" correctly causes the fieldset below it to move do...

rich:suggestionBox with s:convertEntity for multiple items?

I have a scenario in which, given an object, I'd like to be able to provide a suggestion box where users can enter the keywords that apply to that object (very similar to the 'tags' feature here on stackoverflow). My keywords are entities themselves, and maintained in their own table. I do a many-to-many join on the objects and the key...

Center text with background CSS "shape"

I'm trying to create a "cancel" link that looks like an x with a solid red circle behind it. Here is the CSS: .circle { display:inline; padding-left:4px; padding-right:4px; background:rgb(196,15,24); -moz-border-radius:10px; -webkit-border-radius:10px; } .circle a { font-size:10px; text-decoration:none; color:#fff; }...

Alternative to jQuery .data()?

I'm a big fan of jQuery's .data() method, but I can't always use it. Often times I am rendering html templates that I pass via AJAX and I need to attach metadata to each of the elements in the template. For example: <ul> {% for item in itemlist %} <li metadata="{{ item.metadata }}">{{ item.name }}</li> {% endfor %} </ul> I know at...

Line break in Label

when i m writing a long sentence in label without line break then it does wrap automatically. i m putting that label in tag. how can i wrap that long sentence. ...

How do I cause the controller buttons to display for an Apple Quicktime video embedded in Firefox?

I am trying to embed a Quicktime video in Firefox, but when I do the controller buttons do not appear. I've tried both the old style embed tag and the new style object tags, but when I set the "controller" option to true there is no change in the appearance of the plugin. The video loads, but it is zoomed in on some portion of the vide...

Download button that send application to blackberry and asks everyone else to register???

Hello all I would like to know your opinions on how to handle this. I need to create a link or advertisement that offers a phone app to be downloaded. I need that users who are viewing the page with their blackberry receive the download when they click the button but everyone else who would be viewing the page would get a form which a...

The standards are not explicit, are ambiguous

Why is this said? I would like to find some examples due to this topic and not for errors or bugs. Thanks ...

What are the precise rules/PHP function for encoding strings into POST arrays?

Greetings, Just getting into PHP web development. I've got an HTML form where a user checks some series of dynamically-generated checkboxes, and submits via POST. On the PHP side, I want to check which of the check-boxes were clicked. I have an array $full_list, and am doing something like $selected_checkboxes = array_filter($full_l...

Why doesn't BlackBerry let me click on this link?

This is a link in an HTML email.. Other links in this email work, but this one does not get recognized in a BlackBerry as a link, so you can't click on it. Does anyone know why that might be? Here's the markup for it: <a title="Continue" style="display: block; width:200px; border:1px solid #336699; text-align: center; padding-top:...

Show/hide rows with jquery

Hi I am using some modified code from another post. Basically I want to switch between showing 10 rows of a table to showing all rows (50 for example). I have got it to show from 10 rows to all, however what I need to do now is code it so that if I click the div again it toggles or resets back to showing 10 rows. <script type="text/ja...

How do I use the html 'title' attribute with Html.Encode()?

Hello, I've been tryin to find an example of the syntax for getting an html 'title' for a string when using Html.Encode(). I want to display the full name in the mouseover title, if it's too long. Is there a way to do this without wrapping the string in a < span >, i.e. <span title = "<%=Html.Encode(model.Name) %>"> //displays the ...

How to post json data with extJS

Greeings: I'm a bit of a newb with both extJS and json. What is the most painless route to POSTing json data using extJS? I'm not really interested any GUI features, just using the framework to send some sample data. ...

What is Best way to obtain filename for HTML FILE Uploading on forms?

I need to obtain the String for the file that is being uploaded from forms to store in the database. I am using the usual form input file element input type="file" name="some_name" I found a couple JS scripts that allow me to do useless things like display the string in a dialog box, etc. I need this as an element on the request ob...