Results 1 to 10 of 10

Thread: How can I make my website automatically fit into the browser?

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Posts
    15

    Exclamation How can I make my website automatically fit into the browser?

    Hello, using HTML, or JavaScript is there a way to make my website fit into my browser? I am frustrated with this, I even tried %'s but it just squishes everything up when the browser gets minimized, anyway thanks so much, I hope you help! .

  2. #2
    Join Date
    Apr 2008
    Location
    Chasing the Holy Grail - Pacific Northwest
    Posts
    1,312

    Default

    There are basically three ways to design a web site, fixed width, fluid, and elastic. Take a look at this screencast and get a better understanding on how they operate, along with the advantages and disadvantages of each one.

    http://css-tricks.com/video-screenca...elastic-width/

    Hope this helps you...
    In the Hyperion universe, a farcaster is an instantaneous transportation device.
    Experience: The thing you get just after you need it.

  3. #3
    Join Date
    Feb 2010
    Posts
    15

    Default Thanks but...

    That's CSS, I put in the code and it showed some plain text, and yes it fits into the browser, but only the text not the whole webpage, any other suggestions? thanks a bunch!

  4. #4
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,951

    Default

    Decide whether your pages are to be fixed, fluid, or elastic and then build the entire page to work that way.

  5. #5
    Join Date
    Feb 2010
    Posts
    15

    Default

    Soo, I should redesign my whole page into everything CSS so the code can properly work?

  6. #6
    Join Date
    Apr 2008
    Location
    Chasing the Holy Grail - Pacific Northwest
    Posts
    1,312

    Default

    When you design a web site, or even a single web page there are three basic tools that you use. The last one is optional.

    HTML - Used to create the content - what's on the page
    CSS - Used to create the style - how does everything look and the layout

    HTML and CSS are totally independent of each other. One does not require the other one. However, writing a bunch of CSS without any HTML to apply it to doesn't get you anything except a nicely styled blank page. Writing HTML without CSS get you content, but pretty ugly.

    Javascript can be used to create behavior of the page - a subject to master once you have a firm grasp of HTML and CSS.
    In the Hyperion universe, a farcaster is an instantaneous transportation device.
    Experience: The thing you get just after you need it.

Tags for this Thread

Posting Permissions

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