Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: shadow issue

  1. #1
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts

    shadow issue

    I have made a site with a shadow onit, but after reading another post, I am worried now that maybe I have done wrong to add a long margin on my shorter pages. Should I have used the min-height: 101%? www.seniors260.org a short page is www.seniors260.org/venue/venue_donations.html

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    What long margin are you referring to quartzy? On http://www.seniors260.org/venue/venue_donations.html I don't seem to find one.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts
    Sorry that is my mistake, on this page: www.seniors260.org/seniors/album.html I have a margin on the p tag,

    Code:
    <p class="margin">Content coming soon</p>
    p.margin {margin-bottom: 23em;}
    but I was thinking that maybe I should use the min height property instead, or is this OK

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    There's nothing wrong with a bottom margin on that p to act like some content for demonstration.
    You would probably remove that margin when you put something in there since some content will make that element expand.
    If you're just looking to make some height on the element then yes, height would be better.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    quartzy (02-26-2011)

  • #5
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts
    thanks ecav, I will keep it as it is. Until I get the content.


  •  

    Posting Permissions

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