For so long, I've read and understood the following truths concerning web development:
HTML is for content
CSS is for presentation
JavaScript is for behavior.
This is normally all fine and good, and I find that when I strictly follow these guidelines and use external .css and .js files, it makes my entire site much much more manageab...
I'm looking for the easiest solution to fixing a problem I have in Internet Explorer (6,7 & 8), be it CSS or using jQuery. I have a SELECT Input with a defined width (because of where it sits in the layout). Because of the defined width select is cut off from showing their full values, unlike in Firefox & Safari where they are automatica...
hi everyone
how can i move the div from right to left. same as cycle rotation.
i having one html page in that 2 buttons called forward and backward .
when the user click forward button it div show move to next div1. same as backward
button should move to previous button.
Thanks and Regards
Ravi Kumar
...
I need to canter align images (variable width and height) inside block level elements of fixed width and height. The css markup looks something like this:
<div style="float: left; width: 100px; height: 100px;"><img src="yada" width="50" height="60"></div>
<div style="float: left; width: 100px; height: 100px;"><img src="yada" width="60" ...
Hello people,
i got a question from a webdeveloper in my company who got it from a client: when inserting (russian) text into a webpage <_o3a_p> tags appear on the website.
I have (ofcourse) tried to google it but i only stumble upon websites that have these tags in them as well. No real good context for the how and why in other words....
This is the iframe I'm trying to access:
<div class="mceBody" id="additionalTxt_b">
<iframe frameborder="0" id="additionalTxt_f" src='javascript:""' class="punymce"/>
</div>
Using this line:
frames['additionalTxt_f'].document.getElementsByTagName("body")[0].innerHTML
For some reason I'm getting "frames.additionalTxt_f is ...
Hi guys.
Im trying to get a div to auto adjust to the height of the div to its right.
You can see an example here www.littledesignplanet.co.uk/lloyd
The white space div on the left i set the height manually.
Is there a way to get this to automatically stick to the same size as the main content div?
As each page is going to be a differ...
I've noticed a lot of sites, including stack overflow append ?v=36556 to their static file path to force the browser to re fetch the new version. On the stack overflow podcast it was mentioned they do this as part of the build process. I'm just wondering if there is any existing msbuild tasks or utilities for doing this? Or should I j...
I've been working on a project with a feature so that when I click a button, Outlook will open and the corresponding value stored in a variable will be in the in the body of the mail. I've tried the following code:
<html>
<head>
<title>Email This Code Snippet</title>
<script language="javascript">
function TriggerOutlook()
...
I am trying to post to a remote url from a local html file on my desktop, but the server doesn't seem o be receiving any post data?
...
Can I get some sample code in PHP for converting an html table to image
form(.gif,.jpg or any format)? I am using XAMPP on Windows.
Yes, the table is coming from the database.
...
Basically I have three images (call them img1, img2, img3) with three menus associated with each. (menu1, menu2, menu3)
When a user clicks img1, menu1 should pop up with three radio button selections (rad1, rad2, rad3). Say the user clicks rad2, menu1 should then hide and img2 should appear (but rad2 should still be selected). When img...
Hi is it possible to do the following?
<a href="/Reports/report.aspx?StartDate=<% Request.Params.Get("StartDate");
%>&EndDate=<% Request.Params.Get("EndDate"); %>">View analysis</a>
Thank you.
...
I'd like to have two frames with no space between them. Here's my test case:
<html>
<frameset framespacing="0" rows="50%, 50%">
<frame frameborder="0" src="red.html" scrolling="no" noresize="1" />
<frame frameborder="0" src="red.html" />
</frameset>
</html>
red.html is just:
<html><body bgcolor...
I would like to embed HTML inside a PHP if statement, if it's even possible, because I'm thinking the HTML would appear before the PHP if statement is executed.
I'm trying to access a table in a database. I created a pulldown menu in HTML that lists all the tables in the database and once I select the table from the pulldown, I hit the...
I have a form in asp.net with a FileUpload control inside. Next to this control I have "Upload" button which is used to upload a file to a list of files. The problem is that I also have "Submi"t button used for submiting whole form.
Now when somebody selects a file through browse button and presses on "Submit" not "Upload" file is being...
I've got a website which has a layout sorta like this:
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<body style="margin:0px">
<div style="border-left: 5px solid black;">
<div><!-- x -->
<div>
<div>
<div style="margin-top: 100px">
fish
</div>
...
I'm writing an ASP.NET MVC application and I have a form where a user can enter one or more part numbers that they used to fix a problem. Most of the time they know the part number and can just type it in. Occasionally, however, they need some extra help.
The part number table has over 50,000 items in it which is way too big for a d...
So here's a stump I've hit.
I'm designing a... Thing. It sizes itself to the browser window, with some controls at the top and a rather large list near the bottom. Anyways, it's basically a table cell that sizes with the browser window, whos size is the document size - 130px in height, and document size - 50px in width. What I want it t...
HTML can be used in Java swing GUI components, like JTextBox, JButton, ... etc.
Is there an equivalent to that in .NET (C#) WinForms? or at least some simple way of making a single word bold inside a textbox without using another GUI component?
...