My biggest suggestion. Use an external stylesheet if you're not already! Makes it a heck of easier to change things.
You call the style sheet by putting in the following code into the head section of your page:
CODE
<link rel="stylesheet" type="text/css" href="path to your stylesheet.css" />
In your html put <div id="myfont">text text text</div> for individual and unique elements placed in a block (line-break after) or
<span class="myfont">text text text</span> for several items that use the same css and placed inline (no line-break after).
(As a general rule use id for unique items and class for things that repeat throughout the page. Use div for block elements and span for inline)
Your stylesheet.css would then contain:
CODE
#myfont {
font-family: Verdana, Arial;
font-size: 10px;
color: #ff0000;
line-spacing: 11px;
}
Use # for unique items or . for items used repeatedly. (generally # goes with id and . goes with class)
Whenever you change anything in your stylesheet it will be reflected on your page without having to change any of the html.
There’s a really excellent website at
http://www.cssbasics.com/ that can extend your knowledge of CSS.
There’s also some excellent info on positioning at
http://www.brainjar.com/css/positioning/ The WC3 has a page with lots of links for CSS:
http://www.w3.org/Style/CSS/learningHere’s a Google video on creating tableless CSS layouts:
http://video.google.com/videoplay?docid=-7403771606765531020 (it’s quite long so it will take a while to load. When it does, skip ahead to the 12 minute mark) but it has very good information
And
http://www.csszengarden.com/ is a site that demonstrates what you can do just by changing the stylesheet (without changing the html).
Oh and
http://www.oswd.org/ has pure CSS website templates free to download (I used these to help me get started with CSS).
I would send you to my own websites but as they also use Joomla, the use of tables might be confusing.
Let me know if you need any other help. I know how daunting css can be when you start out, but I have been using it for a while now to make complete css based websites and I would never go back!

Reply