• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CSS Table/Row Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSS Table/Row Question


  • Subject: Re: CSS Table/Row Question
  • From: Mike Schrag <email@hidden>
  • Date: Thu, 5 Oct 2006 13:00:24 -0400

Actually, you can but you'd be a bad person for doing it :)

<table border = "1">
  <tr style = "height: 20px">
    <td style = "width: 200px">Test 1</td>
    <td style = "width: 400px">Test 2</td>
    <td style = "width: 100px">Test 3</td>
  </tr>
  <tr style = "height: 200px">
    <td>Test 1</td>
    <td>Test 2</td>
    <td>Test 3</td>
  </tr>
</table>

you can obviously specify class = ".." on them and do it properly in the css instead.

ms

On Oct 5, 2006, at 12:09 PM, Sacha Michel Mallais wrote:

On Oct 5, 2006, at 9:03 AM, Chip Myers wrote:

I'm trying to figure out the best way to create a CSS table to be referenced by one of my .wo files. The tables I'm trying to design have a width which varies per column, and if possible I'd like to reference my CSS file only when the table is first defined with the <table> tag, rather than every time I encounter a <tr> tag. The table looks like this:

____________________________________________
|____|_____________|________|________|_________|
|____|_____________|________|________|_________|
|____|_____________|________|________|_________|
|____|_____________|________|________|_________|
|____|_____________|________|________|_________|


Is it possible to define a table in a css file which already has its <tr><td> attributes defined, as in width and height? Also, is there any way to design and reference a css file through the webobjects builder GUI? I realize these are all beginner questions, but I'm very new to CSS design. If anyone has any direct advice, or just a helpful link, I'd really appreciate it.

A CSS forum is probably the best place to get your question answered, but I'll do my best.


AFAIK, there is no way to specify column widths in a table tag. I've never used it, but you could try using the col tag. See http:// www.w3.org/TR/html4/struct/tables.html.


sacha

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >CSS Table/Row Question (From: Chip Myers <email@hidden>)
 >Re: CSS Table/Row Question (From: Sacha Michel Mallais <email@hidden>)

  • Prev by Date: Re: CSS Table/Row Question
  • Next by Date: Re: CSS Table/Row Question
  • Previous by thread: Re: CSS Table/Row Question
  • Next by thread: Re: CSS Table/Row Question
  • Index(es):
    • Date
    • Thread