CSS - Display Hidden Form
Hi Their..
I have an html page that contains a form named form1...i want to display another form when the button in form1 have submitted....It's a matter of (show/hide) html elements...Anyone can help..please. Thank you in Advance Similar TutorialsHi all, I have a table that contains regular numeric data. When the user clicks/hovers over each entry of the right most column, I would like to display a hidden div with some sort of description of that data. I would like this information to display to the immediate right of the last column of data, but not in the table itself. Any ideas? Thanks Hi, I'm currently trying to write a website that will look like this: http://andrew.estyles.com.au/website.jpg The website will be anchored to the top left of the screen and will stretch 100%. The main content area (light blue) must stretch vertically to fit the content, and the side bar (purple) must stretch to the same height as the main content area. What I want to do is let the user hide the side bar by clicking on a button on it (using Javascript). When they click the button, I want the side bar to shrink to about 10-20px in width (enough so that it's still there and you can click another button on it to show it). When the button is clicked to hide it, I want the main content area to move left and fill in the space where the side bar was (and similarly, I want it to move back to the right when the side bar is expanded) I'm having troubles figuring out the CSS to do this. Here's what I've got so far: HTML: Code: <div id="topBanner">Banner goes here!</div> <div id="menuBar">{{T_MENU}}</div> <div id="main"> <div id="leftBar">Side Bar</div> <div id="content">Main Content </div> </div> CSS: Code: /* GENERAL STYLES */ body { margin: 0px; } img { border: 0px; } /* END GENERAL STYLES */ /* top website banner */ #topBanner { width: 100%; height: 100px; background-color: #CCCCCC; border: 0px solid black; } /* bar containing the menu */ #menuBar { width: 100%; height: 20px; background-color: #666666; border: 0px solid black; } /* container for leftBar and content */ #main { width: 100%; background-color: #0000FF; background-image: url('../images/main_background.gif'); background-repeat: repeat-y; } /* left bar containing quick links etc */ #leftBar { float: left; width: 140px; padding: 5px; } /* main content area */ #content { font-family: Verdana, Ariel, Helvetica, Times New Roman; } Using that code, I get my side bar fine etc, it all works fine - but I'm not sure what I should be doing to hide it (I don't mean I don't know the javascript code to do it, I just mean I don't know what I actually need to modify in the divs). Also, you'll note that I'm using the faux column method described here to put in my side bar if that makes a difference. The image I am using is just 150px (size of my side bar) one colour on the left, and then another colour for the rest of it. So when I shrink the side bar, I need to adjust the background images too. So yeah, if anyone can send me in the right direction I'd appreciate it! Cheers. [edit] New question, see http://forums.devshed.com/css-help-...tml#post1377956 below for details. Thanks! --------- old question ------------ Hi, I'm trying to get some checkboxes aligned in a form that i'm creating. I can get it to work perfectly in Firefox, but not in IE6. In Firefox: In IE6: I don't care so much about the height/spacing issue as much as the left/right reversal. the relevant css(i think) is here Code: #application p {text-indent: 0px;} #application div.col1 {width: 50%; float: left;} #application div.col2 {width: 50%; float: right;} #application label { float: left; width: 70px; text-align: right; height: 2em; line-height: 2em; } #application .label_checkbox {width: 100%;} #application .label_checkbox p{ clear: both; float: none; position: relative; } #application .label_checkbox input { position: absolute; top: 1px; left: 1px; } #application .label_checkbox label { display: block; margin-left: 22px; text-align: left; width: 160px; } and relevant xhtml: Code: <div class="label_checkbox"> <div class="col1"> <p><input type="checkbox" id="ch" value="Classroom Helper" name="roles" /><label for="ch">Classroom Helpers</label></p> <p><input type="checkbox" id="lt" value="Literacy Tutor" name="roles" /><label for="lt">Literacy Tutor</label></p> <p><input type="checkbox" id="ta" value="Technology Assistant" name="roles" /><label for="ta">Technology Assistant</label></p> <p><input type="checkbox" id="ce" value="Campus Enrichment" name="roles" /><label for="ce">Campus Enrichment</label></p> <p><input type="checkbox" id="ote" value="One-Time Events" name="roles" /><label for="ote">One-Time Events</label></p> </div> <div class="col2"> <p><input type="checkbox" id="frn" value="Family Reading Night" name="roles" /><label for="frn">Family Reading Night</label></p> <p><input type="checkbox" id="rad" value="Read Aloud Day" name="roles" /><label for="rad">Read Aloud Day</label></p> <p><input type="checkbox" id="dd" value="Dictionary Day" name="roles" /><label for="dd">Dictionary Day</label></p> <p><input type="checkbox" id="gs" value="Guest Speaker" name="roles" /><label for="gs">Guest Speaker</label></p> <p><input type="checkbox" id="other" value="Other" name="roles" /><label for="other">Other</label></p> </div> </div> you can see the page at http://oaklandheroes.org/beta/application.php. Thanks for the help! Hi, If I place an input field or select box in a div and set the display to none - will that variable still be sent when the form is submitted? Thanks, Hi, I have a webpage with a 3 column layout using css. In the left column I have a form which takes input and relays it to another php script which either populates another form or produces output. I would like to control where the output of each form is displayed. With frames I just use the target command. Some of the output will be in the same div as the original form (if the output is a form) or in the middle column if it is an output of results. I have been told that javascript would accomplish this. Any thoughts? Thanks, R Haynes I recently relaunched our web site and, trying to stay with the times, use CSS as much as possible for layout purposes. The one place I still use a table for layout is in the top navigation bar, which includes a search form. I would like to eliminate the table and use CSS for styling the top navigation bar, but am not sure how. I want the pages to hold up in IE 5.0+, Mozilla, Netscape 6+, Firefox and Safari and to be tolerable in Mac IE 5.x - a tall order but manageable I think. Can this be done? Am I stuck with a layout table here? Any help is appreciated. You can see an example web page at: http://www.cambridgema.gov/~CDD/ The HTML is in the attached file. Hello! I've got a <div> inside a <form> which I show/hide when a user clicks on a show/hide link. That div holds several form options which I DON'T want to submit with the form when the div is hidden. At the moment, even when my div is hidden, the values within it are still being submitted with the form. Is it possible to / how do I - hide the div so any values enclosed in it do NOT get submitted along with the form? Thanks, regan. Hi all, I'm implementing a web form where the labels for each input will appear as the default value rather than having the actual label elements visible. The label elements themselves will still be present in the markup for accessibility. I want to visually remove the labels while still having them acknowledged by screen readers. I'm aware of the left-offset trick, but I've read several articles where it's suggested to simple set the labels to display: none with JavaScript after the DOM has loaded. This seems to assume that screen readers will ignore this, otherwise there you might as well just set them as display: none in the first place. Can anyone confirm that a screen reader will still acknowledge a label element if display: none has only been applied after the DOM load via JavaScript? Thanks! Hi Guys, I'm building some forms, and when they are submitted, I'd like to integrate a method that will fade out the screen a bit, and show an animated "processing" .gif. Basically when the "submit" button is pressed, the form is being submitted to it's destination. The page will hang on the form until the next page is ready to load. While it's hanging there after submitting, I'd like the screen to fade out, and display an image in the center of the screen. I'm hoping this can be achieved with CSS, as I try to use as little Javascript as possible. What's the best way to achieve this? I figure if anything a javascript "onsubmit" function will be a good start. Can the screen be faded with CSS? I am having trouble with the overflow: hidden; in IE6. I have a simple example. I have rewritten this to make it as simple as possible. [code] <html> <head> </head> <body> <div style="position:absolute; top: 100px; width:200px; z-index:1; bottom: 113px; overflow:hidden"> <img src="images/700/900-pixel-height-image.jpg"> </div> </body> </html> This simple page works fine in Firefox but in IE6 the overflow:hidden does not work. Why? I thought IE6 completely supported overflow. I've, thanks to you guys, almost solved all the bugs on my page, so i thought it was about time to make the DIVs hidden as their default setting. But this messes the image-script. try for you self on
Code: www.scalesmusic.dk/beta . When you open the 'Images' window the thumbnail-bar is positioned in the middle... it is supposed to be hidden in the top. See Code: www.scalesmusic.dk/picture.jpg to see how the window is supposed to look. Does anyone of you have an explanation. ...oh, and i still have a wird white line appearing i IE hey guys i have 6 hidden divs that onclick are shown. They look just how i want them on every browser except safari theres something wonky going on that i cant seem to figure out. you can see a screen shot he brendanperkinsDOTcom/pictures/ryan_works.jpg brendanperkinsDOTcom/pictures/ryan_nowork.png Code: /* Individual page divs (also in left column) */ .hidden-divs { position: relative; display: none; width: 387px; height: auto; border-top: 1px solid #dddddd; border-bottom: 1px solid #dddddd; font-size: 11px; line-height: 1.5em; padding-top: 10px; padding-bottom: 10px; } Code: <div id="main-nav"> <ul id="nav-higher" class="nav"> <!-- HOME --> <li><a class="trigger" rel="#header-6" onclick="return toggle_div('home-video', 'ryan_1');" href="#">Home</a></li> <li><div id="home-video" class="hidden-divs"></div></li> <!-- MEET RYAN --> <li><a class="trigger" rel="#header-5" onclick="return toggle_div('meet-ryan', 'ryan_2'); " href="#">Meet Ryan</a></li> <li><div id="meet-ryan" class="hidden-divs"> <p><strong>Ryan Porter</strong> has always believed that human potential is unlimited and that each individual possesses the power to create the life they want to live.<br /><br /></p> <p>He is the creator of the Make Your Own Lunch™ program, which has been developed to empower students with the 'ingredients' needed to create their individual success.<br /><br /></p> <p>Ryan is a full-time ambassador of the Make Your Own Lunch™ philosophy. His dedication to inspiring others is evident in his work. He is a successful youth speaker who is known for his entertaining stories and easy-to-understand principles and strategies. His refreshing approach to achieving success creates an extraordinary experience for his audiences.<br /><br /></p> <p>Ryan has spent his most recent years working for <a rel="external" href="http://www.whats-next.ca/">What's Next?... Transition Strategies</a> in Toronto, Canada. He has spoken to tens of thousands of people of all ages and at all stages of life and has been featured in different newspapers, magazines and on various television programs.<br /><br /></p> <p>His active presentation style has been called entertaining, engaging, inspiring, motivating, hilarious, unforgettable and Ryan's favorite, "AWESOME!"<br /><br /></p> <p>When not on stage, Ryan can usually be found on an airplane traveling to new places to create new life-defining experiences.<br /><br /></p> <p>From cliff diving in Hawaii and backpacking through Europe to shopping in the streets of Shibuya, Tokyo, or scuba diving in Honduras, Ryan knows what it means to create experiences and a life worth living.<br /><br /></p> <p>For more information on Ryan , subscribe to his always entertaining <a rel="external" href="http://twitter.com/lunch_buddy">Twitter</a> alerts or join him on <a rel="external" href="http://www.facebook.com/ryanspeaks">Facebook.</a></p> </div> </li><!-- END OF MEET RYAN --> <!-- PROGRAMS --> <li><a class="trigger" rel="#header-4" onclick="return toggle_div('programs', 'ryan_3'); " href="#">Programs</a></li> <li><div id="programs" class="hidden-divs"> <p><strong>Imagine having a school, conference or assembly full of focused, passionate students.</strong> Students who have a clear purpose and vision of what their future could look like. Imagine having students who were excited to be in their seats because they can see how being there will affect their future.<br /><br /></p> <p>Does this sound impossible? It isn't! Make Your Own Lunch™ can prove it!<br /><br /></p> <p><strong>Make Your Own Lunch™ is about one thing; DECISION.</strong> It's about the decision to actively create the exact life you want to lead. It's about deciding what you want to have, what you want to do, where you want to go and who you want to be.<br /><br /></p> <p>It has nothing to do with the actual preparation of food but everything to do with making a life that you are excited about living everyday.<br /><br /></p> <p>Make Your Own Lunch™ empowers young people to decide to create their future through experiences.<br /><br /></p> <p>There are a few different ways to get your portion of Make Your Own Lunch™<br /><br /></p> <h3>1. Make Your Own Lunch™ - Feast for All <br /><br /></h3> <h4>Keynote/Assembly Presentation (45-75mins)<br /><br /></h4> <p>Too many people go day-to-day living lives they don't want to be living. They work in jobs they can't stand, stick around in toxic relationships and give up on lives they used to dream about. It's time for you to become the gourmet chef of your life. It's time to block out all of those distractions, like the people tell you that your dreams aren't realistic and it's time to have the experiences of your lifetime!<br /><br /></p> <p>Make Your Own Lunch™ is all about deciding to create the life you “crave”. Is it going to University? Owning your own business? Traveling around the world? or all three? Through his hilarious stories and adventures, Ryan Porter will give you the "ingredients" needed to make the exact life you want to live while giving you a bunch of laughs along the way!<br /><br /></p> <h3>2. Make Your Own Lunch™ - Your Personal Menu<br /><br /></h3> <h4>Workshop (45 - 60mins)<br /><br /></h4> <p>This workshop has nothing to do with making a sandwich but everything to do with you deciding to create your own experiences and living a life that you love! In this workshop Ryan will show you 4 decisions you can make that will completely change the way you view your future. His outrageous escapades from Hawaii to Slovakia will have you laughing, learning and preparing to lead the life of your dreams. Stop living by someone else's menu and Make Your Own Lunch™.<br /><br /></p> <p>Additional breakout sessions are also available upon request. Please contact us with the details of your event for more information.<br /><br /></p> </div> </li><!-- END OF PROGRAMS --> <!-- BLOG --> <li><a rel="external" href="http://makeyourownlunch.com/">Blog</a><br /></li><!-- END OF BLOG --> <!-- REVIEWS --> <li><a class="trigger" rel="#header-3" onclick="return toggle_div('reviews', 'ryan_4');" href="#">Reviews</a></li> <li><div id="reviews" class="hidden-divs"> <div class="blurbwrap" id="review1"> <p class="blurb">“UH-MA-ZING!!! I laughed so hard that I think I sprouted a six-pack!”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/ben.jpg" alt="Review" /> <p class="img_id"><strong>Molly Somerville</strong><br />Idaho Business Professionals of America</p> <div class="blurbwrap" id="review2"> <p class="blurb">“...In a nutshell Ryan blew those kids away”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/ben.jpg" alt="Review" /> <p class="img_id"><strong>Misty Elliott</strong><br />Michigan Association of Student Councils and Honor Societies</p> <p><a onclick="return toggle_div('review_section2');" href="#">more..</a></p> <div id="review_section2" style="display: none;"> <div class="blurbwrap" id="review3"> <p class="blurb">“I cannot begin to tell you how much the students, the parents and the staff volunteers all LOVED Ryan and his message. It has been the most astounding feedback we have ever had about a speaker!”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/ben.jpg" alt="Review" /> <p class="img_id"><strong>Sara Gutowski</strong><br />Director of Programming, Michigan Youth Leadership</p> <div class="blurbwrap" id="review4"> <p class="blurb">“I cannot begin to tell you how much the students, the parents and the staff volunteers all LOVED Ryan and his message. It has been the most astounding feedback we have ever had about a speaker!”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/ben.jpg" alt="Review" /> <p class="img_id"><strong>Heaven Snowden</strong></p> </div><!-- review section 2 --> </div><!-- reviews --> </li><!-- END OF REVIEWS --> <!-- MEDIA --> <li><a class="trigger" rel="#header-2" onclick="return toggle_div('media', 'ryan_5');" href="#">Media</a></li> <li><div id="media" class="hidden-divs"> <h3>Client Resources<br /><br /></h3> <p>Click <a href="html/av-checklist.htm" class="ceebox" rel="800 500">here</a> for Ryan's A/V requirements and event checklist<br /><br /></p> <p>Click <a href="html/speaker-intro.htm" class="ceebox" rel="800 250">here</a> for Ryan's speaker introduction<br /><br /></p> <p>Click <a href="html/bio.htm" class="ceebox" rel="800 500">here</a> for Ryan's bio (to be used in your program, website, blog, newspaper, magazines etc.)<br /><br /><br /></p> <h3>Media Appearances<br /><br /></h3> <p>Ryan on the radio If the player does not work, click <a href="pdf/Radio_Interview.mp3">here</a><br /><br /></p> <p id="radio"><embed flashvars="valid_sample_rate=true&external_url=http://www.ryanspeaks.com/Radio_Interview.mp3" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" quality="high" src="http://www.odeo.com/flash/audio_player_standard_gray.swf"/><br /><br /></p> <h3>Photo Gallery <br /></h3> <p>Click images to enlarge..<br /><br /></p> <span><a href="images/media_photo1.jpg" class="ceebox"><img src="images/media_photo1_thumb.jpg" alt="Video Tag" /></a> </span> <span><a href="images/media_photo2.jpg" class="ceebox"><img src="images/media_photo2_thumb.jpg" alt="Video Tag" /></a><br /><br /></span> <span><a href="images/media_photo3.jpg" class="ceebox"><img src="images/media_photo3_thumb.jpg" alt="Video Tag" /></a> </span> <span><a href="images/media_photo4.jpg" class="ceebox"><img src="images/media_photo4_thumb.jpg" alt="Video Tag" /></a></span> </div> </li><!-- END OF MEDIA --> <!-- CONTACT --> <li><a class="trigger" rel="#header-1" onclick="return toggle_div('contact', 'ryan_6');" href="#">Contact</a></li> <li><div id="contact" class="hidden-divs"></div></li> <li><a href="http://vimeo.com/1239140" rel="vidbox 550 360" class="ceebox">Video</a></li><!-- END OF CONTACT --> <!-- LOGO, FOOTER --> <li> <img id="main_logo" src="images/logo.png" alt="Ryan Speaks Logo" /> <div id="footer_content"> <p>Contact Toll Free: 1.888.318.3530</p> <p>or email us at <a href="mailto:info@ryanspeaks.com"><strong>info@ryanspeaks.com</strong></a></p> <p><a rel="external" href="http://www.facebook.com/ryanspeaks"><em>Facebook</em><!--<img src="images/facebook.gif" alt="Facebook" />--></a><em> .+ </em><a rel="external" href="http://twitter.com/lunch_buddy"><em>Twitter</em><!--<img src="images/twitter.png" alt="Twitter" />--></a></p> <p>RyanSpeaks.com. All Rights Reserved.<a rel="external" href="http://designpilotonline.com"><strong>Website - Design Pilot</strong></a></p> </div><!-- Footer Content --> </li><!-- END OF LOGO FOOTER --> </ul> <div id="home" class="hidden-divs"></div> </div><!-- Main nav --> I have some drop-down menus that are hidden behind a flash movie. I have set the z-index way up to 6 on them, but they still stay hidden. Anybody have any ideas? http://www.husbandman.org/2baptist/ I have some hidden divs that on click they slide down under the link that was clicked. It works fine in firefox and ie, but in safari if you click it the first time it looks good, but when you click and close it and open it again the hidden div is off to the right i cant figure out why this is happening only in safari. this is the good one http://brendanperkinsDOTcom/ryangood.jpg this is the bad one http://brendanperkins.DOT/pic3.jpg this is the css im using Code: /* Individual page divs (also in left column) */ .hidden-divs { position: relative; display: none; width: 387px; height: auto; border-top: 1px solid #dddddd; border-bottom: 1px solid #dddddd; font-size: 11px; line-height: 1.5em; padding-top: 10px; padding-bottom: 10px; } .hidden-divs a:link, .hidden-divs a:visited { color: #4d4d4d; font-size: 14px; } and this is my html for the nav and hidden divs Code: <div id="main-nav"> <ul id="nav-higher" class="nav nav-higher"> <!-- HOME --> <li><a class="trigger" rel="#header-6" onclick="return toggle_div('home-video', 'ryan_1');" href="#">Home</a></li> <li><div id="home-video" class="hidden-divs"> <a href="readmore_home.htm" class="ceebox" rel="800 100 ajax">Why you are here</a> </div> </li> <!-- MEET RYAN --> <li><a class="trigger" rel="#header-5" onclick="return toggle_div('meet-ryan', 'ryan_2'); " href="#">Meet Ryan</a></li> <li><div id="meet-ryan" class="hidden-divs"> <a href="readmore_meetryan.htm" class="ceebox" rel="800 220 ajax">BIO</a> </div> </li><!-- END OF MEET RYAN --> <!-- PROGRAMS --> <li><a class="trigger" rel="#header-4" onclick="return toggle_div('programs', 'ryan_3'); " href="#">Programs</a></li> <li><div id="programs" class="hidden-divs"> <a href="readmore_programs.htm" class="ceebox" rel="800 400 ajax">Make Your Own Lunch™</a> </div> </li><!-- END OF PROGRAMS --> <!-- BLOG --> <li><a rel="external" href="http://makeyourownlunch.com/">Blog</a><br /></li><!-- END OF BLOG --> <!-- REVIEWS --> <li><a class="trigger" rel="#header-3" onclick="return toggle_div('reviews', 'ryan_4');" href="#">Reviews</a></li> <li><div id="reviews" class="hidden-divs"> <div class="blurbwrap" id="review1"> <p class="blurb">“UH-MA-ZING!!! I laughed so hard that I think I sprouted a six-pack!”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/Molly.jpg" alt="Review" /> <p class="img_id"><strong>Molly Somerville</strong><br />Idaho Business Professionals of America</p> <div class="blurbwrap" id="review2"> <p class="blurb">“...In a nutshell Ryan blew those kids away”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/mell.jpg" alt="Review" /> <p class="img_id"><strong>Misty Elliott</strong><br />Michigan Association of Student Councils and Honor Societies</p> <p><a onclick="return toggle_div2('review_section2');" href="#">more..</a></p> <div id="review_section2" style="display: none;"> <div class="blurbwrap" id="review3"> <p class="blurb">“I cannot begin to tell you how much the students, the parents and the staff volunteers all LOVED Ryan and his message. It has been the most astounding feedback we have ever had about a speaker!”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/my.jpg" alt="Review" /> <p class="img_id"><strong>Sara Gutowski</strong><br />Director of Programming, Michigan Youth Leadership</p> <div class="blurbwrap" id="review4"> <p class="blurb">“I have never had anyone make that much of an impression of me in only an hour!”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/loyalist.jpg" alt="Review" /> <p class="img_id"><strong>T.G.</strong><br />Loyalist College</p> <div class="blurbwrap" id="review5"> <p class="blurb">“Ryan gives inspiration on how you can chase your dreams and make them real!”</p> </div><!-- blurbwrap --> <img class="review1-pic" src="images/ffa.jpg" alt="Review" /> <p class="img_id"><strong>M.W.</strong><br />Wisconsin FFA</p> </div><!-- review section 2 --> </div><!-- reviews --> </li><!-- END OF REVIEWS --> <!-- MEDIA --> <li><a class="trigger" rel="#header-2" onclick="return toggle_div('media', 'ryan_5');" href="#">Media</a></li> <li><div id="media" class="hidden-divs"> <h3>Client Resources<br /><br /></h3> <p>Click <a href="html/av-checklist.htm" class="ceebox" rel="800 500 ajax">here</a> for Ryan's A/V requirements and event checklist<br /><br /></p> <p>Click <a href="html/speaker-intro.htm" class="ceebox" rel="800 380 ajax">here</a> for Ryan's speaker introduction<br /><br /></p> <p>Click <a href="html/bio.htm" class="ceebox" rel="800 500 ajax">here</a> for Ryan's bio (to be used in your program, website, blog, newspaper, magazines etc.)<br /><br /><br /></p> <h3>Media Appearances<br /><br /></h3> <p>Ryan on the radio If the player does not work, click <a href="pdf/Radio_Interview.mp3">here</a><br /><br /></p> <p id="radio"><embed flashvars="valid_sample_rate=true&external_url=http://www.ryanspeaks.com/Radio_Interview.mp3" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" quality="high" src="http://www.odeo.com/flash/audio_player_standard_gray.swf"/><br /><br /></p> <h3>Photo Gallery <br /></h3> <p>Click images to enlarge..<br /><br /></p> <p id="zip"><a href="images/images-download.zip">Click here to download images..</a></p> <span><a href="images/ryan1_media.jpg" class="ceebox"><img src="images/ryan1_media_thumb.jpg" alt="Video Tag" /></a> </span> <span><a href="images/ryan2_media.jpg" class="ceebox"><img src="images/ryan2_media_thumb.jpg" alt="Video Tag" /></a><br /><br /></span> <span><a href="images/ryan3_media.jpg" class="ceebox"><img src="images/ryan3_media_thumb.jpg" alt="Video Tag" /></a> </span> <span><a href="images/ryan4_media.jpg" class="ceebox"><img src="images/ryan4_media_thumb.jpg" alt="Video Tag" /></a></span> </div> </li><!-- END OF MEDIA --> <!-- CONTACT --> <li><a href="html/contact-form.php" class="trigger ceebox" rel="800 500 ajax" onclick="return toggle_div2('ryan_5');">Contact</a></li> <li><a href="http://vimeo.com/1239140" rel="550 360" class="ceebox">Video</a></li><!-- END OF CONTACT --> <!-- LOGO, FOOTER --> <li> <img id="main_logo" src="images/logo.png" alt="Ryan Speaks Logo" /> <div id="footer_content"> <form id="mailing_list" method="post" action="http://www.emailmeform.com/fid.php?formid=177854" enctype="multipart/form-data" accept-charset="UTF-8"> <p id="click_to_join">Click JOIN to receive Ryan's inspiring monthly newsletter</p> <p><input type="text" name="FieldData0" value="" maxlength="100" size="30" /></p> <p><input id="mailinglist_submit" type="submit" class="btn" value="Join" name="Submit" /></p> </form> <p>or email us at <a href="mailto:info@ryanspeaks.com"><strong>info@ryanspeaks.com</strong></a></p> <p><a rel="external" href="http://www.facebook.com/ryanspeaks"><em>Facebook</em><!--<img src="images/facebook.gif" alt="Facebook" />--></a><em> .+ </em><a rel="external" href="http://twitter.com/lunch_buddy"><em>Twitter</em><!--<img src="images/twitter.png" alt="Twitter" />--></a></p> <p>RyanSpeaks.com. All Rights Reserved.<a rel="external" href="http://designpilotonline.com"><strong>Website - Design Pilot</strong></a></p> </div><!-- Footer Content --> </li><!-- END OF LOGO FOOTER --> </ul> This is working fine in FF, but IE ignores it. I have large bottom margin and large negative bottom padding contained in a wrapper with overflow set to hidden, to keep my columns the same length for different content, which seems to be ignored in IE. Other than that I'm pretty happy with the site, but I don't really know what I'm doing, so I don't really know what I'm doing wrong.. Can anyone help? Structure; Code: <div id="divBranding"> </div> <div id="divWrapper"> <div id="divSidebar"> </div> <div id="divContainer"> </div> </div> <div id="divFooterWrapper"> <div id="divInfo"> </div> </div> CSS for body; Code: body { width: 800px; margin-right: auto; margin-left: auto; } CSS for wrapper; Code: #divWrapper { overflow: hidden; *html overflow:scroll; display: block; } CSS for Sidebar; Code: #divWrapper #divSidebar { float: left; width: 198px; margin-bottom: -1999px; padding-bottom: 1999px; position: relative; } And CSS for Content; Code: #divWrapper #divContainer { float: right; width: 598px; margin-bottom: -1999px; padding-bottom: 1999px; position: relative; } And CSS for Footer Wrapper; Code: #divFooterWrapper { width: 800px; margin-right: auto; margin-left: auto; position: relative; clear: both; } I have 2 divs divs on a page displaying the report. On the first div, I have a form where the user can select the report options. On the second div, I simply display the options used to run the report shown on the page. Either one or the other div is shown on the page at a time. A user can click a button, which switches an inline style (style="display: none;") on the appropriate div. Now, when I print, I never want to show div #1. Easy enough, I just set up a print.css file and set display: none; for. However, I ALWAYS want div #2 to show, but I'm not sure how to handle that. I can't seem to use the same print.css file, because if the inline style is set to none for display, it doesn't show when printing. The only way it shows if if I actually have it showing on the screen when I hit the print button. Any ideas? Hopefully I am making myself clear. I am trying to build a menu that will load content either on the right of it or the left. I have looked for a tutorial on how to do this but am having no luck with the search engines. Here is a picture of what I would like to do. If anyone can assist me with this it would be very helpful. Or maybe even point me in the direction of a source. Thank you! Hi Folks This is my first post here, hopefully I'll keep to etiquette I'm always ready to be corrected if I step out of line. Anyway, I have an unusual problem I can't seem to solve. I am making a menu with drop downs using lists, I have it working in my HTML editor (CoffeeCup). When I try to view it in Firefox or IE7 the sub lists show and push the tabs I made to the side. Here is the CSS I'm trying to use, some I've taken from tutorials, some of my own (which is where the problem possibly lies) Code: /*1. Taken from http://www.sohtanaka.com/web-design/liquid-color-adjustable-css-buttons/ with thanks */ .btn { float: left; background: url(images/btn_left.png) no-repeat; margin: 5px 0; } .btn a{ float: left; height: 40px; width:100px; background: url(images/btn_stretch.png) repeat-x left top; line-height: 40px; color: #fff; font-size: 1em; text-decoration: none; padding-bottom:25px; padding-left:10px; } .btn span { background: url(images/btn_right.png) no-repeat; float: left; width: 10px; height: 40px; } .btn_home { background-color: #575757;padding-left:10px; } .btn_e1 { background-color: #575757;padding-left:10px; } .btn_e2 { background-color: #575757;padding-left:10px; } .btn_e3 { background-color: #575757;padding-left:10px; } .btn_e4 { background-color: #575757;padding-left:10px; } .btn_e5 { background-color: #575757;padding-left:10px; } .btn_home:hover { background-color: #DC134C; } .btn_e1:hover { background-color: #DC134C; } .btn_e2:hover { background-color: #FF00FF; } .btn_e3:hover { background-color: #DC134C; } .btn_e4:hover { background-color: #DC134C; } .btn_e5:hover { background-color: #DC134C; } /*End of 1*/ /*My random scrawlings*/ #navigation { height:35px; width:787px; position:relative; margin:0 auto 0 auto; z-index:100; } #navmenu, #navmenu ul { padding:0; margin:0; list-style-type:none; } #navmenu { margin:0; } #navmenu li { float:left; position:relative; text-align:center; } #navmenu li a, #navmenu li a:visited { width:101px; font-size:1em; font-family:Arial; height:16px; text-decoration:none; } #navmenu li li a, #navmenu li li a:visited { display:block; width:122px; color:#fff; height:15px; text-decoration:none; z-index:100; margin-left:-1px; } #navmenu li:hover > a { background-color:; color:#fff; text-decoration:underline; } #navmenu li li:hover > a { background-color:#DC134C; color:#fff; text-decoration:underline; } #navmenu li ul { display: none; } #navmenu li:hover > ul { display: block; position: absolute; top:0; left:203px; } #navmenu > li:hover > ul { left:0; top:35px; } /*End of my random scrawling*/ And here is the HTML I'm using the create my lists Code: <div id="navigation"> <ul id="navmenu"> <li class="btn btn_home"><a>Home</a><span></span></li> <li class="btn btn_e1"><a>Element 1</a><span></span></li> <ul> <li><a>Sub 1</a></li> <li><a>Sub 2</a></li> <li><a>Sub 3</a></li> <li><a>Sub 4</a></li> </ul> <li class="btn btn_e2"><a>Element 2</a><span></span></li> <ul> <li><a>Sub 5</a></li> <li><a>Sub 6</a></li> <li><a>Sub 7</a></li> <li><a>Sub 8</a></li> <li><a>Sub 9</a></li> </ul> <li class="btn btn_e3"><a>Element 3</a><span></span></li> <li class="btn btn_e4"><a>Element 4</a><span></span></li> <li class="btn btn_e5"><a>Element 5</a><span></span></li> </ul> </div> Any help in where I've been going wrong would be greatly appreciated. Thanks Dave Is there a way to have overflow content of a DIV hidden at the top of the DIV instead of the bottom? For instance, if I have a DIV that is 200px in height and the content within the DIV ("My top content ... my bottom content.") exceeds 200px: Code: <div style="height: 200px; overflow: hidden;"> My top content<br><br><br><br><br><br><br><br><br> My bottom content. </div> I want the "My bottom content." to always show at the bottom of the DIV, but the "My top content..." to be hidden. I hope this makes since. Thanks! -Chris |