html

Problem with Pseudoclass and text-decoration:underline in IE6

I am using a piece of html something like the following:- <a class="somePseudoClass" title="Blablabla">Something</a> and I have the following css in an imported file. a.somePseudoClass:hover {color: #000000; text-decoration: underline;} This works perfectly in Firefox 2.0 but in IE6 the underline fails to show. Does anyone know o...

Need help displaying children lists without spacing the parent lists

I am printing out a list of college majors we offer, then within each major, we have concentrations for each major. Our Science Major has the following concentrations: Environmental Science & Forestry, Chiropractic, Chemistry, Biology Here is a screen shot of what it is doing: I do not want the spacing it displays (I do not want the ...

What's the difference between these two methods of linking a html page to a css file?

I've been reading through a few tutorials about css, and I saw two different ways to state which css file should be used to style the page: <style type="text/css">@import url("style.css");</style> and <link rel="stylesheet" type="text/css" href="style.css" /> What's the difference between them? Which one should I use? ...

CSS Trick to show border on table and cells when cells are not empty and show no border otherwise

Hi, Is there any way to make sure that a table and cells it contains have a border only when the cells are not empty? If all the cells of the table are empty, then no border should be visible. Kind regards, ...

What CSS/JS/HTML/XML plugin(s) do you use in Eclipse?

I'm looking for a good plugin for doing web front end work in Eclipse. I don't want something that completely takes over eclipse, or something that has masses of dependencies that need to be updated all the time, or something that is geared towards a particular server-side platform, or something that costs a heap. Is there something lig...

Whats the best way to set a dropdown to selected in ASP.NET MVC markup?

I have this html... <select id="View" name="View"> <option value="1">With issue covers</option> <option value="0">No issue covers</option> </select> It won't let me insert code like this... <select id="View" name="View"> <option value="1" <% ..logic code..%> >With issue covers</option> <option value="0" <% ..logic code.....

CSS Layouts - How to position two divs horizontally within another div

I haven't played with CSS for too long a time and am without references at the moment. My question should be fairly easy but googling isn't bringing up a sufficient answer. So, adding to the collective knowledge... |#header---------------------------------------------------------------| | TITLE ...

HTML form submission in Opera

The HTML form shown below does not work as expected in Opera (Version: 9.52). The form does not have an onsubmit attribute nor does it have an input element with type=submit. It just has two input elements of type=button and both of them onclick calls a js method where I want the user to confirm the submission. If I remove the confirm() ...

removing text layer and replacing with image

Hello, I have this code, which works fine, but I would like to be able to make it so when an image appears the text layer disapears, and there would be a link to bring the xt back and remove the image. How would I do this..., something to do with changing isibility and overlaying? <html> <script type="text/javascript"><!-- function sbo...

Webservice Authentication

I'm working on a webservice + AJAX interface, and I'm worried about authentication. This moment I'm passing username and password to the webservice as arguments, but I fear that this approach is highly insecure. I was told that ssl could solve my problem, but I want more alternatives. My webservice is written in php and my interface is ...

removing the "T" from a datetime when doing a xml+xsl=html with .net (XmlDataDocument,XslCompiledTransform,XmlTextWriter)

what is the easiest way to remove the "T" from the result? I want the result to be "YYYY/MM/DD HH/MM/SS" the vb.net code is really straight forward xmlDoc = New Xml.XmlDataDocument(data_set) xslTran = New Xml.Xsl.XslCompiledTransform xslTran.Load(strXslFile) writer = New Xml.XmlTextWriter(strHtmlFile, S...

How do you read CSS rule values with JavaScript?

I would like to return a string with all of the contents of a CSS rule, like the format you'd see in an inline style. I'd like to be able to do this without knowing what is contained in a particular rule, so I can't just pull them out by style name (like .style.width etc.) The CSS: .test { width:80px; height:50px; backgrou...

What is the best way to include data in an HTML page?

What is the best way to include data in an HTML page? The data is not human-readable and will be processed by a script once the page has loaded. The options I can think of are: Using class and title attributes on hidden/empty <div> or <span> elements within the page JSON in a <script> element at the bottom of the page Load the data via...

Modifying HTML textarea as the user types?

How do you manipulate text inside of a textarea as the user types in it? ...

Make Iframe to fit 100% of container's remaining height

I want to design a web page with a banner and a iframe. I hope the iframe can fill all the remaining page height and be resized automatically as browser resizing. Is it possible to get it done without writing Javascript code, only with CSS? I tried set height:100% on iframe, the result is quite close but the iframe tried to fill the w...

Again a jquery doubt...

I am calling a .txt file from a jquery ajax call, it has some special characters like "±". this ± is delimiter for a set of array...data i want to split it out and push into a js array. but it is not treated as ± symbol when interpreted like this. so how do i get that data as just like browser content? ...

Difference between value and itemvalue

What is the difference between the value and itemValue attribute of the radiobutton in Jsf? ...

cant display image from database outside of table in php

Hello, I have this code <?php session_start(); if (isset($_GET["cmd"])) $cmd = $_GET["cmd"]; else die("You should have a 'cmd' parameter in your URL"); $pk = $_GET["pk"]; $con = mysql_connect("localhost","root","geheim"); if(!$con) { die('Connection failed because of' .mysql_error()); } mysql_select_db("ebay",$con); if($cmd=="GetA...

Is the only way of passing POST parameters in HTML through a form?

Hi, In HTML, you can send data from one page to another using a GET request in a couple of ways: http://www.example.com/somepage.php?data=1 ...or... <form action="somepage.php" method="get"> <input type="hidden" name="data" value="1" /> <input type="submit" value="Submit"> </form> With a POST request though, I've only seen dat...

HTML & CSS Coding Guidelines

We are contracting an external consultant out to generate XHTML (Transitional) and CSS for most of the major pages of a new project we are currently working on. I've been asked to put together a list of guidelines for them so that we can be sure that a certain level of quality can be expected. As a bit of technical background, we will b...