View Full Version : external style sheet question
11-13-2009, 06:51 PM
Is there a way where i can make the height code to say auto if over 500px if not 500px? Thanks
11-13-2009, 06:54 PM
Check out min-hieght (http://www.w3schools.com/CSS/pr_dim_min-height.asp)
11-13-2009, 07:06 PM
Then use a conditional comment to load a style sheet only for ie6 that has
ie6 can't do min-height, but it treats height almost the same as min-height should be treated (making the height 500px but still allowing it to grow if its contents flow longer than that). So we give the height:500
only to ie6.
This should work but it depends on where the div is in relation to other elements on the page and getting height to work as it should can be really tricky.
Edit: Oops, I guess I was typing while Excavator was posting..
11-13-2009, 07:13 PM
11-13-2009, 07:36 PM
Have you seen that on a wider resolution?
If you move that closing tag for #container down to enclose your ap sidebars they will take their positioning from #container instead of the body.
Like this -
3. Once you approve your design, we'll program the page for you.
<p><a href="testimonials.html">See what our clients</a> have to say about our expertise in all of these services. </p>
<p>Please contact us today and schedule a free website consultation to take your search engine marketing to the next level!</p>
<!-- end #footer -->
<address>Pinellas Website Design, Inc. Copyright © 2009. All rights reserved</address>
/*removed closing tag*/
<h1>Web Design </h1>
<p> Every great website starts with a great design. At Pinellas Website Design, we don't just design a website for you, we design your website, capturing the essence of who you are as a company.</p>
E-Commerce Web Design</h1>
<p>A website with an appealing design is good, but a website that goes to work for you is even better. Create a cost-effective platform to sell your products anywhere in the world.</p>
Search Engine Optimization (SEO) </h1>
<p>You have a website, you like how it looks, and you like what it does, but how do you get your potential customers to find it? Successful search engine optimization ensures your site is in the right place at the right time.</p>
<p>Finding a Web Designer can be a daunting task. Luckily our company was fortunate enough to find the perfect designers at Pinellas Website Design. </p>
<p>The insight and assistance you provided proved invaluable to us. The website not only turned out beautifully but has assisted to improve our clientele and boost our business sales. <br>
<p>When needing a Web Designer in the future, there is no other company I would rather work with. Thank you for everything!<br>
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel"> </div>
<!-- end #container --></div>
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.