Dynamic Border

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Birko
    New Member
    • Jun 2014
    • 3

    Dynamic Border

    Hi,
    being a complete newbie to html I am hoping someone can help answer this question...

    I am trying to edit a google site within a webpage content area which expands and contracts based on the browser width and height. The content area doesn't have a visible border when viewing the live page. So I added this code which gives me a border. The top and sides behave correctly but the bottom only goes as far as the text and not to the bottom of the frame.

    <div style="border:1 px solid grey">
    <div style="margin-left:10px;margi n-right:10px">

    The question is how do ammend this code to get this to stay at the frames extremity rather than where my text stops.

    Thanks Birko
  • Jennypliskin
    New Member
    • Sep 2013
    • 30

    #2
    To change SITE TEMPLATE, not PAGE template:

    (To TEST the procedure, create a new site called “YourNameAndSur nameBackwards” – “sdrawkcaBemanr uSdnAemaNruoY”. No one else will have that name and you will not want to use it ever again. Use the WRONG template when creating this TEST site. Then follow the procedure below to convince yourself that it works. Ultimately, delete the wrong site, and repeat the process with your real site.)

    Go over your whole web site, page by page and copy and paste ALL CONTENT FROM EVERY SINGLE PAGE AND SUB-PAGE into a word document. Save that on your computer.

    1. Go to Google sites
    2. Log in
    3. Click my Account
    4. Click Sites
    5. Click on name of site
    6. More Actions
    7. Manage Site
    8. General
    9. (scroll down page) Delete this site
    10. Delete
    11. Create new site
    12. Browse the gallery for more (under choose a template)
    13. Government and non-profits (my example)
    14. News Letter (my example)
    15. Select
    16. (Type in the name of site that you deleted)
    17. (Please type in the code shown)
    18. Create site

    Now you have a BLANK web site, with the new SITE TEMPLATE.

    Build new website content, using as guide the content you copied and pasted into a word document. If possible, copy and paste it into the new template site.
    1. Edit page
    2. etc.

    Comment

    • Birko
      New Member
      • Jun 2014
      • 3

      #3
      Thanks for your reply and appreciate your detailed response, but using that template will not perform the actions I require per my post. I want borders at the extremities of a content area. This template won't do that. I was hoping for some simple html code on top of what I have used to get my partial result.
      regards

      Comment

      • nomad
        Recognized Expert Contributor
        • Mar 2007
        • 664

        #4
        Try to add a min-height to it

        Code:
        min-height: 1275px;
        -nomad

        Comment

        • Birko
          New Member
          • Jun 2014
          • 3

          #5
          Thanks Nomad, perfect.

          Comment

          Working...