Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About barryg

  • Rank
  1. It isn't about an image. Here's the answer I got from another forum: <div id="ai-div-news7"> is set to height 560px as is its parent div, but above #ai-div-news7 there is an <h2> that is forcing #ai-div-news7 down. Changing <div style="float: right; width:517px; height:560px; margin-bottom: 2em;"> to <div style="float: right; width:517px; margin-bottom: 2em;"> fixes the problem. Apparently the Div pushed down the iframe's content. When I take away a specific height, it allows the div to set its own height. I understand some, but not all of it.
  2. 0 down vote favorite Hello! I am trying to style this page: http://techno-french.com/french-news-room and for the life of me, I cannot figure out why the H1 heading, Learn French Online Free with Mots de L’actu is partly obscured by the right floated div above it. I have tried putting 2em of bottom margin on the Div above, and then tried putting top margin on the Div containing the Heading. It works fine in Dreamweaver outside of Wordpress so I suspect the CSS is right, but inside of Wordpress, the heading slips under the Div above it. It
  3. Hadien, I think I've got it to work, and it's just what I wanted. Thanks so much for sticking with me. I know I'm way over my head and probably shouldn't even be wasting this forum's time, but instead of telling me to go read a book, you helped me. Thanks again! Barry
  4. Sorry to ask for help then disappear. I appreciate your help. I put all of what I thought I understood of what you said into Dreamweaver and hit the "LIVE" button, but it didn't work. Can you check my code, below, and tell me what I've done wrong? <!DOCTYPE html><html><head><script src="http://ajax.googleap...1/jquery.min.js"></script><script>$(document).ready(function(){ $(".collapsible").click(function(){ var button = $(this); //goes to the buttons parent (the div) and // adds the hidden class if its not there
  5. Hello! I have posted about this topic on Stack Overflow, but the responses I get seem to be a tad above my head, and I think they get impatient with my rudimentary knowledge. I'd like to post my question here, as a student and see if I can get an answer: What I want is to toggel two different passages one in French and one in English from hidden to visible. Here's the blog entry I'm talking about; http://techno-french.com/learning-french-online-free/learn-french-with-mouse-trap-dictee I would like to separately hide or show either the French or the English passage. Here's wh
  6. This works fine (got it from the site tutorial, in fact):<CODE><script type="text/javascript">var i=0;for (i=0;i<=5;i++){document.write("The number is " + i);document.write("<br />");}</script></CODE>But when I try to set the upper limit of the loop to the allTags array (and I'm getting this from a Lynda.com class, entitled Essential Javascript), it fails:<CODE><html><body><script type="text/javascript">var i=0;var allTags = document.getElementsByTagName("*");for (i=0;i<allTags.length;i++){document.write("The number is " + i);document
  • Create New...