html

Set visited link color to whatever the color of un-visited link is (P.S. not the usual question)

I need to set the a:visited CSS to whatever color the normal a is set to. What I want to be able to tell the browser is, for the visited links, use the same color as the unvisited links, whatever color it is. I need to do this without specifying a particular color. Like, if some weird browser comes along that uses "green" as the color...

How to remove an html element according to its contents with jquery?

If I have some html like this. <ul class="menu"> <li> <a href="pageGreen"> pageGreen </a> </li> <li> <a href="pageBlue"> pageBlue </a> </li> <li> <a href="pageRed"> pageRed </a> </li> <li> <a href="page1"> page1 </a> </li> <li> <a href="page2"> page2 </a> </li> <li> <a href="page3"> pag...

Images don't load in IE

Demo: http://www.simpsoncrazy.com/characters/poster2 (Using Map Hilight plugin: http://plugins.jquery.com/project/maphilight) When you click a quadrant of the image, it should zoom in on that image, however in IE8 (regular and compat mode) the "zoomed" images never load. Also on the top-left segment the right arrow appears on the left. ...

HTML to plain text (for email)

Do you know any good HTML to plain text conversion class written in PHP? I need it for converting HTML mail body to plain text mail body. I wrote simple function, but I need more features like converting tables, adding links at the end, converting nested lists… -- regards takeshin ...

Div Content Overflowing

Hello, I'm having quite an issue here with a website. http://www.radonsystems.net/newsite As you can see, that blue div container is having issues. Content from the next li is spilling into the current li. How do I stop this? CSS for area: #strip { background:#039; border-bottom: 1px solid #ccc; } #strip ul { margin-left: au...

Auto-Inserting <br /> tags using CSS

I'm new to CSS and I want to minimize the amount of tagging I am doing in an HTML document. Is there a way to define newlines as having <br /> so that for a given <div> that I've defined I can do the following: .description { br: on; color: #D3E22A; width: wrap; } ...

How to make users able to upload images in a form ?

I have a classifieds website where users must fill in a form in order to put a ad. The form consists of name, password, category, specifications etc etc. Now, I need to add a image upload function into this form, which must have the following: 1- Upload up to 5 images. 2- A 'remove image link' beneath each image if the user wants anoth...

Deleting the bullet from the list deletes character before.

Editor application reads MSword doc into HTML format. All lists ( new paragrafs with bullets in a begginging in Word file) are read as “<li>+ contentString+”</li>” On the interface the text is displayed in text area and when user is deleting the bullet from list, caret skips the bullets and delete the character preceding it. Please...

Google App Engine - Caching generated HTML

I have written a Google App Engine application that programatically generates a bunch of HTML code that is really the same output for each user who logs into my system, and I know that this is going to be in-efficient when the code goes into production. So, I am trying to figure out the best way to cache the generated pages. The most p...

Is it necessary to use character entities for quotes in HTML?

I understand the need for &amp;, &lt;, etc. But is &quot; necessary? I suppose it could be useful inside tag attributes, but inside the text, outside any tag, is it necessary? ...

MultiLine Form in HTML ?

Hello, I'm trying to get some input from a user and use that input in a php script. Right now I have a form tag, from the little I understand, this cannot have multiline input. The solution seems to be a TextArea, however I'm not sure how to get the input from a TextArea. Here's my code with the form : <form action="traitement_cmd....

Have first column in HTML table flexible when table width=100%

Hi, I have an HTML table with 8 columns and multple rows. The contents of each cell is generated dynamically and it is hard to predict the width of any column. I set table width=100% as I would like the table to take up the entire width of the div. I would like columns 2 through 8 to stay the same as width as if I did not set a table ...

HTML customizing Select tag

I have this Code For example: <select > <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> <option value="audi">Audi</option> <option value="audi">Audi</option><option value="audi">Audi</option><option value="audi">Audi</option><...

Django 1.1 date-based generic view problem - archive_year, archive_month, archive_day

I'm on my first Django blog and when trying to get the posts by year, month and day, using the built-in generic view from Django, but I don't get proper results. (Sorry for my non-professional first question.. if someone knows what is the appropriate question, please let me know) Well, I think it's better to show you my configuration to...

comma delimit javascript/asp line

Hi, What is the correct way to comma delimit this line, I keep getting javascript errors: <a href="javascript:doSubmit(<%= pound & rs("AdvertiserID")%>, <%=rs("AdvertiserName")%>)"> Its Friday, what can I say... The <%=rs("AdvertiserName")%>) can have single quotes in it, such as Dillard's and needs to be delimited, how would I add ...

How can I override an external css?

I'm using the YUI Javascript framework, which gives me a calendar widget that comes with a css file. These are included at the top of my Site.Master file. I'd like to override the style associated with the widget, but I can't seem to figure out how. I've tried adding an entry for the widget's class: .yui-calendar { height:10; width:1...

How can I stop the new line from adding a space between my list items in HTML

I have the following HTML; li { list-style: none; border: solid 1px blue; display: inline; margin: 0px 0px 0px 0px; } ... <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 2</li> </ul> When I add the list items on their own line they appear with a horizontal space between them, but when I do it as; <li>Item ...

How does yui improve performance?

Hi Guys, Just curious to know if yui improves performance? As all the css and javascript files are on the YAHOO servers and only a part of it is loaded when needed. so does it help in improving performance? Thanks ...

Javascript html injection

I have to inject the following line of html to a document through javascript: <button type='button'>btnName </button> In addition to this, I have to register an onclick to the button where the function to be invoked expects an arg say 'arg' so the javascript looks something like this: var html = "<button type='button' onclick='+ fnNa...

background image dissapears when using -margin

Been up all night gettin this silly background to show: Here is the test page: http://sensenich.bythepixel.com/products/view%5Fpropellers You will see 3 columns in the middle. When you hover over them, a drop shadow gets added underneath. I had to set the margin to -10px since the shadow drops outside of the main div. Just take a l...