This question about web page 'inclusion' triggered my curiosity. The XML allows you to specify a reference to an 'external' portion. Can you do the same in XHTML, then?
XML example:
<!ENTITY foo SYSTEM "http://www.mydomain.com/logo.gif" NDATA GIF87A>
...
<SOMETHING>&foo;</SOMETHING>
...
We just want to build a very quick webpage that has two pages. One page where there is a form where a user can fill out a form and email us. Another page for users to put in their email address to subscribe to our newsletter.
What is the quickest way to build this? We are familiar with most web app technologies (asp, php, jsp, perl etc...
I just tried viewing my website http://www.logmytime.de/ in Opera (version 10.50) it gives me an "xml parsing failed error" and refuses to display the web page.
I can choose to "Reparse the document as HTML" and then the page works fine, but that's hardly a solution to my problem.
The weird thing is that the error still occurs after s...
I have to make menu like this.
Items of drop-down can be increased
and decreased If client will add or remove pages.
width of drop-down's will depend on how many character in page title
name.
angle only needed at last item's right bottom corner.
I Know how to make drop-down menu and how to give cross browser transparency , but I wan...
How to make this type of image popping out of box using XHTML css. without using whole box along with image as a background
Only globe image will be image.
...
default condition
After clicking on Sitemap link
How to write HTML to get footer links after the sitemap tree upon clicking on Sitemap link?
...
Hello, i am trying to parse received search queries from bing search engines which are received in xhtml in java. I am using sax XmlReader to read the results but i keep on getting errors.
here is my code-this one is for the hadler of the reader:
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers....
I am parsing huge xhtml files and am trying to play around with the content in it. Basically the words in it, their positions etc. I tried using the HashMap, ArayList etc. All of them give OutOfMemory issue after loading 130347 data. What is the kind of data structure that can be used to hold huge data in JAVA.
...
Hi Everyone, I'll try to explain this as best as I can.
I have a form that accepts multiple fields, and in the end, e-mails all the fields to a specific e-mail address.
So for example, I have three text boxes, one list box and two submit buttons.
Two of the text boxes are first name, and e-mail address
The third text box is used to p...
I 'm using this code to make a toogle effect at bottom of the page. it's working but toogle div going under the fold but browser do not to scroll at bottom following the toogle area
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
// toggles the slickbox on clicking the noted l...
Hi all!
have problems with mouseover in Mozilla and Chrome after making it work in IE, for sure I can tell you that my code woked perfectly in Chrome at least, cause thats my default browser and I used it for debuging when creating the javascipt and it worked nicely... until I tried to make it work in IE too.
Here I post the full code o...
I've got a problem with CKEditor. Especially the br- and img-Tags are transformed to not be valid.
In the source-view I see and but when I inspect the rte-source the slashes are gone as well as when submitting the form.
Can someone tell me where I can disable this or enable XHTML-conformity? The embedding page is XHTML.
Thank to any h...
I have a form which I need to submit to one of three different URLs depending on a selection made in the form.
I suspect the easiest solution is to use jQuery to insert the appropriate path before the rest of the form parameters as the selection is made, but not sure on what the code would be. Any pointers greratly appreciated!
<form i...
I have a web page that is displays differently in Firefox and Safari (IE testing yet to come).
The page displays as expected in Safari, but there is a 50px margin between the body and the HTML that I can't determine what is causing it.
Here is the CSS for the body:
body {
font-size: 13px;
line-height: 1.333em;
background: #f6ea...
I am using an XSL transformation on an xml file to create an xml document. The problem i am running into is that when i go to view the generated source (the transformed source) i can't see the DOCTYPE attribute of the html so i don't know if its being emitted properly.
Is there any way to view the doctype in this way?
...
http://jquery.malsup.com/corner/
I tried but it fills color at corners
in place of white i need transparent corner with 0 opacity.
...
For some time now I've been using the following code to dynamically write in html page titles and add an active class to menu items. Is this still a good why to achieve this or are there better/smarter/optimal ways of achieving the same thing?
<?php echo (basename($_SERVER['SCRIPT_FILENAME'])=='contact.php'? 'class="active"' : '');?>
...
The following always preselects the last option, even when I set the selected attribute, but I like the first option to be preselected.
<select name="filter">
<option value="" selected>Make a choice</option>
<option value="1">1</option>
<option value="3">3</option>
<option value="7">7</option>
<option value="">all</o...
Hi everyone, I'm trying to e-mail a html table, that has links within it. But when I receive the e-mail, it just shows me the html code itself.
I'm using PHP pear to send the email.
I try constructing a string like so
$body = "<table>";
$body = $body . "<tr><td><a href='http://google.ca'>Google</a></td></tr>";
...
What are pros and cons to define font-size for body?
what if somewhere i will need font smaller and bigger than body?
will i get body font size (12px) + needed font size for <p> (10px) = 22
Should we always keep same value for body font size which we want to use content paragraph?
...