This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Controlling Page Layout

 
Steve Dyke
Ranch Hand
Posts: 1642
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: 65113
89
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