Style sheets

B

Bill Gee

I am still having trouble with CSS.
I would like to create styles for 2 horizontal lines: one is height 2
pixels; width 100% of window; color auto
The other is: height 1 pixel; width 75% of window; color: auto

I create the line. I right click and select Horizontal line properties. The
Properties box is displayed. I enter line1 in the class box. Name
normal.line1 style is displayed in the style box. I save all. When I look
for line 1 stle to apply to another horizontal line it is not available. The
line I created is now dislayed with a selected color not auto.

This is important to me because I use 2 lines and 2 tables continually but
seem to have no way of creating these 4 styles.

What am I missing or doing wrong? How can I save this to an external Linked
SS?

XP FP2002
 
C

clintonG

Try a class name that does not use dotted notation as a delineator.
That is, LineNormal1 instead of normal.line1.

Using an upper case letter for each word is called Pascal Case
and is a standard supported by the better developers. This is
also recommendation by Microsoft [1].

The smarter developers adopt that and related methodologies an
also learn to adopt their naming conventions by starting a
name with the 'noun' as the first word. Doing so supports
sorting by 'type' such as

LineNormal1
LineNormal2
LineNotSoNormal1
LineNotSoNormal2
....

The second most common methodology to delineate uses underscores
to separate the words

Line_Normal1
Line_Normal2

Finally, if you are going to be serious about CSS you absolutely
must check out Nick Bradbury's TopStyle [2]. Nick developed
HomeSite and is one of the most highly respected independent
developers and I hate his guts ;-)

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/


[1]
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconNamingGuidelines.asp
[2] http://www.bradsoft.com/topstyle/index.asp
 
M

Murray

Note that using underscores in class names will drop support for Netscape4x,
however....

--
Murray

clintonG said:
Try a class name that does not use dotted notation as a delineator.
That is, LineNormal1 instead of normal.line1.

Using an upper case letter for each word is called Pascal Case
and is a standard supported by the better developers. This is
also recommendation by Microsoft [1].

The smarter developers adopt that and related methodologies an
also learn to adopt their naming conventions by starting a
name with the 'noun' as the first word. Doing so supports
sorting by 'type' such as

LineNormal1
LineNormal2
LineNotSoNormal1
LineNotSoNormal2
...

The second most common methodology to delineate uses underscores
to separate the words

Line_Normal1
Line_Normal2

Finally, if you are going to be serious about CSS you absolutely
must check out Nick Bradbury's TopStyle [2]. Nick developed
HomeSite and is one of the most highly respected independent
developers and I hate his guts ;-)

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/


[1]
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconNamingGuidelines.asp
[2] http://www.bradsoft.com/topstyle/index.asp


Bill Gee said:
I am still having trouble with CSS.
I would like to create styles for 2 horizontal lines: one is height 2
pixels; width 100% of window; color auto
The other is: height 1 pixel; width 75% of window; color: auto

I create the line. I right click and select Horizontal line properties. The
Properties box is displayed. I enter line1 in the class box. Name
normal.line1 style is displayed in the style box. I save all. When I
look
for line 1 stle to apply to another horizontal line it is not available. The
line I created is now dislayed with a selected color not auto.

This is important to me because I use 2 lines and 2 tables continually
but
seem to have no way of creating these 4 styles.

What am I missing or doing wrong? How can I save this to an external Linked
SS?

XP FP2002
 
B

Bill Gee

Thanks
but...
The class name I used was line1. FP added the normal. to the name.
BillGee
clintonG said:
Try a class name that does not use dotted notation as a delineator.
That is, LineNormal1 instead of normal.line1.

Using an upper case letter for each word is called Pascal Case
and is a standard supported by the better developers. This is
also recommendation by Microsoft [1].

The smarter developers adopt that and related methodologies an
also learn to adopt their naming conventions by starting a
name with the 'noun' as the first word. Doing so supports
sorting by 'type' such as

LineNormal1
LineNormal2
LineNotSoNormal1
LineNotSoNormal2
...

The second most common methodology to delineate uses underscores
to separate the words

Line_Normal1
Line_Normal2

Finally, if you are going to be serious about CSS you absolutely
must check out Nick Bradbury's TopStyle [2]. Nick developed
HomeSite and is one of the most highly respected independent
developers and I hate his guts ;-)

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/


[1]
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconNamingGuidelines.asp
[2] http://www.bradsoft.com/topstyle/index.asp


Bill Gee said:
I am still having trouble with CSS.
I would like to create styles for 2 horizontal lines: one is height 2
pixels; width 100% of window; color auto
The other is: height 1 pixel; width 75% of window; color: auto

I create the line. I right click and select Horizontal line
properties.
The
Properties box is displayed. I enter line1 in the class box. Name
normal.line1 style is displayed in the style box. I save all. When I look
for line 1 stle to apply to another horizontal line it is not
available.
The
line I created is now dislayed with a selected color not auto.

This is important to me because I use 2 lines and 2 tables continually but
seem to have no way of creating these 4 styles.

What am I missing or doing wrong? How can I save this to an external Linked
SS?

XP FP2002
 
C

clintonG

Not an immediate answer but to refer you to use TopStyle [1]
which has the honorable distinction of being considered the
best in its class of CSS editors.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://www.bradsoft.com/topstyle/index.asp



Bill Gee said:
Thanks
but...
The class name I used was line1. FP added the normal. to the name.
BillGee
Try a class name that does not use dotted notation as a delineator.
That is, LineNormal1 instead of normal.line1.

Using an upper case letter for each word is called Pascal Case
and is a standard supported by the better developers. This is
also recommendation by Microsoft [1].

The smarter developers adopt that and related methodologies an
also learn to adopt their naming conventions by starting a
name with the 'noun' as the first word. Doing so supports
sorting by 'type' such as

LineNormal1
LineNormal2
LineNotSoNormal1
LineNotSoNormal2
...

The second most common methodology to delineate uses underscores
to separate the words

Line_Normal1
Line_Normal2

Finally, if you are going to be serious about CSS you absolutely
must check out Nick Bradbury's TopStyle [2]. Nick developed
HomeSite and is one of the most highly respected independent
developers and I hate his guts ;-)

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/


[1]
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconNamingGuidelines.asp
[2] http://www.bradsoft.com/topstyle/index.asp


Bill Gee said:
I am still having trouble with CSS.
I would like to create styles for 2 horizontal lines: one is height 2
pixels; width 100% of window; color auto
The other is: height 1 pixel; width 75% of window; color: auto

I create the line. I right click and select Horizontal line
properties.
The
Properties box is displayed. I enter line1 in the class box. Name
normal.line1 style is displayed in the style box. I save all. When
I
look available.
continually
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top