Results 1 to 4 of 4

Thread: div or tables

  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default div or tables

    hi , i use to make template ,designing it , then i cut the designs into slices , then i use Microsoft Expression Web 2 to make the template using tables and some css
    but i find out that their is some other way not tables , but some professional way , so i am asking what is it and how to use it

  2. #2
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    i don't think there are junior way or professional way to make a layout in website, as long your web layout look good and all the function work, it's good right.
    I use table and css too, when making a layout

    beside the table and css, we can use frameset, but i still think table and css is better.

  3. #3
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    will , for example let me put some codes from joomla template
    PHP Code:
                        <div id="wrapper">
                        
                            <div class="wrapper-container-t">
                                <div class="wrapper-tl"></div>
                                <div class="wrapper-tr"></div>
                                <div class="wrapper-t"></div>
                            </div>
        
                            <div class="wrapper-b">
                                <div class="wrapper-l">
                                    <div class="wrapper-r">
                                        <div class="wrapper-bl">
                                            <div class="wrapper-br">
                                                <div class="wrapper-container">

                                                <?php if ($this->countModules('top + top-equal + top-goldenratio')) : ?>
                                                <div id="top">
                                                    <div class="floatbox ie_fix_floats">

                                                        <?php if($this->countModules('top')) : ?>
                                                        <div class="topblock width100 float-left">
                                                            <jdoc:include type="modules" name="top" style="yoo" />
                                                        </div>
                                                        <?php endif; ?>

                                                        <?php if ($pos $yootools->getModulePosition(array('top-equal''top-goldenratio'))) : ?>
                                                            <?php while ($param $yootools->renderModulePosition($pos)) : ?>
                                                                <div class="topbox <?php echo $param['width'].' '.$param['separator']; ?> float-left">
                                                                    <jdoc:include type="modules" name="<?php echo $param['name']; ?>" style="yoo" order="<?php echo $param['order']; ?>" />
                                                                </div>
                                                            <?php endwhile; ?>
                                                        <?php endif; ?>
                                                                            
                                                    </div>
                                                </div>
    you can see here "div id="wrapper"

    their is id for each Div which we can use i think for 3d party language like java c# or AJAX
    i don't know , i am just saying

  4. #4
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    i just think it's more difficult to place all of your frame at the right position, like the example you gave, than using the traditional way with table + css. But everybody have it's own style. thx for your information

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
  •