254 Answered Questions for the topic HTML
Find the number of lines in a div?
I want to show 'View All' kind of link, only when the lines in the div has reached 4 lines.
**HTML**
<div>
3PAS-Pub-IO-doubleclick.net-LI, ATOM_DFP_Pub_LI,...
more
Html Syntax
06/02/19
What Is syntax in HTML?
Html
06/01/19
What are valid values for the id attribute in HTML?
When creating the `id` attributes for HTML elements, what rules are there for the value?
06/01/19
Facebook plugin not showing on my browser?
As my title says my facebook plugin with the like button and faces is not showing when I preview my page in a browser using dreamweaver, must I upload the page to a server before I can see the...
more
05/31/19
How do you embed a youtube video on an html page on top of an image in Dreamweaver?
I just want to simply embed a Youtube video in a specific position on the page. But the only way to embed the video is to push down one of the images and put the video beside it. I want the video...
more
Html Dreamweaver
05/30/19
Is there an easy way to find broken HTML code in Dreamweaver?
Is there an easy way to find broken HTML code in Dreamweaver?
I've got an issue and I keep loosing count. Is there a Dreamweaver trick to this?
Html
05/30/19
How do I add a tool tip to a span element?
In the following code, I want a tool-tip to come up when the user hovers the span, how do I do that? I don't want to use any links. <span> text </span>
Html
05/30/19
What is the difference between properties and attributes in HTML?
After the changes made in jQuery 1.6.1, I have been trying to define the difference between properties and attributes in HTML.Looking at the list on the <a...
more
05/30/19
utf-8 / utf-16 conversion?
When I design a html page in Dreamweaver CS6 I use its validation tool (it sends the code to w3c) and I get no errors. However, when I validate the same page in UltraEdit 21 (it uses HTML Tidy) I...
more
Html
05/29/19
What does "for" attribute do in HTML <label> tag?
I wonder what is the difference between the following two code snippets: <label>Input here : </label> <input type='text' name='theinput' id='theinput'/>and <label...
more
Html
05/29/19
Remove border from IFrame?
How do I remove the border from an `iframe` embedded in my web app? An example of the `iframe` is: <iframe src="myURL" width="300" height="300">Browser not compatible.</iframe>I...
more
05/29/19
CSS metaphysics: WHY is page vertical alignment so difficult?
Relative to the page, horizontal alignment in CSS is easy - a `margin:0 auto` gets you by much of the time, and a `text-align:center` for some other cases.My question to the gurus is not how to...
more
Html
05/29/19
Set the value of an input field?
How would you set the default value of a form `<input>` text field in JavaScript?
Html
05/28/19
Converting user input string to regular expression?
I am designing a regular expression tester in HTML and JavaScript. The user will enter a regex, a string, and choose the function they want to test with (e.g. search, match, replace, etc.) via...
more
Html
05/27/19
Submitting a form by pressing enter without a submit button?
Well I am trying to submit a form by pressing enter but not displaying a submit button. I don't want to get into JavaScript if possible since I want everything to work on all browsers (the only JS...
more
Html
05/26/19
How to apply CSS to iframe?
I have a simple page that has some iframe sections (to display RSS links). How can I apply the same CSS format from the main page to the page displayed in the iframe?
Html
05/25/19
How to create an HTML checkbox with a clickable label?
How can I create an HTML checkbox with a label that is clickable (this means that clicking on the label turns the checkbox on/off)?
Html
05/24/19
How do you create a hidden div that doesn't create a line break or horizontal space?
I want to have a hidden checkbox that doesn't take up any space on the screen.If I have this: <div id="divCheckbox" style="visibility: hidden">I don't see the checkbox, but it still...
more
Html
05/23/19
In JavaScript can I make a "click" event fire programmatically for a file input element?
I'd like to make a click event fire on an `<input type="file">` tag programmatically.Just calling click() doesn't seem to do anything or at least it doesn't pop up a file selection...
more
Html
05/22/19
Turn off iPhone/Safari input element rounding?
My website renders well on the iPhone/Safari browser, with one exception: My text input fields have a weird rounded style which doesn't look good at all with the rest of my website.Is there a way...
more
Html
05/22/19
Should I size a textarea with CSS width / height or HTML cols / rows attributes?
Every time I develop a new form that includes a `textarea` I have the following dilemma when I need to specify its dimensions:Use **CSS** or use the `textarea`'s attributes `cols` and `rows`?What...
more
Html
05/22/19
Position absolute but relative to parent?
I have two divs inside another div, and I want to position one child div to the top right of the parent div, and the other child div to the bottom of the parent div using css. Ie, I want to use...
more
Html
05/21/19
Set cellpadding and cellspacing in CSS?
In an HTML table, the `cellpadding` and `cellspacing` can be set like this:<!-- language: lang-html --> <table cellspacing="1" cellpadding="1">How can the same be accomplished using...
more
Html
05/21/19
Hide scroll bar, but while still being able to scroll?
I want to be able to scroll through the whole page, but without the scrollbar being shown.In Google Chrome it's: ::-webkit-scrollbar { display: none; }But Mozilla Firefox and...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.