html

Introduction to SharePoint Designer 2007 object model using VBA

I'm finding it really difficult to find an introduction to the object model used within Microsoft SharePoint Designer 2007. For some reason, the online help if full of "Page not found". I suspect it's similar to the object model used in Internet Explorer DOM. The reference manual is in MSDN online (but not in my local copy) but as with m...

html / css: best way of writing a preview pane (master/detail)

It's been a while since I wrote html full-time ;-p In the modern era of css etc, what is the preferred way of creating a pair of panels (for example, a preview window like in Outlook, or for master/detail views)? Ideally where the top (master) pane would get scrollbars etc? The intended use-case is so that a user can scroll in the top ...

Why use tables to structure your layout?

looking at the soure code for stackoverflow, i noticed they have used tables and inline CSS quite a bit. also something i found odd was use of inline table attribute formatting. <table width="100%"> I'm just curious if there was any specific reason(s) to why they used tables to structure their template instead of the popular (or used ...

How do you post data with a link.

I have a database which holds the residents of each house in a certain street. I have a 'house view' php web page which can display an individual house and residents when given the house number using 'post'. I also have a 'street view' web page which gives a list of houses. What I want to know is if you can have links on the street view ...

How do I launch a specific telnet-based app from a web browser?

What I'd like to do is provide a link on an intranet web page that will launch a telnet session and pass context information to a shell script that will take the user to a specific "green screen." This "pseudolink" might help show what I'm looking for: <a href="telnet://<user>:<password>@<host>?showdetail%20123">detail for 123</a> ...

CSS/Javascript to force html table row on a single line

I have an HTML table that looks like this: ------------------------------------------------- |Column 1 |Column 2 | ------------------------------------------------- |this is the text in column |this is the column | |one which wraps |two test | ---------------------------------------------...

How do you handle cross-browser compatibility testing?

Working for a small web design/development firm, we're sometimes tasked, by clients, who are unwilling to budge on their browser compatability list. Any given project could need to be tested against some combination of IE 6, 7 & 8, Firefox 2 & 3, Opera, Safari & Chrome running on OS X, Windows XP, Vista or Linux. Since the bulk of deve...

Looking for a 3 column css template which has these features..

1- Header div on top of the 3 columns 2- Height of all columns must fill at least the height of viewport. so if a column has a different bgcolor, the color is all the way to bottom of viewport even if column has no content. 3- second and 3rd columns have variable width. if 3rd column width is 0, 3rd column collapses and template turns ...

How To Align Body Content so it Aligns w/Header & Footer

Hello, I am building a website but I started with a template and gutted it, changed a lot and got rid of the entire center section and now I have to start over with the body but whenever I try to insert the navigation menu, which is a javascript code that is inserted from another program I used to build it. Well, every time I try to inse...

Justify Text in a HTML/XHTML TextArea

I am currently trying to justify text in a textarea, unfortunately the CSS: text-align: justify; Doesn't work on the text like center, left and right do. I've tried this in both Firefox 3 and IE 7 with no luck. Is there any way around this? ...

How do I make a "limited-fixed" div using HTML and JavaScript?

Given the existence of other divs on a page, how would one create a div that acts as if it's fixed-width within a certain domain of a web page? Example: the commenting system on Slashdot, which acts like a fixed-width div for purposes of scrolling along a screen but will remain within a certain length? I want a block of text to appear al...

Can I just make up attributes on my HTML tags?

Am I allowed to add whatever attributes I want to HTML tags such that I can retrieve their value later on using javascript? For example: <a href="something.html" hastooltip="yes" tipcolour="yellow">...</a> If that's not going to work, how would you store arbitrary pieces of information like this? Edit: Since it appears that making up...

Regarding Home page

I hava a web application. In that i have a link called "Home". When the user clicks the starting page of the web application that is index.jsp should be displayed in the same page. How can i do that. It should work in internet explorer. I have the following html page. <html> <body bgcolor="#FFF8DC"> <a href="index.jsp" target="paren...

scrolling and css align with "right: 0px"

Hello, In an HTML page, if I align some <div>s with "right: 0px", they all look very nice, as I expect. However, if I make the browser window smaller and the horizontal scroll bar appears, when I scroll the page to the right, I see an unexpected white space (instead of the background colors of my <div>s). It seems that my <div>s are ali...

JavaScript (via Greasemonkey) failing to set "title" attributes on <a> tags

I have the following (fairly) simple JavaScript snippet that I have wired into Greasemonkey. It goes through a page, looks for <a> tags whose href points to tinyurl.com, and adds a "title" attribute that identifies the true destination of the link. Much of the important code comes from an older (unsupported) Greasemonkey script that quit...

C++ Library to Convert HTML to PDF?

Hello I am looking for a C/C++ library to convert HTML (Actually XHTML + CSS) documents to PDF. It is for commercial use and source would be nice but not essential. Anybody have any recommendations or experience doing this? UPDATE: To clarify, I am targeting the Windows platform only. I am developing with Borland C++ Builder 2006, bu...

Are there any HTML coding conventions/style/standard

I mean to name ids, names, values, etc? ...

Double click event for List box

Can a list box have double click event on its items? ...

Measure load time for python cgi script?

I use python cgi for our intranet application. When I measure time, the script takes 4s to finish. But after that, it still takes another 11s to show the screen in the browser. The screen is build with tables (size: 10 KB, 91 KB uncompressed) and has a large css file (5 KB, 58 KB uncompressed). I used YSlow and did as much optimizatio...

How do I make an iPhone web app mimic a non-web app?

I've been considering making a quick little iPhone web app. I started reading about and experimenting with the special meta tags and attributes documented at Apple's Web Apps Dev Center: viewport apple-mobile-web-app-capable apple-mobile-web-app-status-bar-style -webkit-border-radius -webkit-border-image autocorrect autocapitalize app...