| View previous topic :: View next topic |
| Author |
Message |
charcham
Joined: 04 Nov 2005 Posts: 4 Location: Canada
|
Posted: Fri Nov 04, 2005 2:24 pm multi font size and editing rows after new cell added |
|
|
|
I'm managing a large table of names in alphbetical order. When a new entry is done all the opening and closing row tags have to be redone manually. Is there a way of doing this automatically? Each name within a cell is linked to a website.
Also within the cell is a first name and surname..........different font size for each. Size 1 for first name and size 2 for surname along with different color code for surname. In order to reduce filesize what would your suggestions be on how to code table fonts. Face is Arial in both cases.
Much thanks for your help.......... |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8256 Location: Castle Rock CO USA
|
Posted: Fri Nov 04, 2005 5:22 pm |
|
|
|
How are you managing this? Just HTML or are you using a server side language like ASP or PHP? |
|
charcham
Joined: 04 Nov 2005 Posts: 4 Location: Canada
|
Posted: Sat Nov 05, 2005 9:02 am |
|
|
|
Hello Corey,
Am using HTML and have not yet worked with CSS..........
url is http://www.abacom.com/chacha/gardenHybridC.htm
Was thinking maybe Dreamweaver or CSS may handle this page differently. The manual work is not that difficult but frustrating at times.
Charlotte |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8256 Location: Castle Rock CO USA
|
Posted: Sat Nov 05, 2005 2:31 pm |
|
|
|
| CSS will handle part of it but a server side language will help you display the data from a database into your tables (since tables were meant to display tabular data) |
|
charcham
Joined: 04 Nov 2005 Posts: 4 Location: Canada
|
Posted: Sat Nov 05, 2005 3:15 pm |
|
|
|
Thanks Corey.......I'm studying CSS and will first work on font statements. Not presently familiar with any server side languages. I have converted a database to html but don't think that's what you mean. Will have to take a course and study this winter. Guess there's no quick fix!
Charlotte |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8256 Location: Castle Rock CO USA
|
Posted: Sun Nov 06, 2005 7:55 am |
|
|
|
| Sounds good. It will serve you a lot better since some of the HTML tags are now even deprecated |
|
charcham
Joined: 04 Nov 2005 Posts: 4 Location: Canada
|
Posted: Wed Nov 09, 2005 6:02 am |
|
|
|
Hi Corey,
Have put a full day into CSS and think I'm getting the hang of it. Was able to create an external stylesheet to replace by older body statements but would really like to know:
1) Since I'm updating an existing site, can I do this in increments mixing both CSS and HTML 3.2 ?
2) You mentioned that the old inline font statments have been deprecated......how long do you think that browsers will be backward compatible? Is this an emergency to update one's existing site asap?
3) I like that P,H1-H6 can be programmed to font size etc but they include an automatic line break. I can't figure how to change font attributes other than keeping my old code in place. The webpage has different size fonts. I'd love to have just enclosed them in an H6 tag but want the code to stay on same line. Any suggestions? Has BR also been deprecated? Can't see it in CSS code so far?
4) Is my external code right so far?
-------------------------------------------------------------------------------
body { background: #ffd68f; background-image: url(weave.jpg) ; }
{
font-family: arial, helvetica, sans-serif;
font-size: medium; color: #000000;
}
A:link { font-size: medium; color: #000000; }
A:active { background: #0000ff; color: #ff0000; }
A:visited { color: #000000; }
---------------------------------------------------------------------------------
What I really like about CSS so far is that I can set fonts in tables. Am thinking it's easier to start a new site in CSS rather than upgrade an existing one. Back to the books - and thanks.
Charlotte |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8256 Location: Castle Rock CO USA
|
Posted: Wed Nov 09, 2005 10:04 am |
|
|
|
HTML 3.2? I would seriously consider upgrading to at least 4.0. Remember - try to keep HTML / CSS in lower case. This way, when you do finally "upgrade", you will be fine.
As far as backwards compatibility, I doubt anyone even knows. I would recommend though keeping everything as up to date as possible.
<br> is used to create a carriage return. You do not need <br> in CSS.
For the header tags, you can use something like
| Code: |
h2
{
font-size: 14px;
color:#000080;
margin:0
}
h3
{
font-size: 14pt;
font-family: "BankGothic Md BT", Verdana, Arial, Helvetica, sans-serif;
color:#000080;
font-weight:bold;
margin:0
}
h4
{
font-size: 12pt;
font-family: "BankGothic Md BT", Verdana, Arial, Helvetica, sans-serif;
color:#000080;
font-weight:bold;
margin:0
} |
As far as your external style sheet, you clode the body on the first line so the font-family and the font-size - well it does not know where to be applied.
With your pseudo-classes, there is a specific way they need to be:
| Quote: |
a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!!
a:active MUST come after a:hover in the CSS definition in order to be effective!! |
|
|
|