PDA

View Full Version : Different fonts, colors and sizes in cells?


Scrif
02-12-2012, 07:27 PM
All,

I created a website in fireworks, sliced it, then exported to Dreamweaver.

Its all tables (I know, I know, CSS is king). So I have text in one cell, that I want to be big and orange, but when I change that all the text in the other cells changes to the same color and font. How do I make text in cells be different from eachother in Dreamweaver?

Thanks

AmeJane
02-12-2012, 11:15 PM
give the special cell a class, then define the class with css

Scrif
02-12-2012, 11:24 PM
Thanks - I will try that.

But from what you suggest, does that mean if you create a table with 2 columns and 2 rows, that every cell in that table (4 cells to be exact) will have to have the same font attributes unless you use CSS?

AmeJane
02-12-2012, 11:54 PM
check the code on this page: http://www.rychlakpowersystems.com/MEETRESULTS/NJ12.html

each td has a class applied (left over from an excel file)

they all do not have to have a class, only those that need the additional styling

domedia
02-13-2012, 07:35 PM
Great example that also shows a situation where tables are proper.