PDA

Click to See Complete Forum and Search --> : How do I align my component properly!


MrNorth
Feb 13th, 2004, 04:44 AM
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

hellswraith
Feb 13th, 2004, 11:01 AM
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

MrNorth
Feb 15th, 2004, 05:13 PM
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

hellswraith
Feb 15th, 2004, 05:19 PM
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.