smithj7,

On May 25, 2006, at 12:30 PM, smithj7 wrote:

> How is one to align images and assign properties like border= "0"?  Is
> it in a div?  I searched everywhere using css image property and so
> forth and found nothing so I'm guessing such stuff is done another  
> way.
The first thing to keep in mind is that you want to keep content and  
presentation of that content as separate as possible given current  
browser constraints.  So, the css goes in an external file and you  
use a css selector to 'target' the content on your page.  For  
example,  You have a myflorida logo in the upper left corner.  You  
can write a css selector like

#logo .floatleft img { border: 0; }

I'd suggest thinking about the content first.  Forget about how it  
looks and think about how the items group together on the page.  If  
the page makes sense with css turned off, you are more than half-way  
there.  After the html is close to final form, it is much easier to  
design the css selectors that will target the parts of the page  
efficiently.  Pick ids and class names the describe the content  
rather than describe how you want it styled.

> Also in one box I hope to align some text right and some text left.  I
> found on the list discussion page an example of doing this with a  
> link,
> but my text isn't a link.  Maybe this is not possible.
It doesn't have to be a link.  Any element will work fine.  Just pick  
the one that fits the content.

> The current page is http://dbs.myflorida.com/
> My tableless version is at http://dbs.myflorida.com/tablelessI.shtml

Roger,
-- 
Roger Roelofs
[EMAIL PROTECTED]



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to