Jump to content

F-Man

Members
  • Posts

    222
  • Joined

  • Last visited

F-Man's Achievements

Member

Member (2/7)

0

Reputation

  1. Or make your site work well on any resolution as it should.
  2. Well let's say you wanted your headings to be in bracket [like this]. You could do:h1:before { content: "["; }h1:after { content: "]"; }Also you can decide to disable or enable quotation marks around quotes like this:q:before { content: open-quote; }q:after { content: close-quote; }You can also use p:after { content: url(image.gif); } to place some signature image at the end of a paragraph, and so on.
  3. a#leftcol is if your anchor has that ID. Instead you have a division with that ID, so you're probably looking for something like#leftcol a { color: red }ordiv#leftcol a { color: red }Also, leftcol is not a good name for an ID. ID and class names are part of the HTML and therefore should relate to content and not presentation. You never know if you want to change your "leftcol" to actually go to the right someday.
  4. F-Man

    two Background

    Put one div inside another. Apply "background: url(image.jpg) no-repeat scroll bottom left" to one and "background: url(image.jpg) no-repeat scroll bottom right" to the other.
  5. The object tag has no required attribute.
  6. The classid/codebase use an ActiveX control to embed WMP inside IE, so of course that does not work in Firefox. Try to just embed the file with its appropriate MIME type (probably type="video/x-ms-wmv") and get rid of the classid plus codebase. Then see if that works (also pretty much all params will probably become useless as they all rely on the WMP to work).Also, yeah, use XHTML 1.0 Strict.
  7. I don't think he wants to insert paragraph inside his cells (in fact that'd be stupid). td { font-size: 80%;}
  8. Specify a background-color, of course. Though I personnally think it's useless...background-color: transparent should be good enough, but since that validator sucks it'll give you the warning anyway I think. So you're left with background-color: inherit, which takes the same bg color as the parent element.
  9. ...Wow.That's really shooting in accessibility's foot.
  10. CSS is for style only. Browser behaviour is for DOM scripting.
  11. F-Man

    Iframes

    Go to your page with the image, and add this CSS in the head: <style type="text/css">body { margin: 0;}</style>
  12. Use percentage values. width="70%" per example.
  13. F-Man

    CSS2 with CSS1

    IE7 will support PNG alpha transparency, as seen in the link I posted above.Also, Firefox will also increase images size if you specify their size in ems; something that should be done more often but isn't because HTML only supports pixel units, oppositely to CSS.
  14. F-Man

    IE woes

    Wrong. Using the XHTML DOCTYPE with a .html extension is for HTML compatibility mode, so that your page can work in most browsers and will only need you to change the extension or the MIME type through your server settings if you want to use true XHTML in the future.Anyway, we're really off-topic here.EDIT: Yeah, if you want to use XHTML that is, this should have been the case in 1999 but IE really is slow.
  15. F-Man

    IE woes

    Because it is an XML only.http://www.w3.org/TR/2002/NOTE-xhtml-media...020801/#summaryXHTML 1.0 may be used with the text/html MIME type (.html, .htm extensions) for compatibility reasons, as long as you follow Appendix C of the spec, but this makes XHTML totally unextensible and therefore loses its purpose, which is why the W3C decided to make every new version of XHTML application/xhtml+xml (.xhtml, .xht extensions) only (and other generic XML MIME types (.xml extension for example)).
×
×
  • Create New...