html

How can I line block elements up in a row?

I have several block a elements that I want to be side-by-side to create a menu. The width of each is set to auto to accommodate the text inside. Each a element is displayed as a table cell and can work with either absolute or relative positioning. Thanks for any help. Mike ...

problem with single xml file when we select the different songs

Actually in my website www.musicking.in when the user selects songs one player window will open and that will access the corresponding selected songs xml playlist and the player will play those songs. actually its working fine. but sometimes the problem is when so many users are accesiing the player not playing the songs selected, eithe...

How can I center align a div without knowing the width?

I've looked this up and the outlook seems bleak. I'm not interested in using a table. I have 6 or so 'a element' inline-blocks that make up a menu. It's slick, except all the 'a elements' are set to width: auto; to accommodate their text. Without an explicit width, I'm not able to center align them. I have a container div and a child div...

Div displaying weird in IE - there's a surprise!

<style> body { background: #9cdcf9 url(/images/left_cloud.png) bottom left no-repeat; font-family:\"Trebuchet MS\"; padding:0; margin:0; border:0; } #cloud-container { width: 100%; background: url(/images/right_cloud.png) bottom right no-repeat; height: 100%; } #plane-container { width: 100%; backg...

how to store a xml file into mysqldatabase and retrieve it?

I have generated a XML file automatically from the below code. if (isset($_POST["song"])&& $_POST['song'] != "") { $song = $_POST["song"]; } else { $song = array(); } $dom = new DOMDocument("1.0"); // display document in browser as plain text // for readability purposes // create root element $root = $dom->createElement("playl...

Possible to call an entire page with ajax jquery and no refresh?

Is it possible to load an entire page head and all with ajax/jquery? Without a reload. I want to be able to slide a page in iphone like. I need to load the head as it contains javascript specific to each page. Thanks. ...

List wordpress sub-pages as drop-down list in navigation

I am currently coding a HTML website into wordpress. The problem that i'm having at the moment is that I can't seem to include a drop-down in the navigation list, via the wp_list_pages tag. So that means at the moment, the "products" list-item, on hover, does not drop down to reveal pages (or sub-pages in this case). This is due to the...

query string?

I have some doubts. What is querystrng? how we can use it? what are the advantages? what are the parameters using for querystring? ...

Html problem. Anchor tags href not working [Really Weird]?

Edit: closing anchor fixed - This issue exists when testing on the following browsers Google ChromeFirefox 3.5Safari Works with no problems on IE 8 Hey guys, I'v a really weired problem here! In short, take a look at the following html: <a href="login_page.html" class="img"> <span class="img_holder"> <img src="images/columnists/mi...

CSS - Styling Checkboxes, Radio buttons & dropdowns

how can i style html Checkboxes, Radio buttons & dropdowns? or can i? eg. can i use an image for checkbox/radio button? same for lists - the arrow down button thingy is not nice most of the time? ...

How to impose maxlength on textArea in HTML , Javascript

I would like to have some functionality by which if i write <textarea maxlength="50"></textarea> <textarea maxlength="150"></textarea> <textarea maxlength="250"></textarea> it will automatically impose the maxlength on the textArea. If possible please donot provide the solution in JQuery. Note: This can be done if i do something li...

sharepoint accessibility

How compatible / compliant is sharepoint with current accessibility rules. Also how compliant is it with the UK disability act? ...

How much can IntelliJ's CSS on-the-fly validation do?

I've been looking into IntelliJ's advanced features, specifically its on-the-fly CSS validation (their site says that it can find "Unused CSS class definitions") to help us clean up our massive CSS files in our hundreds of JSP pages. IntelliJ has so many features and seems to be pushing the envelope in many ways but how much can IntelliJ...

Valid HTML and the number of TD elements

I have a HTML table with several columns and several rows. The last row does not always have as many TD elements as the other rows. It renders correctly in several browsers I have checked and passes validation checks. But it seems incorrect. Should the number of TD elements be the same in every row? EDIT: This could happen with or witho...

Ajaxian HTML to PDF print control

Is there an AJAX control for converting HTML pages into PDF? I'd like to add a "printer-friendly" link which creates a PDF file of the current page. ...

reading option of three select tags with same name

Hello How can i have three or more select tags with same names(as in my program, the select tags are being generated dynamically), and select independently what option was selected. I have a loop, where my php reads a sql table, and for each row, it creats a select tag and a button with it. <select name="vote"> <option value="1">...

open a new html page through php.

Hello, I want my php to open a new html page. I have a html page, where a member can login by typing her username and password and then click on button. if the username password is correct, i want my php to open a different html page in the same window. how can i do this?? Zeeshan ...

Using CSS to grab all available vertical space?

I'd like to create a that extends from wherever it starts to the bottom of the page, but does not extend beyond the bottom of the page. It has overflow-y: auto, so that if the div content is too long, a scroll-bar will appear (for that only, not for the whole page). I tried height:100%, but that makes the height equal the page height...

Absolute Block Behaviour

I have the following HTML snippet: Block 1: <div style="position: absolute; top: 105px; left: 15px;"> <div style="float: left; width: 50px; height: 40px;"></div> <div style="float: left; width: 100px; height: 20px;"></div> </div> Block 2: <div style="position: relative; width: 60px; height: 20px;"> <div style="position: absolute; to...

Changing the address of the website, as per the php being used.

I have a button in my abc.html page <input type="button" onclick="javafun();"> on the click it goes to javascript, which further send info to my abc.php ...and the javascript function looks like: function login() { xmlhttp=GetXmlHttpObject(); //alert("pass"); if(xmlhttp==null) { alert("Your browser does not s...