Jump to content

F-Man

Members
  • Posts

    222
  • Joined

  • Last visited

Everything posted by F-Man

  1. If I recall correctly... table, td { border: solid 2px;}
  2. Seems like you invented tags. Try using the class attribute on cells, etc. instead and type the classes in the CSS like this: .NORM, .UPDATE, etc.
  3. F-Man

    Fonts

    You can use special characters in style sheets inside the document's head with CDATA and XHTML. <script type="text/css"><![CDATA[body { font-family: "Child 39;s Play", sans-serif;}]]></script> You might want to use & #39; (without space) since ' is XML and won't work with IE.Also, try to avoid inline style (style attribute) especially with elements that appear only once per page or in every page.
  4. marquee: Microsoft proprietary tag, invented to compete against Netscape way back. http://www.goer.org/Journal/2003/Oct/index.html#26^A good read.
  5. You should normally be able to disable quoting and press Reply but it doesn't work. Yep, a bug.
  6. Line : 2 (Level : 1) You have no color with your background-color : p Seems like it wants you to also add color. p { background-color: #0f0; color: black;}
  7. Please use IDs, not names. Also, why use an anchor just to give some text a name? ANY element can have IDs. <p><a href="#whoo">Link</a></p><p id="whoo">Content that the link brings to.</p> However, aragee, I am not sure what you want with your hidden overflow...
  8. He fixed it. =)jwermont, if you could tell us what you did, it would be great. This was puzzling me also...
  9. The align property aligns text inside an element, not the element itself. To center a table, set automatic margins, with "margin-left: auto; margin-right: auto" or just "margin: auto".
  10. There isn't an XHTML forum, XHTML is HTML, so it's only logic to discuss XHTML in here. =)
  11. Don't forget upcoming XHTML 2.0.
  12. I think this is a fine example of a case where you need to give us a link so we can help you.
  13. You can use the CSS clear property.#footer { clear: left;} Which clears the left floating.
  14. Those properties were never invented by the W3C but by Microsoft (through EEE). They are not real.
  15. You can use the name attributes for forms.It may seem weird but remember that forms are getting pretty outdated (and soon replaced with XForms), so that's why they have their own exceptions (like textarea absolutely needing cols and rows even if we could use CSS instead).
  16. embed doesn't validate because it is deprecated. object is the way to go.
  17. Here is the correct code: <object type="application/x-shockwave-flash" data="logo.swf" width="600" height="40" id="banner"> <param name="movie" value="logo.swf" /> Alternate text or image for users without Flash plugin.</object> After some testing it seems like you must absolutely set a width and a height, by the way. And the param tag is also necessary if you want it to work with IE.I think classid and codebase attributes may also be used, if you know what values are best for a Flash, I personally don't. =)
  18. Hi, I couldn't find why IE does it wrong, but did you know that you'd get much better results using divs and CSS instead of tables? tables are for tabular data, like calendars and such. And if you use them for layout like this, your pages literally take 3+ times more space and longer to load.
  19. Hi. :)You can use padding to put the menu below the image. As for the red strip, set a width to the div. Like this: #secondary_nav {float: left;background: #bb1042;padding: 60px 0; /* Sets the top and bottom to 60px, with no left or right padding. */width: 40px;} It's not quite perfectly the way you want it but it's a progress. =)
  20. Hi,bgcolor is depecrated as styles should be reserved to CSS.Enter this code into the head of your document: <style type="text/css"> table { background-color: red; } </style> That's CSS. =)Browsers display it fine because they accept code from different HTML versions, including the older ones. The reason why it is invalid is because using it, no matter how it works in browsers, means you're not actually using the HTML version you're telling in the DOCTYPE, and as the web advances and deprecated attributes start being unsupported by browsers, you'll be left behind. :)And yes, the forums are new. I'm glad to be one of the first members! =)
  21. F-Man

    color text links

    You're telling normal text inside the cell to be dark blue, while links will just keep their default color Give a color to the link itself instead.Like this: <td style="font: bold 11px verdana, arial, helvetica, sans-serif; text-align: center; background-color: rgb(211, 233, 255);"> <a href="http://mysite.com/skincare.html" style="color: rgb(51, 51, 153); text-decoration: none;">Skin Care</a></td> Also, the font element is deprecated and useless when using CSS. Using the example I just typed above should be fine. You should also save a lot of time by using non in-line CSS (inside <style /> or in an external style sheet).
×
×
  • Create New...