html

how to get php to read in a string of words from a dropdown box?

Can any one please help me? I am new to php, currently I am trying to use $_POST['item'] to obtain a string (consists of many words) from a dropdown box and then process it. However, when I use $_POST['item'], only first word is returned, the rest of words are missing. I have a dropdown box, something like: echo "<form action='process_...

Linking to External Stylesheets with HTTP:// or local path

What are the pros and cons of each? Is there a difference? CSS Stylesheets in HTML. ...

HTML/PHP - I need to create a 10 by 10 grid with a 100 boxes, each needs to be selectable

I've created the grid using tables, but can't seem to figure out how to allow the user to select a specific box in the grid. (i.e. user selects 3 boxes, each having xy coordinates, which I would need to store in a database) Maybe I should not be using tables and instead using divs? Any help would be appreciated. NOTE: I'm a newbie to...

Select text just like "Ctrl+A" when clicking the text?

I just want to select the text in a paragraph when I click or double click the "p" tag.Not highlight,just like using mouse to make a select area to choose text to be selected! thank you very much!! I am so sorry! It is about a web page function.I have several paragraph and *.rar file link address on the page, and I want to select all...

The attribute of tag a overrid its parent(div)?

I have a link in a div, I want the link color change to red when the div is hovered(not just when the link itself is hovered),however I can not make it work well. This is the exmaple: <div class="witha"><a href="">Test color without tag A</a></div> <div class="withouta">Test color with tag A</div> This is the css: <style type="text/...

How to move an entire group of objects with Javascript

I am trying to move everything contained within the div id "tile", to the center of the web browser. By default the CSS is undefined and it appears on the left side of the browser. What I would like to do is move the entire div to the center using javascript when the button "move" is clicked. The html is shown directly below, and the a...

how to get php to read in a string of words from a dropdown box?

Hi Guys, thank you all so very much for helping. It's seemingly such an easy task, and I feel I just hit a brick wall and not knowing how to fix it. I'll try to explain what I am doing a bit more and hope it makes sense. I used a database to populate my dropdown box, dropdown box is something like: echo "<form action='process_form.php...

Using CSS for solid color background across/between table cells

Consider the following code: HTML: <table> <tr> <td>Hello</td> <td>Stack</td> <td>Overflow</td> </tr> <tr> <td>some</td> <td>text</td> <td>here</td> </tr> </table> CSS: table { border-spacing: 40px 10px; border-collapse: separate; } tr:first-child { backgrou...

how to get php to read in a string of words from a dropdown box?

Thank you guys so much for being so helpful. Owe you guys a big thank you. I will be asking more questions in the future. Some one has solved the problem by giving me this code: echo "" . strval($row['style']) . "" . ""; and it worked beautifully!!!!!!!!! You guys rock! I am sorry guys, I don't know how to post follow up questions, s...

jquery: get selected checkboxes, put in array, delimit the array and output to dynamic html button

Hi, I want to have a web button that is generated dynamically depending on which checkboxes a user selects, without needing to reload the page. I guess jQuery is the way to do this but I am a complete noob with jQuery/JavaScript (trying to learn on the fly, which isn't easy). Ultimately, I think it s/b a 2-step process: (1) as the user...

i have a doubt in css border-radius

i have a css code: -moz-border-radius-topleft:50px; i get the result: Is there any possibilities to give like this: ...

Django - Replicating the admin list_display

What's the easiest method to get list_display functionality in my main website (outside of the admin pages). I have a group of elements I'd like to select and perform an action. Any ideas? ...

How to show HTML in radioButton in flex3/4

I want to show underline and strikethrough text(asdb etc) in a radiobutton control, there is no htmlText property to make use of. Is there any way to do so? ...

Detecting first and last item inside a Groovy each{} closure

I am using Groovy's handy MarkupBuilder to build an HTML page from various source data. One thing I am struggling to do nicely is build an HTML table and apply different style classes to the first and last rows. This is probably best illustrated with an example... table() { thead() { tr(){ th('class':'l name', 'name') ...

how to center a footer div on a webpage

Hi, I want to center my web page footer and create a reasonable gab between it and the above content. Currently, the footer has a line and paragraph joined to the above content. I can push down the content but the line does not move. I am sure the property I am missing out in my css style sheet. Could someone help? This is my html mark ...

jQuery not detach()'ing if it contains an input tag

Hi there I have a table which i need to move elements up and down in. I have the code working, but as soon as I add a tag to it, it throws the error: Error: this.visualElement is undefined Source File: http://192.9.199.11:83/templates/admin/js/jquery/ui.checkbox.js Line: 94 The HTML looks like this: <table width="100%" cellpadding=...

JQuery Stack of Cards

Hi Guys, I have a stack of cards. They are stacked so each one has about a centimetre at the bottom visible. What I want, is when a card is clicked it moves to the right, then gets sorted to the top and moves to the left back onto the pile. I then wish to trigger a page change (to the page that's represented by the card). How would I d...

Can anyone tell me why these named anchors are not working in IE?

Hey Guys, I can't seem ti understand why these trivial named anchors here are not working in IE? FF, Safari and Chrome have no problem. ...

IE Bug - gap in table cell on text wrapping

Here is a self explaining example of my problem - http://orkz.id.lv/test/test.html Open with any IE version (not sure about IE9) Can't figure this out .. ...

CSS Menu Problem

my css for the menu ul#menubar { width: 800px; padding: 27px 10px 5px 10px; list-style: none; text-align: center; } ul#menubar li { display: inline; } ul#menubar li a{ border-right: 1px solid #111111; font: 12px "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Gr...