my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes Novice Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Novice Question" Watch "Novice Question" New topic
Author

Novice Question

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi all.
I'm not HTML pro, so I need some help.
what are these attributes mean :
colspan, rowspan ?
thanks.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

John,
Rowspan and colspan are attributes for an element of a table. If I want to have one cell take up multiple rows, I set the rowspan. If I want to have one cell take up multiple columns, I set the colspan.

Take a look at this example for graphics.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Novice Question