I am fairly new html developer, i am using bunch of divs in my page.
Issue is some of div items are not within div although they are defined within div tag.
What am i missing here to understand? How to make sure that all items within div will get rendered within div?
...
Hi,
I'm just thinking if there is any way how to get information about element in HTML in my .NET application.
The input is HTML page and path to CSS files etc. I want to take e.g. H1 tag and found what will be the CSS for it. Is there any code or can I use IE and try to take this information from it automatically inside of my applicati...
I'm using xsl to display xml. I'm displaying in a table which I want the width="100%" if I insert a regular text with spaces it automatically underlines and displays the whole test in a few lines.
But---- when I'm using
<table style="table-layout:fixed" width="100%">
<tr>
<td width="30%"><xsl:value-of select="Title"/></td>
<td widt...
Is it possible to allow embed, object, and param HTML tags with HTMLPurifier? I'm trying to allow YouTube, Vimeo, etc. videos to be embedded, but they're always stripped, no matter what I try. I do understand that these are risky tags to allow.
If it's not possible, what other HTML filtering options do I have with PHP? It doesn't seem t...
Just a basic html link question.
I have an intranet setup, and I need to link to some network drives. They are located on drives such as \server_drive\blahblah\doc.docx
Using file:// does not work on either IE8 or Firefox. How can I link to these files?
...
My guess is that <br> might be inline and that <hr> might be block. But I don't really have a clue...
...
I have seen a web page source code containing the following css declaration at the header:
<link rel="stylesheet" href="/site_media/base.css?v=747" />
What is the use of "?v=747" at the end of this CSS declaration?
...
Basically I need this:
http://plugins.jquery.com/project/maphilight
...but instead of just having the <AREA> tags recieve a border or fill color on rollover, have them recieve a background image. The image needs to be clipped by the shape of the <AREA>s.
Any ideas?
Basically the setup I have is as follows:
<img usemap="#map" />
<map...
I'm styling a form designed by a client with the following structure:
<div class="formRow">
<div class="fieldName">
Email
</div>
<div class="fieldInput">
<input .../>
</div>
</div>
The width of the form is 500px, but the fieldName div and the fieldInput div stack on top of each other instead of sitting ...
Does anyone know of a linux-compatible command line html formatter? You know, something where I could pass it a file that looks like:
<html>
<body>
<p>
hi
</p>
</body>
</html>
And it gives me:
<html>
<body>
<p>
hi
</p>
</body>
</html>
I'm using PHP to generate this html, so if there is some handy...
If I have some HTML that looks like this:
<div id="text">
This is some text that is being written <span class="highlight">with
a highlighted section</span> and some text following it.
</div>
And I want to remove the "span" leaving the text node within, how would I go about doing that? I tried using jQuery to do the follow...
Why is it that a form with a single input field will reload the form when the user enters a value and presses the Enter key, and it does not if there are 2 or more fields in the form.
I wrote a simple page to test this oddity.
If you enter a value in the second form and press Enter, you'll see it reloads the page passing the entered val...
So I created a simple menu for a small project I have. When people mouse in and out of the menu on IE6 or IE7 the menu will drop down.. but it will go back up if you move the mouse slowly downwards.
Does anyone know how to prevent this behaviour.. it seems like it thinks its mousing out.. even though it hasnt yet..
the url: http://vas...
I was looking for way to set position for inputs other than using tables. I googled this: Applying CSS to forms and I've made a test site: korran.ovh.org/test/test.html Text-type inputs looks good, but submit is moved a little to the left. Interesting thing is that if I set font-size: 10pt it looks perfect. But with default 12pt it's mo...
If I have some forms in Extensible Forms Description Language (XFDL) format, is there a good way render them as HTML? Someone hasn't been kind enough to create an free XSLT file for doing this transformation, have they? What might my other options me?
...
Hello all, having my first attempt at rounded corners in a login form. Just doing the layout right now, but having some IE7 troubles. Trying to avoid using conditional statements, but although I can get it displaying perfectly in Firefox 3.5, IE looks to be creating a larger margin on the right and left of my login button. It could be th...
Hi,
The banner on this page here (a work in progress), has the following structure
<div id="top">
<div class="sidebox">
<div class="boxhead">
<h2>Chalets des Bouleaux</h2>
</div>
<div class="boxbody">
<p>Tel. 819-444-4444</p>
<p>Notre-Dame de Pontmain, Québec, Canada</p>
</div>
</div>
</div>
The ...
Using HTML and CSS.
I have text surrounded by a border using display:inline to make the border just larger than the text. The problem is that the border overlaps certain surrounding block-level elements. It overlaps <table> and <form>, but not <p>.
CSS:
.bordered {
padding: 0.6em;
border-style: solid;
border-width: 2px;
backgr...
Okay, I just cannot figure this one out. After looking and re-looking at my code for what is probably hours now, I am still not any closer to finding out this strange behavior.
It has to do with the fading of the background and that it is leaving off about 12 of the images that are listed in the array.
The images that are being left o...
I'm trying to create a nice generic way of setting the tab index on many elements in a page of an ASP.NET app (using VB.NET). As a result I was wondering if there was a base class that controls implementing the TabIndex property inherited from so I could generate the following code:
Public Sub GenerateTabIndex(order as List(Of TabIndexB...