Aidan,
Click in your table cell in either code or design view.
Look at the bottom of the design view, just above the properties panel. You
should see some of the main html tags around where you've clicked. The last
one will probably be the <td> for your selected cell.
Right click on that <td>. You'll get a menu. One of those things is edit
the tag or set class.
set class will give you a list of all the classes in the page or any
attached CSS.
edit will pop up a little box where you can type in any attributes for
that tag that you like...
;o)
BTW : I'm not sure that style="background...." is any better than
bgcolor="..." Its all hard coded styles....
If you create a CSS that you include in your pages, you can just select the
appropriate bit of your design and click on the class in the design panel to
apply the style.
Where I've got an object from a page in a seperate include, I just
temporarily include the CSS so I can apply the styles easily to the table
elements/text/whatever and then delete it when I'm happy. (IE will ignore a
misplaced CSS include, but NN will give you a 404 for the style sheet, so
make sure you remember to take them out)
Stephen
----- Original Message -----
From: "Aidan Whitehall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 9:59 AM
Subject: RE: [ cf-dev ] OT: Design view in DWMX
> I work with a similar file structure, and have been using ie preview
my
> pages, haven't tried using DWMX's Live Data View yet,
Okie, thx. Yeah, that's what I've been doing too.
<whinge>
I'm trying so hard to use it and like it, but can't help getting
frustrated. For example, in Design View, click a cell and specify its
class via simply typing it into a text box in the Properties panel. Can
you? Don't think so.... *shrug*
If you click a cell and then select Align Center, it wraps the cell's
contents in <div align="center"></div> instead of adding
style="text-align: center;" to the cell itself. Pick a cell and specify
it's background colour, it uses bgcolor="#xxyyzz" instead of using
style="background-color: #xxyyzz;" and it lets you apply font tags all
over the place -- it's like the Design element actively encourages you
to keep writing ugly, old HTML.
</whinge>
I'll go through the DWMX section in the Studio MX user guide over the
w/e. No doubt I'm being excessively harsh and just highlighting my lack
of product knowledge (and the fact that it's a Friday ;-)
--
Aidan Whitehall <mailto:[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd +44 (0)1695 51775
Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards>
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]