Hi!
I have this html code:
<body>
<div id="div0" style="display:inline; background-color:green; width:100%">
<div id="div1" style="display:inline; background-color:aqua;width:33%"> </div>
<div id="div2" style="display:inline; background-color:red;width:33%"> </div>
<div id="div3" style="display:inline; back...
Hi,I have an image and there is unwanted background-color coming to the image in IE6. Although it looks fine in all others IE6 messes it up with unwanted background-color.Any Ideas??
...
I have a css style, which when applied to a static html page works fine.
The problem is, that content is dynamically loaded, into layer3, and then into layer 2.
I don't really understand the consistency. Sometimes the layers are far apart, sometimes they are meshed over each other.
Why is this happening, and how can I keep layer3 in a...
I got this JavaScript tag which is displaying a banner on my page:
<script src="http://e2.emediate.se/eas?cu=10524;cre=mu;js=y"
language="JavaScript" type="text/javascript"></script>
<embed
height="150"
width="768"
type="application/x-shockwave-flash"
src="http://e2.emediate.se/media.2/170/4045/32676/49312404-768-150....
Hello,
I have a basic page layout, and wanted to arrange information in columns.
I have managed to do this, but I feel I have done this n a very poor way.
I have made a layer and style called leftlayer, which floats to the left. Then 2 layers with a style called leftlayer2 which also floats to the left, to preserve the order I wanted ...
I have about thousand DIV tags structured this way:
<div id="1">
<div class="1"></div>
<div class="2"></div>
...
</div>
<div id="2">
<div class="1"></div>
<div class="2"></div>
...
</div>
If I want to now access a particular node, say 'div#10 div.5' - what is the fastest way to do it using javascript DOM trave...
Using Asp.NET, how do I strip the HTML tags from a given string reliably (i.e. not using regex)? Like PHP's strip_tags.
Example: for the string: "<ul><li>Hello</li></ul>" return "Hello".
I didn't want to write some kind of parser, so I looked for it on the stardand library, but couldn't find anything.
Thanks!
...
Hi,
I have a form, text input and a submit button. How do I append the value of the text box to the form action i.e.
action="https://www.mywebsite.com/" & txtSessionId
The form looks like this:
<form name="form1" method="post" action="https://www.mywebsite.com/">
<label>Your Sessions ID:
<input type="text" name="txtSessionI...
I have a MultiLine asp:Textbox (a standard html textarea for those non-asp people) that I want to be auto-sized to fit all it's content only through css. The reason for this is that I want it to be of a specified height in the web browser, with scrolling enabled.
I have implemented a print style sheet however and want all text located i...
Let's say I've got an HTML / CSS page with some images in it, and I wanted to generate a PDF from that source in Python - possible?
...
Have a report generated from the DB, want to add an export button so they can get the same report in a excel readable sheet of some type. The key here is ease of implementation so a CSV is fine over XLS if it's easier.
...
I am trying to design a form that uses the CSS inline-block display value for a table-like arrangement. I know that some browsers including Firefox 2 don't know how to handle it, so I used this method to make it work in all browsers. However, sometimes when I try it in Firefox 2, the browser freezes. My CPU usage gets stuck near 100% and...
over the last couple of years I've seen jquery grow leaps and bounds. And every time I look at some jquery code I feel there is something I am missing which I need to learn. I've given their documentation a try, and it seems to be ok for basic stuff.
Can you guys suggest a good jquery book that might help? I'm looking for something ...
Hi, all!
We had discovered strange behaviour of popups in IE8. In IE7 and IE6 our popup looks like this:
But in IE8 it has strange border which "blinks" for 5-6 times and looks like this:
Code which is used for showing this popup:
Browser.prototype.showPopup = function(someHtml) {
...
var popup = doc.parentWindow.createPopup();
...
Are there terms for HTML tags that differentiate between ones which should have closing tags, and ones which shouldn't?
For example, <em> and <a> should have accompanying </em> and </a> tags.
On the other hand, <br /> and <img ... /> shouldn't.
What is the first group called, and what is the second?
...
say I have something like
<body><div id="a"><div id="b">some content</div></div>more content<body>
and I don't know how much height "some content" is going to be. But I have #b styled to position: absolute and #a styled to position: relative so #b's position is relative the the top left corner of #a. Is there some way I can make #a ...
I am storing user inputs through a form with wiki style formatting (text for bold, _text for underline, etc) in my database. I was planning to use the db functions & some page code to store all of the info out to XML with the proper html formatting for each rich text field included. From there the XML gets parsed with an XSL stylesheet. ...
Is there a way to resize (scale down) images proportionally using ONLY CSS?
I'm doing the JavaScript way, but just trying to see if this is possible with CSS.
...
I am trying to write a function which saves a webpage (with its images) as a html page.
I am using HttpWebRequest to request for the content of webpages.
My function looks something like
void SaveUrl(string sourceURL, string savepath)
{
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(sourceURL);
HttpWebResponse res...
I noticed an unusual issue today while throwing together a quick "under construction" type page where I'm moving text onto an image using relative positioning. (This page was "inspired" by SO's offline page, if you care)
<html>
<head>
<title>Bronco Marching Band</title>
</head>
<body style="background-color: #888;">
<div s...