by hitek
10 replies
  • WEB DESIGN
  • |
How is batter to use tables in webpage? I also try to use tables in a webpage same like a page on internet. But when I check its source code from internet. There was not tables. So which is the most perfect way to make structure of webpage?
#tables #webpage
  • Profile picture of the author adrianwinston
    Unfortunately that made no sense, after reading that, I don't know where to start? HTML/CSS? What?

    Edit:// one post and already have links in sig? There should be a rule a about that.
    {{ DiscussionBoard.errors[2518965].message }}
  • Profile picture of the author RyanRobinson
    Don't build a website using tables. Learn how to do it using DIV tags and make your website standards compliant.

    W3schools.org - xml php java html sql Resources and Information.This website is for sale!

    Visit that website above and learn HTML and CSS.
    {{ DiscussionBoard.errors[2519120].message }}
  • Profile picture of the author hitek
    I also find the DIV tag in a source code of a website. But I do not know how it will manage the alignment of objects like text & pictures. I am thing to do like to instructable.com home page.
    {{ DiscussionBoard.errors[2526772].message }}
    • Profile picture of the author mywebwork
      Originally Posted by hitek View Post

      I also find the DIV tag in a source code of a website. But I do not know how it will manage the alignment of objects like text & pictures.
      So what you need is a lesson in CSS (Cascading Style Sheets).

      Here is a link to the REAL W3 Schools: CSS Tutorial

      (Ryan, where on Earth did you get your link from? Thats just a dummy page full of affiliate links!!)

      Tables are not used to format sites, although there are zillions of examples where they do just that. Tables are for displaying tabular data. To position items you use a style sheet.

      The examples on W3 Schools (the real W3 Schools!) allow you to manipulate code in real time, which is a great way to learn. Highly recommended.

      Bill
      {{ DiscussionBoard.errors[2526826].message }}
  • Profile picture of the author hitek
    Thanks guy, it is really great article. There I was just reading following code:
    h1 {text-align:center;}
    p.date {text-align:right;}
    p.main {text-align:justify;}

    What is P here?
    {{ DiscussionBoard.errors[2533720].message }}
  • Profile picture of the author iamscottj
    I think its better to use CSS with DIV so as to make a virtual table kind of thing. Its definitely not recommended these days to create tables. Tables are hard to manage. You can easily get the code for doing it, simply search for Replacing Tables with CSS for Page Layout and you will find it easily.
    Signature
    Watch TV Shows Online

    Its beggars pride that he is not a thief.
    {{ DiscussionBoard.errors[2533780].message }}
  • Profile picture of the author phpbbxpert
    p is for paragraph, its a standard element look under HTML elements at W3CSchools

    p.date {text-align:right;}

    Is the CSS rule for a paragraph element with a class date
    {{ DiscussionBoard.errors[2533832].message }}
    • Profile picture of the author shanshan
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[2533944].message }}
      • Profile picture of the author hitek
        Thansk guys. Is there any program make the style sheet in just drop & drag or clicks? For example Ms FrontPage is used to make HTML page.
        {{ DiscussionBoard.errors[2538408].message }}
  • Profile picture of the author sweety4
    Div is easy to manage than table. And for alignment and all you can use CSS.
    {{ DiscussionBoard.errors[2538664].message }}
  • Profile picture of the author icun
    Thansk guys. Is there any program make the style sheet in just drop & drag or clicks? For example Ms FrontPage is used to make HTML page.
    Frontpage is the anti-christ of web design. Use Dreamweaver.
    {{ DiscussionBoard.errors[2541492].message }}

Trending Topics