I'm building a tab bar in css, and want it to be able to handle having more tabs than can be shown on the screen. My HTML is structured roughly:
<div id="tabbar">
<div id="tablist"></div>
</div>
css:
#tabbar {position:absolute;width:100%;height:24px;overflow:hidden;}
#tablist {position:absolute;top:0px;left:0px;height:24px...
I am creating a website that is using a perl script, PHP, a MySQL database, and HTML. My main concern is making sure there is not anyway someone can gain access to anything that give them access to my information. I mean is there anyway for someone to get my perl script and see my database information. I know about sql injection but I ha...
I have a directory full of email forms in various subdirectories, linked by various people in various places. I recently found a security problem in some of the forms, and I've taken them all offline, but now when people go to the links they get 404 errors. Is there an easy way, with .htaccess perhaps, to redirect any request for mydom...
Hey guys, I've been trying to parse through HTML files to scrape text from them, and every so often, I get some really weird characters like à€œ. I determined that its the "smart quotes" or curly punctuation that is causing the all of my problems, so my temporary fix has been to search for and replace all of these characters with their c...
A lot of what I continue to read about graceful degradation applies to browsers that don't use JavaScript. But my own experience shows that it's no longer reasonable to expect a normal experience on the Internet without JS and CSS support. How much energy is it responsible to devote to degradation these days?
...
So I have a page that is split into 2 columns. The left column there are expandable forms that are quite long to ask the user optional product preferences. On the right side of the page there is a much shorter, 'contact details' form. The contact details form is mandatory.
The behaviour idea is that as the user scrolls down to complete...
My page adds # to the html programatically and have this in the tag
function InsertTag(){
//Add <a name="spot"></a> to the middle of this document
}
window.addEventListener('load', InsertTag, false);
my question is how can I make the document then jump to #spot?
...
Following is my html content which i want to show in the webview using android sdk. It will displays only
//Please
but when i put this html content into the browser then it shows differently.
<br /><br />Read the handouts please for tomorrow.<br /><br /><!--homework help homework
help help with homework homework assignments elementa...
I have such html code
<div>
<p>MY Text <a href="url">Text</a>
</p>
</div>
I need using CSS or jQuery disable all A elements in DIV, when user move mouse over Text the URL is not active and he can't click on it. How to do that?
...
Suppose I have following frame structure.
<frameset rows="20%,60%, *">
<frame name="theFrame" id="theFrame" src="test1.html" >
<frame name="theSecondFrame" id="theSecondFrame" src="test2.html" >
<frame name="importantFrame" id="importantFrame" src="test3.html" >
</frameset>
Suppose in "theSecondFrame" i have a button and if I cl...
I want visitors to be able to click on (or copy) an email address directly on my webpage. However, if I could make it (a little bit) harder for bots and other crawlers to get said email address and register it in a spam list, it would be awesome.
I found different ways of doing this (i.e. encoding mailto HTML links), either with JavaScr...
I have a page with a silverlight app on it. Embedded in my page is an authentication key which the silverlight app will need to do all web service requests. So onload the silverlight app needs to get the key and do an initial connect to a WCF service. The problem is that its very unpredictable whether the page or the silverlight will loa...
I am attempting to parse HTML for specific data but am having issues with return characters, at least I think that's what the problem is. I am using a simple substring method to take apart the HTML as I know beforehand what I am looking for.
Here is my parse method:
public static void parse(String response, String[] hashItem, String[][...
Hi,
I'm stuck on a very strange problem, and I can't figure out what exactly is happening...
Unfortunately, I cannot link to the page in question, as it is under internal development, but the problem is as follows:
I have page with 3 links - A, B and C.
Each of these links to dynamically generated files, and it can easily take several...
Hello,
please guys could you give me your opinions how to organize files for a Simple CMS project using asp.net WebForms?
For example for admin section... would you make sense divide all main group section in different folder ex:
ROOT
ADMIN
Default.aspx
CATEGORIES
CreateCategory.aspx
...
I have a wrapper div which is positioned absolute. Is it possible to extend the height of the wrapper div to accommodate the content and show the background color. Below the code I used:
CSS
html, body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
border: 0px;
}
body {
font-family: Arial,sans-serif;
font-size: 2em;
l...
Is there a way to specify text to appear on the bottom and header of every page when printed?
or
Is there a CSS solution which would allow a header and footer to repeat on each printed page?
thank you
...
Hi
I'm still searching, but I haven't found yet the way to perform something like this:
xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- some other templates -->
<xsl:template match="IMAGE">
<img src="src_attribute_to_be_read_from_the_xml_file.jpg"/>
</xsl:template>
</xsl:s...
I have some translations in my Rails application (config/locale/[en|de].yml) and I use it in my views with <%=t "teasers.welcome" %>. Example:
teasers:
welcome: "<strong>Welcome</strong> to the Website ..."
In Rails 2.3.8 this works just fine, with Rails 3, the HTML is escaped and translated to <... How can I prevent this form ...
I'm trying to position several text elements using position:absolute. However, it seems that both on Firefox and on Chrome, the bounding box of the text elements is of a different size in Windows and in Linux.
I've extracted a simple test case which is available here:
http://share.shmichael.com/html/event.html
I've tried all kinds o...