www.webdeveloper.com
Results 1 to 2 of 2

Thread: Script results pop out of div

  1. #1
    Join Date
    Aug 2010
    Posts
    1

    Question Script results pop out of div

    I'm trying to make a prototype web site easier to edit by adding a simple Javascript navigation bar and footer to use on each page. The nav bar is a div that comes after a floated calendar, and before two floated column divs. The footer is abs pos at bottom. Everything works until the content within either div exceeds 2 lines. My nav bar uses 6 statements, but the result should visually fit within 3 lines. I've tried getElementById, and plain document.write statements.

    Then the div holding the longer result appears blank. To test this, I exchanged the scripts, and shortened the longer one. I'm sure it's a CSS problem-i probably have too much code.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    You will have to give the full document or link for us to help you.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles