Results 1 to 4 of 4

Thread: How do I align my component properly!

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    How do I align my component properly!

    Im currently struggling with my web application(webshop style), all user component and classes are done. Now it's time to align the components correctly on the page. I won't use frames under any circumstances.... so I thought I do it with tables. But the behave rather wierd... How can I lock a table for example?

    I have a basket component on the top <tr>. And it's a dataset with paging... put on a panel. And when I view the page in design mode everything works fine, but when the page is rendered there is tons of empty space under the web user control... with a result that the basket is occupying half the page...
    Is there a better way to solve this particular scenario? To align objects...


    kind regads
    Henrik

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    You need to learn how to use table attributes...such as height, and width of cells, rows, or the table itself.

    Start here:
    http://www.htmlgoodies.com/tutors/tbl.html

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602
    Well,,Im an experienced asp and php developer.. but when I migrated to asp.net it was suddenly much harder to align the controls (at least I experienced it harder)... Much I think because of the IDE... I prefer to set my table attributes in html mode where I have full control over them (old habit), and everything looks good, but all of a sudden when I run the project the alignments are all over the place. I use relative alignment, e.g. I use % when I set my table properties.. always have, always will...

    I will keep trying thanks for replying... good link!

    kind regards
    Henrik

  4. #4
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Agreed, I use realitive assignments also.

    The IDE doesn't always show them right. You need to run it to see the actual output.

    The IDE is seriously lacking in the HTML design respect. If they ever got to fixing this, they would probably be able to move a lot of those dreamweaver people over.

Posting Permissions

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



Click Here to Expand Forum to Full Width