www.webdeveloper.com
Results 1 to 12 of 12

Thread: How to create a new website? Tables, frames, div tags

  1. #1
    Join Date
    Oct 2005
    Posts
    593

    How to create a new website? Tables, frames, div tags

    Howdy folks,
    Quick question, I am creating a new website and i would like to know... Should i use CSS and Div Tags to create this site because i hear this is the proper way of creating a site now? Before now, i have been using tables and frames...

    Fet

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,518
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Jul 2005
    Location
    USA
    Posts
    3,910

  4. #4
    Join Date
    Feb 2006
    Posts
    28
    Nog Dog your Subtlety proceeds you...!

    Basicly my friend there are webstandards to adear to & using tables & frames are not the way to do this!

    CSS & Div Tags are the future! stick to this way of design!

  5. #5
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,518
    Note: Don't succumb to "divitis", the over-use of DIV tags. You will likely need to use some, but if your content is sufficiently and correctly marked up with semantically meaningful HTML tags (headings, paragraphs, ordered and unordered lists, definition lists, etc.) you'll probably have 95% or more of the "handles" you already need for your CSS styling. I often see something like this in beginners' attempts at using CSS:
    HTML Code:
    <div id="head">
    <h1>This Is the Title</h1>
    </div>
    This can be styled just as easily with
    HTML Code:
    <h1 id="head">This Is the Title</h1>
    (In fact, if you plan to only use one H1 tag on the page, you don't even need the id="head" part.)
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  6. #6
    Join Date
    Feb 2006
    Posts
    28
    the dog hit the nail on the head there spot on!!!!!

  7. #7
    Join Date
    Feb 2006
    Posts
    10
    If you do not use an ID for the h1 title, can you apply css postioning to the h1 element?
    I suppose I can try just as easy as ask, but I thought others might need to know.

  8. #8
    Join Date
    Feb 2006
    Posts
    10
    The answer is yes, I combined by #title and h1 from my css into

    H1 {
    font-family:Arial, Helvetica, sans-serif;
    font-size:1.2em;
    color:#CC0000;
    font-weight:bold;
    position: relative;
    width:100%;
    text-align:center;
    margin:0 0 25px 0;
    }

    And it works the same. Now I have to go back and see what else I can consolidate.

    Thanks dog.

  9. #9
    Join Date
    Feb 2006
    Posts
    28
    Oh its great how we can talk to our selfs on here & not seem insaine!!!! LOL

  10. #10
    Join Date
    Dec 2005
    Location
    American, living in Toronto, ON. CANADA
    Posts
    6,746

    *smile*

    Quote Originally Posted by NogDog
    That is still one of the most remarkable & fun URLs out there, folks, and it's always a good read (or, re-read!)!
    Joel

  11. #11
    If you are new in web designing, this article might help you in creating a new website: http://www.webhostingsuggestion.com/...w-website.html

  12. #12
    Join Date
    Aug 2013
    Posts
    6
    NogDog you have shared a very good link.
    I was visiting there and found it very helpful and this forced me to say a thanks to you. I am new to the forum and quite satisfied with its usefulness.
    Thanks a lot to share such good information.

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