Results 1 to 2 of 2
Thread: Solve this line Problem?
May 27, 2011, 04:49 #1
Solve this line Problem?
I have added the line to the header.. see this page in IE..
New Page 1
The line below the search box, is showing in IE but not in other browsers. Why?
But in other browsers, when i saw source, it is showing the image URL.. but not showing in the browser..
Solve me this problem...
May 27, 2011, 10:32 #2
- Join Date
- Nov 2009
- Keene, NH
- 23 Post(s)
- 0 Thread(s)
Well, first off your lack of a doctype is going to leave IE in quirks mode, so it doesn't behave like every other browser out there.
Two, I don't know where you're learning HTML from, but it looks to be about fifteen YEARS out of date. Oh wait, HERE'S your problem...
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
Welcome to 1997. Not only is frontpage discontinued, attempting to use ANY WYSIWYG to build a page is just going to result in a broken page -- be it Frontpage, "Microsoft Web Expression" (which replaced Frontpage five years ago in their product line) or even the highly touted Dreamweaver.
Given that Dreamweaver is ranked head and shoulders over lesser WYSIWYGS like Frontpage, and a dearly departed friend still ended up saying "The only thing you can learn from Dreamweaver is how NOT to build a website" ... Imagine what's said about lesser programs like Web Expression or Frontpage.
To go down the list of "issues"
1) No doctype, IE in "quirks mode", no chance if it behaving like the rest of the world.
2) Windows-1252 character set... Welcome to 1995.
3) tables for layout.
4) presentational images in your markup.
5) non-semantic markup.
6) DIV instead of fieldset.
7) Invalid valign value -- there is no "baseline". People CALL it baseline, but the value is "bottom". (unless you are ONLY dealing with legacy IE)
8) Widths declared on TD that don't add up to the same value!!!
That last of those is likely a huge culprit as there's no way browsers are going to render that table the same way.
Your first TR's TD add up to 337px wide... your next TR is only 663 wide, and your final TR is 940px wide ... when they should all have the same value... Your use of rowspan on the first one... Ah, did you mean to put rowspan on the SECOND one as well? That MIGHT make sense...
NOT that said code makes any sense, but that's using a WYSIWYG for you. The HTML for a page like that would be more appropriately built thus:
To put it in the proper New England vernacular, "Ya cahnt geht theyah frum heeyah..."