hello
I am doing a library website. Where user will click on the link of books and a pop up opens with the book.
I want the pop up page will be a single page in which the various books will uploaded but not using iframe.
How I will display the book content in this way? provided I have all the books in a html format.
...
I'm working on a site and the client has hired a copy writer to supply the text... which has been an absolute nightmare. I'm wondering, what is an acceptable level of service one could expect from a copy writer who has been asked to write copy specifically for the web.
Is it unreasonable to expect them to have some basic markup skills,...
Hi friends,
How to expand drop down list (listed items). I cant able to view the listed items in IE while i restricted the size of the drop down list.
Please run this code in IE and other browsers - u can see the difference
<html><body><select style='width:20px;'><option>sdfffffffffffffffffffffffffffffffffffffff</option><option>sdffff...
Hi Guys,
I have a large table with a large number of entries corresponding to an equally large number of images. The requirement is to display an alt text for every image which could not be found on the server. The alt attribute of is working fine.
However, I am not able to position the alt text - cell padding, spacing, margins etc. w...
My main problem is that some output is coming on the page with a space character written as " ". I want to replace it back with a space. I tried str_replace(" "," ",$mystr) and even preg_replace("/( )/", " ", $mystr) but to no avail. How do I do this? And more generally, if there are other html codes coming as output, like ...
Hi all,
i've got an issue with text in IE, when the page loads the text looks neat and crisp, but when i double-click on some white space of the page the text looks like this:
Is there a known solution for this problem?
Thanks
...
Hello,
The sad truth about this post is that I have poor regex skills. I recently came across some code in an old project that I seriously want to do something about. Here it is:
strDocument = strDocument.Replace("font size=""1""", "font size=0.2")
strDocument = strDocument.Replace("font size='1'", "font size=0.2")
strDocument = strD...
I have 2 HTML tables that are directly on top of each other. Each table has the same number of columns, but the text they contain can differ. And each table can contain many rows. I would like for these 2 tables to have the exact same column width so that the columns always line up. I don't mind if the text within the columns wraps a...
Our designers create graphical mockups for new designs, create the initial html, css, and image sprites & maintain those files. After the initial hand-off, our developers work everything into .Net code, templates, etc.
The problem: When our designers get tasked with designing or tweaking a feature, they can't work from their initial moc...
I have a textbox whose value contains a string with a single quote e.g. Andy's String
<input type='text' value='Andy's String' />
This obviously does not render correctly in a browser. Whats the best way round this?
...
Is there any sort of workaround for the bug that makes firefox flicker when decreasing the size of the document?
Click here for a demo
Click here for the demo in quirks mode (no DOCTYPE)
I bet it could be fixed using javascript -- whenever the scrollbar shrinks, make sure to scroll the window up to prevent the flicker or something.. t...
So I'm scripting up a search field for my website. As the user types, a box appears below the field with search suggestions. The suggestions are keyboard navigable and clickable.
However, I'm having trouble getting the suggestions to disappear when the user click's elsewhere on the page. I've added an onBlur() handler to the search fiel...
How do I make it so that HTMLTidy in Notepad++ only indents when I select "TextFX-->TextFX HTML Tidy-->TiDy Clean Document-nowrap"? All I want it to do is indent tags. But it also changes the Doctype, adds an xmlns attribute to the html tag, changes tags, and probably does some other stuff to the html document. All I need it to do is in...
In an enviroment where I can't use scripting language, and must use straight html, and I need to render the contents of a file in a webpage. Is there a way to do this? Or is a scripiting language required.
...
Hi,
is there any set of HTML & CSS definitions, like list of (X)HTML tags & their available properties (both with descriptions) and so on, and CSS properties (descriptions, browsers supporting and so on) in computer readable (ie XML, CSV, INI or so) format?
Thanks in advance!
...
I have a page with 2 forms and a hidden field that is outside of both of the forms.
How can the hidden field be submitted with either of the forms?
I thought about doing something like this with jQuery:
<script type="text/javascript">
$(function() {
$('form').submit(function() {
// do something to move or copy ...
I'm trying to do everything I can to increase the load speed of my pages, and in particular the ajax loaded components.
In firebug, my out put looks like this
I'm not entirely sure if I'm reading this correctly, but it is either +2.19s for DOMContentLoaded (or it mayonly be .8 if we are supposed to subtrack that from the waiting respo...
The page here (http://skergeth.net/slidingfooter/) contains a footer that slides up when you click on contact us. It then shows a contact form.
However in IE8 it slides up and the div containing the form stays white until it is hovered by the mouse.
I also tried the approach that the footer-div has overflow:hidden but since there are ot...
In JavaScript, how can you select text on a website, copy it (by Control+C, Command+C, or Edit Copy) and have JavaScript append a line or two to the clipboard so when the user pastes, the content they copied is shown as well as the extra line?
Also, would this be possible to do only within certain <div>s of the site? If so, how?
...
I am using following code to create and send email through CGI perl. The images get attached properly, but the css files do not.
my $msg = new MIME::Lite(
From => $from,
To => $to_list,
Subject => "My subject",
Type => 'text/html', # 'multipart/mixed'
Data => $body
);
$msg->attach(Typ...