html

Drag and Drop from Flash/Flex to HTML and Vice-Versa...

Is there a library simplifying the process of dragging and dropping between the Flash/Flex environment and the surrounding browser? I've done some research on the process, and so far the closest thing that I have found is from HTML to Flash in a Floorplanning application. I have yet to find a demo going in the other direction however. ...

What would the conditional statement be to filter these inputs?

I have a page with a form, and on the form are a bunch of input check boxes. In the following page, there's the following code to process the inputs from the page before (which are set as an ID). <? $field = $this->input->post('measure',true); $totals = array(); foreach($field as $value): $query = $this->db->get_where('item...

Any problem will occur for SEO if i use tables for html forms?

I am finding tough to align the label and textboxes using Div's. If i use tables for forms, it will be easy. Does this affect my seo, or not? Thank You all who answered this question!, Im decided to go with tables for forms. ...

Getting just the filename from a path with Javascript

I have a full path to an image, which I am using jquery to read, in the form $('img.my_image').attr('src') however I just want the filename portion (discarding the path). Are there any built-in functions to do this, or would a regex be the only option? ...

Strange jQuery $(window).load() behavior in Safari

I have a page being loaded in an <iframe>. Inside the <iframe>, I have a function that patiently waits for the page to load using jQuery's $(window).load() event which is supposed to wait until ALL page content (images, javascript, css, etc.) is loaded before firing. The function then calls back to the page loading the <iframe> using p...

I have a standard table with text inside. How do I vertical align this?

Right now, the text seems not to be exactly vertical centered. It seems that there is more top-padding than bottom-padding. Although of course, there is no padding in the CSS. How do I make this completely vertical aligned? ...

Programming image maps

Hello, I am looking for a javascript/jquery solution to build a map with selectable tracks. It will consist of area's map (image) with some river routes for boats that have to be selectable - route have to be made clearer on mouse hover and after user clicks on a route a popup window should emerge. Basically I am just looking for a solut...

How do I do this <a href>?

http://www.twitter.com/home?status=Check out my page! However, when it goes to the twitter page, it has %20 symbols replacing the spaces. Why? ...

How can I create a <a href=> to facebook and share a message?

I don't want to share my PAGE, but I want to share a message with a short URL link to something. ...

CSS for top right corner of the page

How would I have a top right corner div as shown in the image. I want to do something similar though not exactly the same. I think the text is not an image. Also, I have seen some websites that has a page hover effect when a mouse is over the top right section. Any idea how to do that? ...

How do I create breadcrumbs like in this Apple site ?

I've seen this page here and I really like the breadcrumbs at the bottom. How do I achieve this behavior ? The breadcrumbs at the bottom stays at the bottom and nomatter if you're scrolling down, it is still there. http://developer.apple.com/iphone/library/navigation/index.html?section=Resource+Types&amp;topic=Getting+Started Please so...

CSS refuse to obey

Hi, I'll make this short, I got this webpage : <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <link rel="Stylesheet" type="text/css" href="css/style.css" /> <link rel="Stylesheet" type="text/css" href="css/nav.css" /> </head> <body> <div id="header"> <ul id="navList"> <li><a href="#" id="navActive"...

How to output formatted HTML from PHP?

I like to format all my HTML with tabs for neatness and readability. Recently I started using PHP and now I have a lot of HTML output that comes from in between PHP tags. Those output lines all line up one the left side of the screen. I have to use /n to make a line go to the next. Is there anything like that for forcing tabs, or any way...

Suggestions for displaying code on webpages, MUST use <br> for newline

Hi, I want to post code snippets online (wordpress.com blog) - and have its whitespace formatted nicely. See the answers suggested by this other SO question: Those would be OK, except that I like to copy code to clip board or clip entire pages using Evernote - and they use either the <pre> tag or <table> (or both) to format the code. ...

How can I force email programs to show images send in html email using php?

I am sending an html email with php and it includes an image. Some email programs, such as gMail have a 'display images' button. The user has to click on that in order for the images in the email to show up. Is there any way I can force email programs to show images that are sent within html emails generated by php? ...

How to make a page with a https iframe appear secure

Hi, I have a page on a website that contains a secure form inside an iframe. Although the form data submitted is secure the page doesn't appear secure as the URL in the browser is just http. Is there anything I can do to show the users that the form is secure? ...

ASP.NET MVC 2 RTM - favicon not displayed in Internet Explorer

I have the following two lines in the head section in my masterpage: <link rel="shortcut icon" href="/Content/Images/favicon.ico" type="image/x-icon" /> <link rel="icon" href="/Content/Images/favicon.ico" type="image/ico" /> However, the favicon is not displayed in Internet Explorer (version 6, 7, 8). In Firefox and Safari the favicon...

Div on top of Div using z-index.

I have the following divs in my HTML: <div class="main"> <div class="bgimage"></div> <div class="content">Text</div> which is directly inside my body. With the following CSS: body{margin:0;padding:20px 0;} .content{filter:alpha(opacity=50);-moz-opacity: 0.5;opacity: 0.5;} .content{position:relative;z-index:1;border:#000 thin soli...

HTML/CSS issue with a:hover and spans

Any way I can get this working? I have a block of code: <p><a href="http://foo.com"&gt;&lt;span class="title">Title</span><br /><br /> Some text no greater than a couple of lines...</a></p> My styles are: p {color:#FFF;} a {color:#999;} .title {color:#FFF; font-weight:bold;} a:hover {color:#FF0;} My problem is as follows: I want ...

Website looks weird in internet explorer 7, but fine in IE 6 and 8

I used many different browsers while I was coding for a new site (Firefox, Chrome, IE8, Opera, Safari, Mobile devices, etc...). It looked the same across all browsers. I recently uploaded the site onto the server and got to look at it from work, using Internet Explorer 7 and It looks horrible. Elements are floating wild all over the p...