When an element with a margin is contained within another element, the parent does not consistently wrap that margin.
Many things will cause the parent to wrap the child's margin:
border:solid;
position:absolute;
display:inline-block;
overflow:auto
(And this just from small testing, no doubt there is more.)
I would assume this has ...
Is there a website generator that can search for a given URL and output the urls where the images are missing their ALT tags?
...
I have a ASP.NET MVC project with a large list of input textboxes which I want the user to control them independently. Here is the link how it looks like now.
Here are some things I want to have:
Each enable/disable link only controls each row.
The number of rows is not fixed and it will be generated dynamically. It can be 10 or 2...
Hi ,
Really silly question but having a off day today.
basically I have a form and the method is set to post on the action page when I use $_POST i dont get the value but if I use $_GET or $_REQUEST I do. this does not make sense could some on just clarify it for me.
the code of the form is
<form action="create.php" method"POST">
...
How to handle [TIFF][1] file in HTML pages?
I want to display a TIFF file in my HTML page.
I have tried using embedded tag, object id, img, etc. But I am unable to display the image (TIFF) in the HTML page.
I am not using Java, .NET or any other thing in my project. I am using HTML only.
#
Hi all,
To the above question, yesterday ...
Hi,
I am writing a html file under ~/public_html on our server. I would like to refer to other files under ~/public_html in the html file. I now only know how to specify the path to those files (like pictures) via relative path from the html file. But I would like to know if there is a way to specify the absolute path? Because sometime...
I'm attempting to display a logo (PNG created in Paint.NET) on my web page (XHTML 1.0 Transitional), like this:
<body>
<div class="header">
<div class="logo">
<img src="logo.png" />
</div>
<!-- etc. -->
.header is styled as follows:
.header {
background-color: Black;
color: White;
margin-left: -3em;
padding-...
I've got a JS-generated fill-in-the-gap text/cloze and I'm having trouble adjusting the text boxes to the right size.
But unlike others I'm in the position of knowing exactly what the user will/should enter.
So, if I have a gap _______ like this, I want the input to be exactly 4 characters wide. However, maybe since I'm using a proport...
Can anyone explain "em is relative to the font size and % is relative to the parent element" by example?
What is the means of relative to the font size and relative to the parent element?
...
Hi
have this html:
<div id="editable" contentEditable="true" >
<span contentEditable="false" >Text to delete</span>
</div>
need that the span (and all text inside) is removed with a single backspace, is it possible?
...
Need some points on how to convert a styled tag to be used on another tag.
If my css has a particular style that works on a <div> tag, what do I have to do so it works on a span tag?
What if the css style works on any paragraph tag <p>, how can I get it to work on a div tag?
...
I am sending this to a function, and I want double-quotes around the value of the variable below, example $var = "New York" (note the quotes)
$fq.=" + area:$state";
So when I echo $state I want double quotes around it, how can I do this?
Thanks
...
Hello
I am making a frameset page with the following code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<frameset rows="*,65" border="0" framespacing="0" >
<frame src="page.html" />
<frame src="footer.html" scrolling="no" />
</frame...
Just trying to replace the hyperlink text and I'm not finding a way to do this... I tried the code below, but, I get a syntax error?
EDIT
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(function() {
if($j("a").text() == "Contact") {
$j("a").text() = "Connect");
}
});
</script>...
I have noticed that some websites prefix the titles of their links with blocked::.
For example:
<a href="http://www.a-url.com" title="blocked::http://www.a-url.com">www.a-url.com</a>
I have questions about how this affects browsers and search engines:
Is this meant to have some effect on the browser? If so, what is the int...
i am trying to find in this code where it instructs a new browser window?
<div id="mlcalc-w1">
<div id="mlcalc-w2">
<div id="mlcalc-w3">
<div id="mlcalc-w4">
<div id="mlcalc-w5">
<link rel="stylesheet" type="text/css" media="screen,projection" href="http://www.mortgageloan.com/sites/all/themes/mortgageloan/css/tool/mlcalc-inline.css">...
Hi I have a table with border-top set to 2px. This works in every browser except IE8.
CSS:
<style type="text/css">
.mytable {
border-collapse: collapse;
border: 0;
border-top: 2px solid #43848C;
width: 300px;
margin:0 2em 1em;
border-bottom: 1px solid #72afb6;
}
.mytable tr {
border-color: #72afb6;
...
How would I go about parsing all of the "a" html tags "href" properties on a page full of BAD html, in Qt?
...
Looking for a Jquery plugin so I can have a select box that includes a writable option. So using javascript to merge a select box with an input field. I'm thinking this would be a fairly common requirement, Anyone know of such a plugin?
Thanks
...
I modified asp.net checkboxlist using css. It hides input using display:none and I'm able to click on label and casue postback in Firefox but in IE when i click label in checkbox list it doesn't work. What could be wrong here?
My code:
<div style="padding-left:15px;">
<asp:CheckBoxList ID="cbl" runat="server" AutoPostBack="true"
...