OK, there are many HTML/XML parsers for Java. What I want to do is a bit more than just knowing how to parse it. I want to filter the content and have it in suitable form.
More precisely, I want to keep only the text and images. However, I want to preserve some of the text formatting, too, like: italic, bold, alignment, etc.
All this i...
How can I change the dimensions (width, height) of the body element after the content has been loaded?
Restrictions:
Only targeting WebKit browsers
Can't use frameworks like JQuery
Can't make changes to the original HTML file; only execute JavaScript after the content has been loaded.
...
I want to create an effect like that of fieldset and label.
When the headings change along the side, the width that the white background of the heading remains the same.
If I can make the heading or div element to take the width enough to fit its content, it will give the proper effect.
If there is any other solution please let me...
hello i am trying to make it so that when you visit my site you don't have to put .php at the end this is what i am using but it isn't working (godaddy hosting)
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
i just added the "Options +Follo...
i am trying to code the folowing layout. i am messed up the code and not sure whats the best way to do it.
<div class="search-wrapper">
<form action="search.php" method="get" name="search">
<div class="search-box"><img class="search-icon" src="images/search-icon.png" width="21" height="18" alt="search icon" />
...
I am trying to load HTML via JQuery, using the .load function. This is working as expected, but I want to process the loaded HTML afterwards. This only works when I either
a) set a breakpoint BEFORE said manipulation is done.
b) set an alert BEFORE said manipulation is done.
Of course I'd like this to work without having to set breakp...
For example I have this css class:
.class{
background:#FFF;
border:1px solid #ccc
}
And I have this HTML structure:
<ul class="list">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
And I would like to use the .class on the list. li elements without adding the class="class" to the <li>'s or rewriting the whole...
Hey Guys,
Due to your extraordinary support, i was able to build a login system with sessions.
Now i want to create a a user dashboard after the user has verified himself. I am good at HTMl, CSS and Javascript and wanted to know if I should go ahead and create the dashboard using them. Or should I use PHP (i am not too good at it).
A...
I've been doing lot of trial and error but now need some help.
Page I'm working on: link
Questions:
Sliding tab content: When I hover the mouse over the three tabs, the div that moves along with the mouse is not getting evenly balanced between the three tab contents. There is a plugin that I used, tabbedcontentslider. I think it is...
Hi,
Does anyone know how to automatically submit a form via AJAX, without, having to explicitly click on the submit button.
For example, say I have the following form:
<form id="form1" method="post" action="" name="form1">
Rows: <input type="text" name="rows" id="rows" /> <br/ >
Columns<input type="text" name="columns" id="columns"> ...
Hello :)
I am designing a layout that looks like:
== header ==
== ad banner ==
== content ==
== footer ==
however the source code order is:
== content ==
== header ==
== footer ==
== ad banner ==
the idea and goal of all that is
load ad code in the very end so that the page doesnt get slowed down by external loaded javascripts
...
How can I modify this frames so that users can not move those frames?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title></title>
</head>
<frameset border="1" rows="100, 200" >
<frame src="page1.html">
<frameset border="1" cols="20%, 80%" >
...
Hello Everyone,
Bear with me as I try to describe my problem.
I have auto-aligned the content of a web page so that it appears in the center using the following code:
/* Universal Rules -------------------------------------------------- */
body {
margin: 0;
padding: 0;
background: #fff;
color: #333;
/* font sizing in ems, baby. if...
hey guys, i wrote a php app using php+smarty.
when i view web source code in firebug, i find that link tag and script tag get under the body tag.
but i should be under head tag.
and there are some space below body tag.
and there's blank space on my top of my web page.
so , what's the problem?
...
Good days,
I have a webpage. I never had a problem like this before. When I wanted to give a link to internal file on the path like public_html/slides/new.ppt.
I created a link like this to reach this : <a href="http://mydomain.com/slides/new.ppt">Link</a>
But, suddenly I am getting object not found errors. Although the path ...
I am trying to display the real value of ¼ and ”, but the browser is displaying it as ? (question mark) at a area where AJAX is enabled. While at a different browser locations it displays ¼”.
I want to display 1" but it getting displayed as 1â€.
Please advise.
...
<a href=FullSize.jpg"><img alt="thumb" src="thumb.jpg"></a>
When the above thumb is clicked the browser will display FullSize.jpg sized to fit the client window of the browser and when the cursor moves over it a '+' will appear to signify that clicking the image will display it full size. What I want to do is display the image full siz...
I'm trying to use the tabindex text input attribute to allow users to tab between fields on this page: https://seatgeek.com/login/. This works perfectly in all browsers (event IE!) except for Firefox. I'm using Firefox 3.6.10.
...
I am trying to make a table in HTML. When I resize the window down to be narrow and the window tries to squash everything to fit inside the window even though it's narrow, it puts the contents of a cell on different lines. I don't want this to happen. E.g.:
home about contact us
when you narrow down the browser window:
home ...
I'm working on a website for a client, and I'm not excellent at css... still in the process of learning a lot about divs. I made a div that is supposed to stretch 100% of the page, and it works, unless a user is browsing from a lower resolution (1024 x 768 for example) and has to scroll horizontally, the div will then only extend to the ...