OK, so this really shouldn't be causing as much trouble as it is...but it is! :(
I have a table layout template, header, footer, side. Nice and simple.
Of course the default layout is cr@dotnet.itags.org.p when it inserts the table, so *all* I want to do is resize the table so everything is nice.
In fact, I want it to look like the preview picture when you create the damn thing!
I have tried absolute and relative sizes, but you change one, and the rest go out. Some won't resize, some will!
Is there some trick to laying out tables, that I don't know? What's the best method absolute or relative and can you mix them?
Help! It's driving me insane!Heheheh :)
Don't use tables for layout. Use CSS instead - you can avoid all this crap.
If all you want is a two column layout then it's easy - each component a <div> :
- Both columns float:left with a percentage width each
- Footer clear:both.
Couldn't be simpler :)
OK, so this really shouldn't be causing as much trouble as it is...but it is! :(
I have a table layout template, header, footer, side. Nice and simple.
Of course the default layout is cr@.p when it inserts the table, so *all* I want to do is resize the table so everything is nice.
In fact, I want it to look like the preview picture when you create the damn thing!
I have tried absolute and relative sizes, but you change one, and the rest go out. Some won't resize, some will!
Is there some trick to laying out tables, that I don't know? What's the best method absolute or relative and can you mix them?
Help! It's driving me insane!
Heh, that's why I've given up on table layouts. Maybe it is because I come from a desktop programming background and not a web developer background, but trying to get tables to look right drives me absolutely insane. If you are using VS 2005, there is a Basic Personal Website (or Starter Website or something like that it is called) sample that you can chose when you are creating a website. it is full of great stuff for helping to figure out things like master pages, skins/CSS, menus and sitemaps and anyways all sorts of useful stuff for righting ASP.NET 2.0.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment