html

Table Cell Drop down menu anchored to the right of cell

I have a basic table with a div contained in it that I bring out of the cell "position: absolute" and it comes up nicely below the table cell starting at the left of the cell and flowing to the right. I want to be able to do this backwards with the last cell (that is have the submenu table anchor itself to the right of the cell(or essen...

Is it better to use divs or tables to contain columns of links?

I have a page with 3 columns of links at the bottom. Each column is put into a div and all three divs are wrapped into a big div that is centered on the page. Is this something that is better suited to a table or is a table the wrong element for the job? ...

Why do my icons line up top-to-bottom instead of flowing left-to-right in a DIV layout?

I have these 3 icons enclosed in separate DIVs all of which are enclosed within a single DIV: <div id="icons"> <div id="divtxt" class="divicon"> <img src="/icons/text.png" id="icontxt" class="icon"/> </div> <div id="divpdf" class="divicon"> <img src="/icons/pdf.png" id="icondoc" class="icon"/> </div> <div id="divrtf...

Which is better for left-to-right layout: float or display:inline?

I have some icons inside divs and needed to lay them out with a left-to-right structure instead of the default top-to-bottom layout that seems to come with divs. It's probably not news to most people who know CSS but I figured out (with a little help) that I could cause the divs to layout left-to-right using either: float: left/right ...

Context based search in JSP

I have a strange issue with the <Select><option/></select> tag.I don't write any code to enable context search(ie. if I type A it will list all possible combinations with A like AA,Aa,Ab,AB,Ac,AC and so on(not in the same order)).Similarly if I type Ab it should list all combinations starting with Ab which it does but the problem is you...

Displaying an image from a URL returned by an API

I am making an API call that should return something like the following, <?xml version="1.0" encoding="utf-8" ?> <Chart:chart xmlns:Chart="http://www.zillow.com/vstatic/3/static/xsd/Chart.xsd"&gt; <request> <zpid>48749425</zpid> <unit-type>percent</unit-type> <width>300</width> <height>150</height> </r...

Why do some people turn their asp.net pages into HTML pages when published?

I was just told that I might have to work on a project where i will be working with ASP.NET 3.5 and C#. Someone in our team said that we should change all the pages to HTML when we publish the site. So instead of having www.test.com/Page.aspx we will have www.test.com/Page.html So what i would like to know is: A.) How can this be done ...

Firefox 3.5 color correction hack?

Hello stackoverflow.com. After finally getting down to upgrading to FF 3.5, I noticed that some of my web pages have color problems. Specifically, say I have a PNG image with a color in it which is meant to be the same as the body's background color but when it is rendered it comes out as lighter than it should be on Windows. On Mac I'...

Have a HTML page play Flash movie only once (not when revisited...)

Hi guys, How would it be possible to have a HTML page play a flash animation only once, i.e. when a person goes back to that page, the Flash won't play again from the start but will just show the last frame of the animation (or even a simple .jpg image of that last frame)? Is it even possible? Thanks, L. ...

Howto style unordered list to display list items in rounded corner box

I would like to style an UL to display all items in a box with rounded corners (see below): Is it ppossible to use css and only the UL (with no additional divs and tables) as i'm going to use it in a CMS system to style all ul created by the user. ...

Splitting a floated DIV in 2 if it's going to drop down a row

Say I have a wrapper DIV and, for example, the DIV is 600px wide. Inside this div I left-float a series of content DIVs. These are either 200px or 400px wide, all have the same height. Three 200px-wide DIVs would align perfectly one one line, a single 400px one followed by a 200px one also, etc. Obviously if I had two 200px ones, foll...

Html layout and have the body content extend past the set width and remain on same line

I have a layout with header, footer, body content. It is a pretty standard layout. We have reports that sometimes extend past the hard coded width' But we need the left nav and the body content to the same line. With this HTML code below, if the width extends too far (say there is a content in the body that has more than 900+ width) ...

Sending email client compatible email

We have emails that can be branded in a varierty of different ways but still contain the same content. Therefore, I need to be able to send HTML emails that contain CSS styling but are still compatible with the majority of email clients. I've come across the following websites that detail the compatibility of email clients: Guide to CS...

Quick HTML / JQuery question

How do I check for a click on everything but a certain object? I use (not), but I'm not sure how to call the class / id of the entire page. $(".page").not("#divInfoBox").click(function (event) { } What's the correct way in the HTML code to specify page, as I have something like: <html> <body> <div class="page"> </div> </...

How can I join background images?

I have three images that I would like to join in a widget I'm creating in Html. I just want to give the round effect on the corners. These are the three images: I have the middle one repeating in my css so that it fills up the space between the two edges. .widgetMainLeft { background: url('/Content/Images/Title_Bar_Left.png') n...

How to make a login frame display in the center of the window when the button is clicked?

Just like what happens when you click Sign in with OpenID on http://twitterfeed.com/, I want my login frame displays in the center of the window, and only when some link is clicked. But now I have difficult to center a div, I have written CSS as following but it doesn't work #logindiv { position: relative; overflow: auto; m...

Dealing with checkboxlists and radiobuttonlists when POSTing forms

What is the right way of creating and processing a group of related controls on posted forms? From using ASP.NET MVC I see a standard option is to create a number of inputs and assign the same "name" attribute value to them. Like this: <input name="OrderOptions" type="checkbox" value="1" /> <input name="OrderOptions" type="checkbox" va...

Do you take into consideration DialUp connections still?

I'm working on a web application that has a lot to download (javascript, images, videos, etc), and I was wondering how many people still consider dial up while developing large web applications? Is there a rule of thumb that you use to determine the individual page sizes? (i.e. home page must be less than 200k) ...

Flex: Does anyone know a good HTML editor?

Hi, I am looking for a flex component that could allow me to edit rich text with images. Something like the RichTextEditor from flex except it allows you to add and preview images too, and which can generate the HTML code too. ...

How to get FormCheck jQuery script set up and working.

I am trying to use FormCheck for MooTools to validate a basic contact form I am planning to build. The problem is I can't seem to set up the script to work at all =( If anyone knows about FormCheck or MooTools and can add any pointers they would all be greatly recieved. My page: http://is.gd/1p1Ys Thanks Ryan ...