Forum: HTML and CSS Apr 12th, 2009 |
| Replies: 5 Views: 693 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
minor bug with... |
Forum: HTML and CSS Jan 10th, 2009 |
| Replies: 14 Views: 1,826 Why don't you want to use tables? |
Forum: HTML and CSS Apr 14th, 2008 |
| Replies: 7 Views: 5,399 It's not a kludge to have an outer style affect the list ( including the bullets/numbers ) and have an inner style affect the content of items themselves. Use 'relative' styles if possible , e.g use... |
Forum: HTML and CSS Feb 27th, 2008 |
| Replies: 9 Views: 3,221 Only one rule from me.. Don't set out to "work with divs to create a pure CSS layout", unless you're entering some wannabe-elitist competition. Use whatever's appropriate and whatever works best:... |
Forum: HTML and CSS Feb 27th, 2008 |
| Replies: 3 Views: 844 This seems to work fine for me (Opera):
<html>
<head>
<title>Hanging indents..</title>
<style type="text/css">
p.question, p.answer
{
margin-left:1.2em;
... |
Forum: HTML and CSS Jan 31st, 2008 |
| Replies: 8 Views: 2,714 Yuk.. it's a real hack to serve diff pages to diff browsers, especially when using HTTP headers to determine the browser. How many browsers are you gonna target? What happens when the browser version... |
Forum: HTML and CSS Jul 28th, 2007 |
| Replies: 3 Views: 2,791 Hybridize?
<a href="#" onmousedown="changeImages('topevents', 'images/topevents-over.gif'); return true;" onmouseup="changeImages('topevents', 'images/topevents-over.gif'); return true;"... |
Forum: HTML and CSS Jul 2nd, 2007 |
| Replies: 5 Views: 2,697 You can make CSS files server parsed... Either as SSI with an Apache htaccess directive, or using some other server language to generate the CSS file automatically.
You can include arbitrary text... |
Forum: HTML and CSS Jun 7th, 2007 |
| Replies: 5 Views: 4,970 you don't need all of the fields; try this:
<object type="text/html" width="300" height="300" data="http://url/file.html"></object>
... |
Forum: HTML and CSS May 20th, 2007 |
| Replies: 5 Views: 2,726 First up, add a body tag around the body, and a html close tag after everything:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
... |
Forum: HTML and CSS May 10th, 2007 |
| Replies: 7 Views: 2,592 if your CSS files are ALWAYS in the folder that maps to http://yourdomain.tld/css_directory/, you can use an absolute link as follows:
<link rel="stylesheet" href="/css_directory/style.css" />
... |
Forum: HTML and CSS Apr 15th, 2007 |
| Replies: 12 Views: 32,340 Check out this page:
http://apptools.com/examples/tableheight.php
the important part is this CSS snippet:
html,body{
margin:0;
padding:0;
height:100%; |
Forum: HTML and CSS Apr 15th, 2007 |
| Replies: 12 Views: 32,340 The margin isn't an addressable area; it takes the colour/image that is assigned to the background of the outer container.
A given container has a padding (space inside) a margin (space outside)... |
Forum: HTML and CSS Apr 8th, 2007 |
| Replies: 12 Views: 32,340 Aaah... it's a difficult one. Height 100% doesn't work in XHTML; it means '100% of the height of everything on the page'. So, if there's nothing on the page, 100% height is nothing. This even affects... |
Forum: HTML and CSS Apr 6th, 2007 |
| Replies: 3 Views: 3,040 What does the code look like when you view-source in a browser ( i.e. after the PHP code has been executed ). Post the same code after PHP, and check to make sure those echos don't put invalid... |
Forum: HTML and CSS Feb 23rd, 2007 |
| Replies: 3 Views: 7,244 you can turn them off on the table tag itself:
<table border="0"><tr><td>etc</td></tr></table>
(this will turn off the border throughout that table)
or with CSS: |
Forum: HTML and CSS Feb 9th, 2007 |
| Replies: 3 Views: 2,765 You can run an executable on the server machine; but not on the client's machine.
VB probably isn't so common as a serverside application language; but hey, it could work. |
Forum: HTML and CSS Jan 26th, 2007 |
| Replies: 5 Views: 3,872 text-align:center; in CSS is an extremely easy replacement for center; in the way you just suggested. A div with text-align:center; works pretty much exactly the same as <center>. As such, there's no... |
Forum: HTML and CSS Jan 24th, 2007 |
| Replies: 10 Views: 2,408 That's not true. In HTML the close tag or closing slash for lots of elements is optional. Unclosed tags are just illegal in XML and thus XHTML.
http://www.w3.org/TR/html4/intro/sgmltut.html... |
Forum: HTML and CSS Jan 18th, 2007 |
| Replies: 10 Views: 2,408 The control character linebreaks \n or \r will be shown in your markup when you view it as plain text. They can be used to organise your code better.
When it's rendered as HTML, \n, \r linebreaks... |
Forum: HTML and CSS Dec 9th, 2006 |
| Replies: 7 Views: 16,952 mine is a javascript solution aswell, but it's all squashed into one parameter line. you could expand it to:
<script type="text/javascript">
function checkclear(what){
if(!what._haschanged){
... |
Forum: HTML and CSS Dec 9th, 2006 |
| Replies: 7 Views: 16,952 onClick will work on most elements, onfocus is more appropriate for a text input, as tabbing to a field also counts as focus...
try:
<input type="text" value="Click here to clear text"... |