html

Tiny Fonts on Web Sites

My main browsers (FF and Chrome) are both configured for a 12 point font. In both browsers the font picker shows a font preview, and in both they are the same size and a comfortable size for reading web sites. My IE doesn't allow me to set font size, but seems to default to something a little bit larger than Chrome. On my personal web...

css page problem

Hello, The code I have pasted below is meant to display images on the middle 2 links without text and go back to text on the reset and fourth link. I have set display:none for the span tag only, but it does nothing. Is there anyway to do what I am after simply, without using a framework? edit: example <html> <head> <style...

No image, and no popup window

Hello, I hava an ajax application that will not display an image, or make a popup window from html stored in a file. This is the code I am usiong for the popup: echo '<script> function makewindows(){ child1 = window.open ("about:blank"); child1.document.write(' . json_encode($row2["ARTICLE_DESC"]) . '); child1.document.close(); } </s...

Implementing Forum Live View with Ajax and JSP

I'm starting a personal project, so I have at the moment complete architectural/design control. I'm just planning out the structure at this point. My goal is some sort of web forum, chat thing. The difference is it should update live, new posts growing on client views soon after they've hit the server. I think to use ajax and jquery ...

Can I use eclipse xml validator in a jsp?

I'm writing an application that outputs xml and I'm using a jsp to do it (in eclipse). It works fine, but the jsp editor complains about the xml tags. Is there a way to convince the jsp editor to validate xml instead of html? ...

xslt output html controls - dynamic control name

I'd like to output html controls using xslt, but I need to be able to name the controls so that I can get at them when the form posts back. I'd like to be able to name the radio button "action_" + _case_id. <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="data.xsl"?> <NewDataSet> <Cases> <Case> ...

Which CMS should I use to manage a small internet site without programming experiences?

I'm looking for a CMS system to manage a simple and small website. The website will be made with pure HTML and some JavaScript (perhaps prototype library). The reason while I'm looking for a CMS system is, because the customer will have the ability to change the content later by him self, and of course he didn't have any experiences with...

Javascript Marquee to replace <marquee> tags

I'm hopeless at Javascript. This is what I have: <script type="text/javascript"> function beginrefresh(){ var marquee=document.getElementById("marquee_text");//set the id of the target object if(marquee.scrollLeft>=marquee.scrollWidth-parseInt(marquee.style.width))marquee.scrollLeft=0; marquee.scrollLeft+=1; setTimeout("beginrefresh()",...

How do I override the title of a bookmark for a web page?

When adding a bookmark or favorite the browser uses the TITLE tag of the page to automatically populate the title of the bookmark. However, my web pages use SEO-friendly titles which are not really user-friendly. Is there a method to override the title when the browser makes a bookmark? I am aware that I can create a link on the page th...

javascript select() function with named anchor

I want to use the JavaScript select() function to highlight a text field on a form, but first I want to use a named anchor so the page will scroll to the proper section. The following code works pretty well in Firefox, (Unless you enter the same value twice,) but IE does not allow the highlighted text to be typed over (without a tab or a...

with just a plain html and js file, how can i force a link to an mp3 to download instead of just play?

i have a link to a media file such as an mp3, and i want it to get downloaded when the user clicks on it, instead of just having the file get played. the page i have in mind is just a plain static html page. any ideas? ...

Is there an upside down caret character?

I have to maintain a large number of classic ASP pages, many of which have tabular data with no sort capabilities at all. Whatever order the original developer used in the database query is what you're stuck with. So I want to to tack on some basic sorting to a bunch of these pages, and I'm doing it all client side with javascript. I ...

Wrapping GridView text without a visible space

I have a GridView with several fields, one of which can potentially have a crazy wide value in it like this: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa If that sort of thing is in the field, I want it to wrap. I can easily insert a character in code every 50 characters or so...but what ...

Why are cellspacing and cellpadding not CSS styles

I don't know why this bothers me so much, but when I create websites, I always try to do all my styling with CSS. However one thing I always have to remember to do when I'm working with tables is add cellspacing="0" and cellpadding="0" Why is there not a CSS property to override these antiquated HTML 4 attributes? ...

How to Disable AutoLoad for <embed>?

I embedded a default media player into my webpage with the following html {object height="20" width="200"} {embed src="url to music" autostart="false" loop="false" height="20" width="200"} {/object} (replace the { with <) Everytime I go to the website, this object automatically downloads the music. How can I disable the autodownload...

HTML Background Images

When I include an image as an <img> tag as well as a background image on a DOM element, the browser sometimes makes two requests for the same image. This also sometimes happens when using the hover pseudo-property. For example: <html> <head> <style> div{ background: transparent url(/img/stuff.png) no-repeat; } div:...

HTML over flash without stopping interaction with flash

I have a html div layered on top of an interactive flash movie, but when the mouse moves over the div, it can't interact with the flash (the view changes as the mouse moves or is clicked). Is there a way to have the flash recieve the mouse movements and clicks but leaving the html visible? I can't modify the flash SWF file. Edit: To ma...

List element rendering fault in IE?

Has anyone seen this before - and can anything be done about it? This link is to a PNG screen shot of a list display in IE - if you look closely, the line height of each element is getting a little bigger for each successive item. The web site look is entirely controlled by CSS. Screen Shot It's not a huge deal, but it sure is weird....

Visibility of script includes in an IFRAME

For example: script.js: function functionFromScriptJS() { alert('inside functionFromScriptJS'); } iframe.html: <html> <head> <script language="Javascript" src="script.js"></script> </head> <body> <iframe> <body> <script language="JavaScript"> functionFromScriptJS(); </script> </body> </iframe> </body> <h...

phpcode generating broken javascript and html code

Hello, I have the following PHP code pasted here: http://www.nomorepasting.com/getpaste.php?pasteid=22461 Which produces the following html code: http://www.nomorepasting.com/getpaste.php?pasteid=22462 My problem is that the popup window is not created, or if it is created that it is empty. I have used JSON encode as previously sugg...