www.webdeveloper.com
Results 1 to 7 of 7

Thread: Div?

  1. #1
    Join Date
    Feb 2004
    Posts
    2

    Div?

    I have made a layout for my website and I have to make an html code. I have studied an already made one and I am having one problem. I dont know how to get my text where I want it. I asked somebody before and they mentioned something about DIV. I have no idea what this is or how to use it or if its even corrct. Could somebody please help me?

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    <div>text</div> its just a basic block element. Div stands for division. It is its own little block, independent of a table. www.bluerobot.com has layouts that have no tables and are just divs with css positioning them. View the source of some of them to an the idea of what I am talking about.

  3. #3
    Join Date
    Jul 2003
    Location
    Boston Area, Massachusetts
    Posts
    3,489
    Check out the CSS Zen Garden.

  4. #4
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222

  5. #5
    Join Date
    Feb 2004
    Posts
    2
    <div style="position:absolute; left:50px; top:72px; width:350px; height:517px; overflow:auto">

    what would this do? I am confused about the left:50px; top:72px; width:350px; height:517px; thing. They seem like some measurments...what do they mean?

  6. #6
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    that is a bit of css. They do just what they sound like! 50px from the left, 72 from the top, 350 wide, 517 high. Overflow auto would create a verticle scroll bar if the content is bigger then the div.

  7. #7
    Join Date
    Nov 2002
    Posts
    2,632
    http://www.webdevfaqs.com/css.php

    Go there for some basic CSS info. Read up on external CSS because that's where you will be defining your CSS at, or at least that's where you should define it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles