Submit Your Article Forum Rules

Results 1 to 2 of 2

Thread: Using tables to draw boxes

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    8

    Using tables to draw boxes

    Hi all,

    Ok I'm sure this is a very basic html design question here so please go easy on me. But... I've been working on this to the point of pulling out hairs and could use a quick bump in the right direction.

    I'm using tables to draw some borders around a main content module (www.greenlawphoto.com). Trouble is, I'm getting that pesky 1 pixel line of separation between my corner image and the vertical background image. If you go to the site you'll see what I mean, by looking at the gray'ish bar to the right of the menu.

    I should also note that I'm using tables because that's pretty much the backbone for these DotNetNuke skins -- I'm sure there's an easier way of doing it but I think I'm stuck using tables for the time being.

    Thanks in advance! (oh and ignore the color scheme, I'm in the process of changing it so the colors won't make sense)

    I put some code below so you can see how this all shakes out...

    Code:
    <td width="200" rowspan="1" align="right" valign="top">
                            <table border="0" cellspacing="5" cellpadding="0">
                                <tr>
                                    <td>
                                        [img]<%= SkinPath %>images/blank.gif[/img]</td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" display="vertical" usearrows="false"
                                            userootbreadcrumbarrow="false" rootmenuitembreadcrumbcssclass="rootmenuitembreadcrumb"
                                            submenuitembreadcrumbcssclass="submenuitembreadcrumb" rootmenuitemcssclass="rootmenuitem"
                                            rootmenuitemselectedcssclass="rootmenuitemselected" submenucssclass="submenu" /></td>
                                </tr>
                                <tr>
                                    <td align="center" width="176">
                                        [img]<%= SkinPath %>images/contact.gif[/img]
                                    </td>
                                </tr>
                                <tr>
                                    <td id="LeftPane" runat="Server">
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="22" align="right" valign="top" background="<%= SkinPath %>images/paneseperatorbg.gif">
                            [img]<%= SkinPath %>images/sepTop.gif[/img]</td>
                        <td width="570" rowspan="2" valign="top" background="<%= SkinPath %>images/panebg.gif">
                            <table width="570" border="0" cellspacing="0" cellpadding="0">
    [/code]

  2. #2
    Senior Member weslinda's Avatar
    Join Date
    Mar 2006
    Posts
    975

    Why not more css?

    Well, the first issue that you are running into is the fact that you are nesting a lot of tables in this page. Too many tables can cause a lot of fun.

    Why so much reliance on code at the page level, and not moving towards CSS for layout?
    We offer a total eCommerce solution with eCommerce Web Design using Pinnacle Cart

Similar Threads

  1. Can anyone help me draw up a data model?
    By Jskirt in forum Database Discussion Forum
    Replies: 4
    Last Post: 04-19-2010, 04:08 AM
  2. Sploggers Quick on the Draw
    By jmiller in forum eCommerce Discussion Forum
    Replies: 0
    Last Post: 08-22-2005, 09:31 AM
  3. Corel Draw Issues
    By grease in forum Graphics & Design Discussion Forum
    Replies: 4
    Last Post: 10-23-2003, 04:57 PM

Posting Permissions

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