how do I specify the properties of an element inside an element. Ok let me give you an example. I have a table, and I want all the images inside that table to carry a border. What would be the code for this? cheers, proxy.
Give the table an id attribute: <table id="tableihave"> Code (markup): Then, you can define the style rule for its images (usually in the <head></head>): <style>#tableihave img { border: 1px solid black; }</style> Code (markup): Does that help?
Don't forget that if you embed the stylesheet inside the HEAD element, you have to declare the type and attribute as well: <style type="text/css"> /* style rules go here */ </style> HTML: