html

Are tabbed interfaces confusing?

We are designing a web site and have run into some UI challenges that would be neatly solved with a tabbed interface. Users will interact with different elements of the site (there are some basic view/edit/copy/paste functions available) and having only one object in one tab visible at a time simplifies things quite a bit. We are, of c...

SWFObject Flash Player Script: Wode = Transparent?

I'm using the SWFObject script (http://blog.deconcept.com/swfobject) to embedd a flash object into the following page: http://parramatta.pjgallaghers.com.au/_flashvr/test The flash is from an external supplier and I don't have a whole lot of control over it apart from the embed script. For some reason once the Flash has finished loading...

How to create a modal popup using javascript

hi everyone how to create a modal popup window with background with gray color using javascript and css. can any body show me the example. it's urgent Thanks & Regards Ravi Kumar ...

running showdown.js serverside to conver Markdown to HTML (in PHP)

Hi, I am trying to implement WMD onto my website and was wondering how would I go about running showdown.js server side to convert markdown to HTML? (in order to store both in the DB) I am using PHP...any tips would be helpful (never ran any sort of js from php before) Thanks, Andrew ...

HTML layout problems

I have a problem with dividing a multicolumn layout in HTML. I have divided the page into two columns. inner1 2 rows. another_top1:fixed width,fixed hight response :fixed width,variable hight inner2 2 rows. another_top2:fixed width,variable hight another_below:fixed width,fixed hight The problem: When I try to divide inner1 ...

passing information ( HTML code ) to other ASP.NET (C#) website

My problem is this: I want to send HTML code to another website. Is there a special way for this to be sent? So that the other website knows what to do with it? (This is a friend of mine, who wanted to have my info on his website) The website expects it, so it can be handled from there. I use C# .NET 2.0 ...

Questions regarding CSS design using 960 grid system

I'm using 960 grid system to create a layout prototype. I would like to set the color between Navigation and Content to #000 (solid black), but I can't figure out how. What I currently get is: Using this code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns...

Converting fractions to html entities

We've got some fraction information stored in the database, e.g. ¾ ½ Short of doing a search and replace, are there any inbuilt PHP functions that will automatically convert these to proper html entities? ...

Matching text in HTML without contents of the tag

I am looking for a regex for Javascript to search for text ("span" for example) in HTML. Example: <div>Lorem span Ipsum dor<a href="blabla">lablala</a> dsad <span>2</span> ... </div> BUT only the "span" after "Lorem" should be matched, not the <span> tag. For a second example, if we search for "bla", only the bold text should be ...

Is there a way to make a javascript link open up in IE?

I have a link that uses javascript to submit a form, like so: <a href="javascript:document.some_form.submit()">some link</a> However, this will point to a vendor-supplied application that of course only works in IE. Is there any way to make this link open up in IE if the user is using a different browser? ...

How to colour the list-style-type auto-generated numbers?

I'm using the following list: <ol id="footnotes"> <a name="footnote1"><li></a>This is the first footnote...</li> <a name="footnote2"><li></a>This is the second footnote...</li> </ol> With the following .css: #footnotes {list-style-type: decimal; list-style-color: #f90; } #footnotes li {colo...

What is the importance of DTD and how it affects the display of the web page page

What is the importance of DTD and how it affects the display of the web page page at runtime ...

Finding all *rendered* images in a HTML file

Hi all, I need a way to find only rendered IMG tags in a HTML snippet. So, I can't just regex the HTML snippet to find all IMG tags because I'd also get IMG tags that are shown as text in the HTML (not rendered). I'm using Python on AppEngine. Any ideas? Thanks, Ivan ...

CSS Won't even apply

I'm having a really really weird problem with a web app I'm programming. Basically, nothing has worked, and I've had to continually reduce the level of complexity of it trying to get something to work. The problem I'm having now is that for some reason my CSS won't apply. I have it linked, and I made sure the ID I used is correct and ev...

How do I stop search engines indexing a maintenance page

I need to setup a maintenance page for a website I'm running, e.g. for display when I'm performing site maintenance (scheduled downtime) or if something really breaks and I need to put up a holding page. Is there anything special I need to do to ensure that search engine crawlers don't index it and think that it's my site. Or should I d...

CSS: UL's/OL's vs. Div floating left in IE

The scenario is that the client wants a floating div (the gray box) with text that wraps around it. However some of that text includes ul's and ol's, which hide behind the floating div in IE6. I tried wrapping the ul's/ol's in a div to see if that would help, but have been unsuccessful. Has anyone experienced this problem before and f...

Are there command line or library tools for rendering webpages that use JavaScript?

Page-scraping on the Internet has seem to have hit somewhat of a wall for me, as there are more and more sites that are dependent on JavaScript for rendering portions of the screen. It seems to me that with so many open source layout and JavaScript renderers released (like WebKit, Gecko and Chromium + V8) that someone must have made a t...

Why am I seeing different font sizes when printing a page from an IFrame?

I have a simple, table based HTML page with a very simple style sheet. I can open the page in IE7 and FireFox 3 and it looks exactly the same. I can print the page from both browsers and it looks exactly the same. We'll call the page "ProblemPage.htm" Now, inside an ASP.Net page, I create an IFrame and load that HTML into the IFrame lik...

Tools for coding conventions and analyzing HTML, CSS, Javascript client side code

I use various code checkers for Java development but I haven't used one for HTML,. CSS, Javascript. Do any exist. That flag bad practices or similar tool. ...

Can't float image to the right of text in IE 6

I am trying to create a little growl like div for a site. It works great in Firefox, but not IE6 (haven't tried IE7, but I still need to support IE6). In Firefox: Centered text with image floated to right side of div In IE6: Centered text with image to the left of text. I've tried switching the img and span tag order, but that causes ...