SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast Mary_Itohan's Avatar
    Join Date
    Dec 2004
    Location
    e-Planet
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    learning HTML how do I create a table or box section

    Hello,
    I was reading an article on the internet and have been using tables design my websites.

    However this article advises not to use them. http://webdesign.about.com/od/layout/a/aa111102a.htm ( one of the reasons being, it doesnt support good SEO )

    So how do I create a section such as A BOX WITH ROUNDED EDGES ??? e.g. this forums, are enclosed in a box/table like with rounded well formatted edges

    In the past I used to add a table/table(s) and format it with css such as

    .MyTable
    {
    width: 98%;
    background-color: #FFFFFF;
    margin: 20px auto 0px auto;
    border: 1px solid #000066;
    border-radius: 8px 8px 8px 8px;
    vertical-align: 95%;
    height: 90%;
    }

    But without tables, how do i achieve this ?

    many thanks
    M
    KISS - Keep It Simple Stupid

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2012
    Location
    Scarborough, North Yorkshire, United Kingdom
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi M

    No you shouldn't use them for layout, only for tabular data.

    The old fashioned way was to use one or a series of images to create the box around a div.


    Some newer browsers can use CSS3 to achieve this without the need to create individual images:

    http://www.css3.info/preview/rounded-border/
    http://www.spiffycorners.com/sc.php?...ffff&fg=0a67e6

    This link thought shows how both are achieved by using the switch in the top right:

    http://cssround.com/
    Richard
    Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
    ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more

  3. #3
    SitePoint Enthusiast Mary_Itohan's Avatar
    Join Date
    Dec 2004
    Location
    e-Planet
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    many thanks, quite useful techniques.

    Funny I live down the road from you, in hull and always in Scarborough every now and then

    ta
    KISS - Keep It Simple Stupid

  4. #4
    SitePoint Zealot
    Join Date
    Jul 2012
    Location
    Scarborough, North Yorkshire, United Kingdom
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mary_Itohan View Post
    many thanks, quite useful techniques.

    Funny I live down the road from you, in hull and always in Scarborough every now and then

    ta
    Ha, small World.
    Richard
    Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
    ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more


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
  •