www.webdeveloper.com
Results 1 to 4 of 4

Thread: css hiding oddities

  1. #1
    Join Date
    Nov 2002
    Posts
    411

    css hiding oddities

    on a temporary page i have on my site (www.siteprefect.com/), im using hidden div's to, well, hide bits of my page.

    They've worked for me in the past, but in this case it keeps hiding too much: when you click on the "click here to fill in a request form bit, the request form pops up nicely. However, when you hide it again, the bottom bit of the page dissapears unexpectedly.

    I use the same code (and functions) on the links at the bottom, but they dont hide or reveal any more than they should do.

    Any ideas as to where my mistake lies? Many thanks for any assistance
    John

  2. #2
    Join Date
    Nov 2002
    Location
    Hampshire, England
    Posts
    42
    Hi,

    I think you will find it will work if you add the full doctype with URI

    i.e.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    This now makes it work in IE6. It was already working in Mozilla 1.2 but Opera doesn't like it and you get no pop up at all.

    BTW what's this css it's new to me? style="display:all"

    I couldn't find that in my book! I took it out of your page and it made no difference at all.

    Also I think you are missing 2 closing div tags at the end of your code somewhere.

    Hope this helps.

    Paul

  3. #3
    Join Date
    Nov 2002
    Posts
    411
    ahh haa! Many thanks - the clear:all was a last ditch attempt to get it to stay visible!
    John

  4. #4
    celebguy_dv Guest

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