html

JavaScript to get alpha value from HEX

I am developing a tool which will convert html colors between maximum any format like RGB, RGBA, HEX, HSLA, NAMED etc. And also HEX(#FFFFFF) to Alpha HEX (#00FFFFFF) for use in filters in IE6. But, my problem is that I am unable to convert the alpha value i.e. 00 from Alpha hex color to rgba alpha value i.e. 0.5. please help me... ...

Is there a way to use CSS3 gradients and fallback to a PNG?

Hi, How would one use CSS3 gradients for a background image, and fallback to a PNG image if the gradients were not supported? ...

jquery - scrolling the background

What I wanted to achieve is a logo with png transparency and the background which automatically scrolls down so it gives an effect like it's made in flash. I used jquery.backgroundPosition.js plugin, which enables background scrolling. The code: HTML <div id="logo"> <h1><img src="img/logo.png" alt="The logo" width="420px" height="...

unable to read a converted HTML file from Word in C#

Problem that I am trying to resolve: I want to convert a word document into HTML and along with that I want to convert specific text into Hyperlinks. I can't find a way in C# to add hyperlinks before saving the word document as HTML. So, I do the trick I save document as HTML and then read the HTML document and replace the specific text...

Fixed-width HTML table with scrolling column group – is it possible?

A friend of mine asked me a question that I couldn't answer or figure out yet. The problem is: he wants to make an HTML table having width of 100% and many columns, of which the first one (or two) should be always visible, while others should scroll if their total width is higher than [width of the table (100%) minus width of the first ...

some simple style changes needed

I need my menu items to be aligned to the center without the use of padding ... It currently lies like this .. I need the text to be center aligned like this . The code that I have used is : <div style="float:left; width:931px; background:url(images/cbw_consulting_07_1.jpg) repeat-x; height:39px;"> <ul style="float:left; width:931p...

Getting a document.body error. help!!!

I have the following JavaScript code: function createNotification(title, body, canDismiss, callback) { //create the container var nContainer = document.createElement("div"); nContainer.setAttribute("id", "note"+title); nContainer.setAttribute("class","nContainer"); nContainer.className = "nContainer"; //create t...

How does one send a message to an OpenID URL..?

Is there a standard method for sending a message (or a private link to where the message can be retrieved) to an OpenID URL or URL in general..? I would prefer a way to send a private link, but failing that, any kind of mechanism to send text to a (openID) URL will do.. The purpose is that the owner of the URL will then somehow be noti...

HTML and PHP, editing birthday

If I store birthday as 1990-01-01 When a user edits his profile, how do i show his current birthday? <select name="ctl00$ctl00$cphContent$cphContent$cphContentLeft$DatePicker1$days" id="ctl00_ctl00_cphContent_cphContent_cphContentLeft_DatePicker1_days"> <option selected="selected" value="1">1</option> <option value="2">2</optio...

Replacing Flash movie with QuickTime movie in a website

Here is what I have: <script type="text/javascript" src="http://www.polycysticliverdisease.com/html/swfobject.js"&gt;&lt;/script&gt; <div id="flashcontentab3445" align="center"> You probably do not have the Flash Player (<a href="http://get.adobe.com/flashplayer/"&gt;Get Adobe Flash Player Here</a>) installed for your browser or the vi...

Issue with video z-index on Windows browsers

Having an issue with overlaying a png on a vimeo video, seem to have it working on all mac browsers but Firefox, Internet Explorer etc. on Windows seem to ignore it and place it behind. This is the site example, it's the black 'Download Reel' button: http://www.warface.co.uk/clients/detail-shoppe Many thanks HTML <div class="video-bl...

HTML Table Cells - Hiding One Cell

Hi, I have a html table that I have setup in a 3 rows by 2 column formation. So basically have 6 cells that are currently being displayed to the suer. My question is an unsure how to do, is that I only want to use 5 cells only visible to the user so would like to somehow remove cell position (3,2), so that it doesn't show any borders a...

how to make the tabs just like the one in stackoverflow

Hi! How do i make that effect with the tabs (i.e. the tabbed 'active', 'featured', 'hot', 'week', 'month') using just html and css? i tried copying the css but it didn't work. can anyone help or lead me to a tutorial just like this? thanks! ...

link for <table> <tr>

Is that possible to give a link to the whole so that i can create dynamic links to the row shown in front-end from database ...

Problem with html 'post' button in a table, using PHP.

Hi there - I am relatively new to html and PHP, and have a problem which I can't seem to get around. Basically, I have a table and want to have within one of the cells a submit button that will take the user to another page where they can edit that row. I have all of the machinery for this in place, apart from the fact that I can't ge...

Avoiding a space leak reading an HTML document with HXT

Link to truncated version of example document I'm trying to extract the large chunk of text in the last "pre", process it, and output it. For the purposes of argument, let's say I want to apply concatMap (unwords . take 62 . drop 11) . lines to the text and output it. This takes over 400M of space on a 4M html document when I do it....

Trouble getting a background image to appear in HTML

I have the following HTML code: <div style="background-image:url(~/Images/MyImage.jpg); width:100%; height:100%"> I'm not too familiar with HTML, but form all the articles I've seen, this should work fine. If I show the image in an asp.net image control then it shows fine. However, I want to put text on top of it. Can anyone tell m...

html/css issue.. full width background without scroll

I have been struggling with this for the past hour and I was wondering if any of you had any thoughts on this.. A client needs a nice big background image on the site. I cannot used this image as a background for the body or any div because I don't want it to be cropped horizontally. If the browser's width is smaller, the background sho...

Uploading and Styling File With PHP and Jquery

Hi, I have a form where the admins will be uploading more then 2 pictures at a time, i had been using the basic HTML file input style, however i want to do more with it as i am using a beautiful admin theme from themeforest, (the author haven't included the styled file input element in skin), i want to do it manually. which should meet ...

Is it possible to have auto margins when you have position:absolute?

I'm having an issue where a div is not butting up to the very top of the page. I tried to solve this by adding position:absolute; top:0px; which put it at the top like I wanted but it also went to the left of the page. I want it to be centered in the page which works if I use auto left and right margins without position:absolute. I...