SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Member
    Join Date
    Jan 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with frontpage

    Where in the HTML do I place this code when using Frontpage?

    Thank you!

    Quote Originally Posted by Paul O'B View Post


    Code:
    #site_body_container {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow:hidden;
        clear:both
    }
    That will fix chrome and safari

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,797
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Hi capete94,

    Welcome to Sitepoint.

    You really should have started your own thread as I doubt very much that you will find a use for that snippet of code from someone else's site.

    I'm sorry but I don't use frontpage so I don't know it's inner workings (except that everyone says to avoid it like the plague).

    The CSS actually goes in a CSS file and is attached to the document as explained in detail in the Sitepoint reference.

    I'm guessing that frontpage would have some options for you to add, attach and edit css files but you'll have to wait until a frontpage user comes along (which is why you should have started your own thread unless i've got the wrong end of the stick). In reality you should be learning to do this manually anyway otherwise you will never be able to fix any problems you run into.

    Perhaps you can clarify the question a little and explain why you think you need that snippet of code above.

  3. #3
    SitePoint Member
    Join Date
    Jan 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well I used to use Frontpage but now use Dreamweaver this was a site I originally built with Frontpage and I have to say, I really dislike front page now. That being said, I need to figure out what to do her site looks fine in Explorer but pull it up in Chrome or Mozilla and is runs off the page UGGG! How do I start a new thread?

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,797
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    I've moved this to a new thread for you

  5. #5
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,797
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    We'll need to see your code and a link to the site if possible with a clear description of the problem. You won't be able to post a link yet so leave off the http parts and obfuscate the .com part (e.g. dotcom not .com)

  6. #6
    SitePoint Wizard Blake Tallos's Avatar
    Join Date
    Jun 2008
    Location
    Cuyahoga Falls, Ohio.
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I need to figure out what to do her site looks fine in Explorer but pull it up in Chrome or Mozilla and is runs off the page UGGG!
    Sound's like your content is wider then your content container which makes it overflow.
    Blake Tallos - Software Engineer for Sanctuary
    Software Studio, Inc. C# - Fanatic!
    http://www.sancsoft.com/


  7. #7
    SitePoint Member
    Join Date
    Jan 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wwwmaltaangelsmaltesedotcom is the site I built the page with a table and the table is expanding too big when opened in chrome or Firefox

  8. #8
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, get rid of all the inline width="whatever%" in the HTML. You are setting way too many for me to go over all of them and figure out which one is causing this mess.

    You shouldn't be using tables to achieve this in the first place, and front page was so bad that even microsoft discontinued support for it.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  9. #9
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,797
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by capete94 View Post
    wwwmaltaangelsmaltesedotcom is the site I built the page with a table and the table is expanding too big when opened in chrome or Firefox
    Hi,

    That page is probably beyond repair as there are just too many errors to fix but that's probably not your fault as frontpage is renowned for this type of code.

    The main cause of the wide table is that the links at the bottom have been strung together using the nobr attribute and using non breaking spaces which menas that all this links have no option but to be in one long single line.

    Code:
        <nobr>Home</nobr>&nbsp;|&nbsp;<nobr><A HREF="Teacup_Maltese.htm" TARGET="" STYLE="{text-decoration: none;}">Teacup&nbsp;Maltese</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/pet_emergency_tips.htm" TARGET="" STYLE="{text-decoration: none;}">Pet&nbsp;911</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Puppies/index.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese&nbsp;Puppies</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Puppy/puppy_feeding.htm" TARGET="" STYLE="{text-decoration: none;}">Puppy&nbsp;Feeding</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Puppy/puppy_stages.htm" TARGET="" STYLE="{text-decoration: none;}">Puppy&nbsp;Stages</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Puppies/puppy_gallery.htm" TARGET="" STYLE="{text-decoration: none;}">Puppy&nbsp;Gallery</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Maltese_Care.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese&nbsp;Care</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Puppy/why_crate.htm" TARGET="" STYLE="{text-decoration: none;}">Why&nbsp;Crate</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Puppy/crate_training.htm" TARGET="" STYLE="{text-decoration: none;}">Crate&nbsp;Training</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Puppy/crate_traning_guidelines.htm" TARGET="" STYLE="{text-decoration: none;}">Crate&nbsp;Training&nbsp;Guide</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Puppy/crate_training_tips.htm" TARGET="" STYLE="{text-decoration: none;}">Crate&nbsp;Tips</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Puppy/chewing.htm" TARGET="" STYLE="{text-decoration: none;}">Chewing</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Retirees/index.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese&nbsp;Retirees</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Champions/intro.htm" TARGET="_top" STYLE="{text-decoration: none;}">Champions</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Champions/Now%20Showing/index.htm" TARGET="" STYLE="{text-decoration: none;}">Now&nbsp;Showing</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="about_us.htm" TARGET="" STYLE="{text-decoration: none;}">About&nbsp;Us</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Links/index.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese&nbsp;Links</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Links/Vet_Info.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese&nbsp;Vet&nbsp;Links</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese%20Products/bling_bling.htm" TARGET="" STYLE="{text-decoration: none;}">Bling</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese%20Products/Pet_Urns.htm" TARGET="" STYLE="{text-decoration: none;}">Pet&nbsp;Urns</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese%20Products/Water_Bowls.htm" TARGET="" STYLE="{text-decoration: none;}">Water&nbsp;Bowls</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese%20Products/Fast_Track.htm" TARGET="" STYLE="{text-decoration: none;}">Fastrack</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese%20Products/Scamper_Ramp.htm" TARGET="" STYLE="{text-decoration: none;}">Scamper&nbsp;Ramp</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese%20Products/Oxy_Fresh.htm" TARGET="" STYLE="{text-decoration: none;}">Oxyfresh</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Grooming/index.htm" TARGET="" STYLE="{text-decoration: none;}">Grooming</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/maltese_tear_staining.htm" TARGET="" STYLE="{text-decoration: none;}">Tear&nbsp;Staining</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Dangerous_food_to_%20Dogs.htm" TARGET="" STYLE="{text-decoration: none;}">Dangerous&nbsp;Foods</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/first_aid.htm" TARGET="" STYLE="{text-decoration: none;}">First&nbsp;Aid</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Puppy/puppy_proof_part_1.htm" TARGET="" STYLE="{text-decoration: none;}">Puppy&nbsp;Proof</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese_Care/Maltese_Books.htm" TARGET="" STYLE="{text-decoration: none;}">Books</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="sitemap.htm" TARGET="" STYLE="{text-decoration: none;}">Site&nbsp;Map</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="AKC%20Information/limited_registration.htm" TARGET="" STYLE="{text-decoration: none;}">AKC&nbsp;Limited&nbsp;Registration</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="AKC%20Information/maltese_standard.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese&nbsp;Standard</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Champions/body.htm" TARGET="" STYLE="{text-decoration: none;}">Champions&nbsp;Intro</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="AKC%20Information/Show_Superintendents.htm" TARGET="" STYLE="{text-decoration: none;}">Superintendents</A></nobr>&nbsp;|&nbsp;<nobr><A HREF="Maltese%20Products/Maltese_Stuff.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese&nbsp;Stuff</A></nobr>

    Remove the spaces from those and the page will at least render normal width.

    Code:
        <nobr>Home</nobr> | <nobr><A HREF="Teacup_Maltese.htm" TARGET="" STYLE="{text-decoration: none;}">Teacup Maltese</A></nobr> | <nobr><A HREF="Maltese_Care/pet_emergency_tips.htm" TARGET="" STYLE="{text-decoration: none;}">Pet 911</A></nobr> | <nobr><A HREF="Puppies/index.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese Puppies</A></nobr> | <nobr><A HREF="Maltese_Care/Puppy/puppy_feeding.htm" TARGET="" STYLE="{text-decoration: none;}">Puppy Feeding</A></nobr> | <nobr><A HREF="Maltese_Care/Puppy/puppy_stages.htm" TARGET="" STYLE="{text-decoration: none;}">Puppy Stages</A></nobr> | <nobr><A HREF="Puppies/puppy_gallery.htm" TARGET="" STYLE="{text-decoration: none;}">Puppy Gallery</A></nobr> | <nobr><A HREF="Maltese_Care/Maltese_Care.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese Care</A></nobr> | <nobr><A HREF="Maltese_Care/Puppy/why_crate.htm" TARGET="" STYLE="{text-decoration: none;}">Why Crate</A></nobr> | <nobr><A HREF="Maltese_Care/Puppy/crate_training.htm" TARGET="" STYLE="{text-decoration: none;}">Crate Training</A></nobr> | <nobr><A HREF="Maltese_Care/Puppy/crate_traning_guidelines.htm" TARGET="" STYLE="{text-decoration: none;}">Crate Training Guide</A></nobr> | <nobr><A HREF="Maltese_Care/Puppy/crate_training_tips.htm" TARGET="" STYLE="{text-decoration: none;}">Crate Tips</A></nobr> | <nobr><A HREF="Maltese_Care/Puppy/chewing.htm" TARGET="" STYLE="{text-decoration: none;}">Chewing</A></nobr> | <nobr><A HREF="Retirees/index.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese Retirees</A></nobr> | <nobr><A HREF="Champions/intro.htm" TARGET="_top" STYLE="{text-decoration: none;}">Champions</A></nobr> | <nobr><A HREF="Champions/Now%20Showing/index.htm" TARGET="" STYLE="{text-decoration: none;}">Now Showing</A></nobr> | <nobr><A HREF="about_us.htm" TARGET="" STYLE="{text-decoration: none;}">About Us</A></nobr> | <nobr><A HREF="Links/index.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese Links</A></nobr> | <nobr><A HREF="Links/Vet_Info.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese Vet Links</A></nobr> | <nobr><A HREF="Maltese%20Products/bling_bling.htm" TARGET="" STYLE="{text-decoration: none;}">Bling</A></nobr> | <nobr><A HREF="Maltese%20Products/Pet_Urns.htm" TARGET="" STYLE="{text-decoration: none;}">Pet Urns</A></nobr> | <nobr><A HREF="Maltese%20Products/Water_Bowls.htm" TARGET="" STYLE="{text-decoration: none;}">Water Bowls</A></nobr> | <nobr><A HREF="Maltese%20Products/Fast_Track.htm" TARGET="" STYLE="{text-decoration: none;}">Fastrack</A></nobr> | <nobr><A HREF="Maltese%20Products/Scamper_Ramp.htm" TARGET="" STYLE="{text-decoration: none;}">Scamper Ramp</A></nobr> | <nobr><A HREF="Maltese%20Products/Oxy_Fresh.htm" TARGET="" STYLE="{text-decoration: none;}">Oxyfresh</A></nobr> | <nobr><A HREF="Grooming/index.htm" TARGET="" STYLE="{text-decoration: none;}">Grooming</A></nobr> | <nobr><A HREF="Maltese_Care/maltese_tear_staining.htm" TARGET="" STYLE="{text-decoration: none;}">Tear Staining</A></nobr> | <nobr><A HREF="Maltese_Care/Dangerous_food_to_%20Dogs.htm" TARGET="" STYLE="{text-decoration: none;}">Dangerous Foods</A></nobr> | <nobr><A HREF="Maltese_Care/first_aid.htm" TARGET="" STYLE="{text-decoration: none;}">First Aid</A></nobr> | <nobr><A HREF="Maltese_Care/Puppy/puppy_proof_part_1.htm" TARGET="" STYLE="{text-decoration: none;}">Puppy Proof</A></nobr> | <nobr><A HREF="Maltese_Care/Maltese_Books.htm" TARGET="" STYLE="{text-decoration: none;}">Books</A></nobr> | <nobr><A HREF="sitemap.htm" TARGET="" STYLE="{text-decoration: none;}">Site Map</A></nobr> | <nobr><A HREF="AKC%20Information/limited_registration.htm" TARGET="" STYLE="{text-decoration: none;}">AKC Limited Registration</A></nobr> | <nobr><A HREF="AKC%20Information/maltese_standard.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese Standard</A></nobr> | <nobr><A HREF="Champions/body.htm" TARGET="" STYLE="{text-decoration: none;}">Champions Intro</A></nobr> | <nobr><A HREF="AKC%20Information/Show_Superintendents.htm" TARGET="" STYLE="{text-decoration: none;}">Superintendents</A></nobr> | <nobr><A HREF="Maltese%20Products/Maltese_Stuff.htm" TARGET="" STYLE="{text-decoration: none;}">Maltese&nbsp;Stuff</A></nobr>
    I won't attempt to mention the other issues as there are far too many and would probably be unhelpful at this stage.


Bookmarks

Posting Permissions

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