Help with two (described as 57) problems

Reply

Join Date: Mar 2009
Posts: 3
Reputation: AntonioMontana is an unknown quantity at this point 
Solved Threads: 0
AntonioMontana AntonioMontana is offline Offline
Newbie Poster

Help with two (described as 57) problems

 
0
  #1
Mar 1st, 2009
So I'm such a poor coder, but I really need help. I think these are really easy to solve if you know what you're doing, and I guess some of you guys here know your way around HTML/CSS. So this is the thing, my site is http://twimfm.isgreat.org and when you try opening it in Mozilla Firefox and Internet Explorer, you get different results. This is what I would need: the embedded media player at the bottom should be aligned in the centre like in IE and the text problem is that "250 listeners" falls into the other line when it should all be in one. I really don't know what I'm doing so if someone can fix this for me, I'd be ever grateful.

Link to problems
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 570
Reputation: Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough 
Solved Threads: 93
Murtan Murtan is offline Offline
Posting Pro

Re: Help with two (described as 57) problems

 
0
  #2
Mar 2nd, 2009
The 'link to problems' you give is to the w3.org validator for the site.

The first error listed is
Line 24, Column 21: document type does not allow element "div" here; assuming missing "li" start-tag.
The relevant section of your html is here:
  1. <ul>
  2. <li></li>
  3. <div id="texto1">****** | home | about | contact | ******</div>
  4. </ul>

The error says that the div should be 'inside' the li...like this:
  1. <ul>
  2. <li>
  3. <div id="texto1">****** | home | about | contact | ******</div>
  4. </li>
  5. </ul>
The indentation and line breaks are not required, but your document seems to be using them.


Line 33, Column 29: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag. is complaining about the <div> inside the <p>
  1. <p>Up to <div id="texto3">250</div> listeners! <div id="texto2">(NEW)</div></p>
I'm not sure what your intent was, but because the div is inside the p, you get the line break. Would a <span> work?

The error list also refers you to an article about embedding flash movies here

Though this doesn't seem to apply directly in this application.

The code to embed the player is at the end of the html. You have the player embedded in a table inside of a div. The table specifies align="center" which appears to center the control in IE, but is not centering it in Firefox. I'm not sure what the problem is, when I removed the <OBJECT> and replaced it with text, it appears to center properly.

You do have an extra set of </td></tr> in the table... it doesn't seem to make any difference with text in there.

Actually, its funny...when I load the page locally, the control centers in Firefox, but not when I access the site.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 3
Reputation: AntonioMontana is an unknown quantity at this point 
Solved Threads: 0
AntonioMontana AntonioMontana is offline Offline
Newbie Poster

Re: Help with two (described as 57) problems

 
0
  #3
Mar 2nd, 2009
You see, I totally suck in doing the codes, as I'm a WYSIWYG user. I see it's a piece of cake for you, but you have to know I'm very very thankful, Murtan. Again, thank you!
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 3
Reputation: AntonioMontana is an unknown quantity at this point 
Solved Threads: 0
AntonioMontana AntonioMontana is offline Offline
Newbie Poster

Re: Help with two (described as 57) problems

 
0
  #4
Mar 2nd, 2009
Except I didn't really understand what did you modify the last (embed) code to.. if you could post that part of the code like you did, because I tried removing object and it seems just to go a bit more to the center, but not fully, still looks like it's aligned to left...

(sorry if I'm a pain in the...)
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 570
Reputation: Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough 
Solved Threads: 93
Murtan Murtan is offline Offline
Posting Pro

Re: Help with two (described as 57) problems

 
0
  #5
Mar 2nd, 2009
I just pulled the object out...
  1. <div class="clear">
  2. <!-- begin embedded WindowsMedia file... -->
  3. <table border='0' cellpadding='0' align="center">
  4.  
  5. <tr>
  6. <td>
  7. -Player Goes Here-
  8. </td></tr>
  9. <!-- ...end embedded WindowsMedia file -->
  10. </table>
  11. </div>

And it worked when I had Firefox load the local file, I don't have a convenient webserver that I could post it to for testing with an internet link.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC