Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Controlling Page Layout

 
Steve Dyke
Ranch Hand
Posts: 1616
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am really having a hard time trying to control the layout of my web page. I have used tables within tables to get some control but still not as good as I would like. The width of the tables within the tables seem to have their own mind which I cannot control.

I have little experiance with CSS. Can this be used to control placement of objects on the page?

Also if I have two tables on the page can I control one of them with one CSS and the other table with another CSS?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Steve Dyke:
I am really having a hard time trying to control the layout of my web page. I have used tables within tables to get some control but still not as good as I would like.
Except for the display of tabular data, tables have been pretty much abandoned as a page layout mechanism. CSS is better suited to the task. (Usually. Given IE's rather weak CSS implementation, sometimes, tables still rule the roost -- but that's only in exceptional situations.)

I have little experiance with CSS. Can this be used to control placement of objects on the page?
That's one of the primary purposes of CSS.

Also if I have two tables on the page can I control one of them with one CSS and the other table with another CSS?
Another CSS? That doesn't make much sense. That's like saying "another HTML". CSS is a technology, not a "thing".

If you meant to ask if styles can be separated into separate style sheet files, then yes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic