Jump to content

Lestat

Members
  • Posts

    5
  • Joined

  • Last visited

Lestat's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Lestat

    Coloring HRs

    I'm having problems coloring my HRs. If I use the color attribute in the HR tag, I get a validation error (color attribute is deprected in XHTML). This is the code I used: <hr color="#...." /> So, I tried CSS, and so far I have not been able to find any way of coloring an HR! I tried MSDN and all the acceptable CSS properties don't have anything to do with color? What do I do? Is there a way around this?
  2. The entire decleration is set exactly as you typed it. In fact I copied it from the XHTML tutorial page and pasted it onto my webpage. I even added the xmlns attribute, even though it's done automatically. But I still have the same problem. I'm just interested in finding out what causes it because as I've already said I managed to display my pages correctly with JS.
  3. Hi, need some help here with the <!DOCTYPE> declaration. When I added the "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> part of the DOCTYPE, Netscape and FF started displaying my page a little incorrectly. The h1 header I have at the top of the page took up much more space than normal. I used CSS to decrease line-height. It worked all right, but when I ran my website on IE, half the header was eaten away (obviously because of the decrease in line-height). So I created two different CSS stylesheets and used JS to link to each according to the user's browser. Now, that worked perfectly, but I need to understand what the problem is. How come adding the rest of the DOCTYPE changed line-spacing? Why just in Netscape and FF but in Opera and IE? Plus it seems like too much to add new script and create a whole new stylesheet just for a header.Any help there?
  4. I had a similar problem once. IE would open my Hotmail account as a blank page. I tried Netscape (with the FF engine) and everything workewd fine. I've been using Netscape since then, but I would like to point out that I've formatted my Windows drive and now IE works fine. Of course I didn't format my computer because I wanted to solve the IE-hotmail problem, it was something else. I don't think the problem had to do with traffic, because there were several indications that my IE installation was buggy (and indeed my entire verison of Windows XP, bad hack probably). First of all I would go to Help->About to check my version of IE and all I would find was an empty space next to version. I couldn't execute any JS either even though I'm positive I had JS enabled. There were also quite a few glitches here and there. I hope this info helps in any way. I wasn't into Web developing then and I wasn't in love with W3Schools yet, so I don't know how it would have displayed on IE back then.But my point is: I don't understand why you're so againt changing to another browser. Firefox is amazing. Way better than IE. By using another browser, you'll lose nothing. If you continue using IE, it isn't like a magical alert box will pop up and tell you what's wrong, right?
  5. I have a simple feedback form that contains three input boxes, and a textbox. I want to send an email using CDO which contains the strings typed into the three input boxes and the text inside the textbox.Now using Request.Form("...") does the job for the three inout boxes. But this method doesn't work for the textbox. In other words, I can't transfer the contents of the textbox (which should contain the body of the message) to the CDO email object. Is there a function to do this that I'm unaware of?
×
×
  • Create New...