Re: I have a problem with this:

A

Adrienne Boswell

How do you keep up with all the different style names?

Also.. I thought it would be this

table.name {....style} or
table.td {......style} ?

Today I was trying to fix something.. the site added a subnav.ascx and
it worked for the entire site, but one page in the site is a different
doman that re-directs to the parent domain. It has it's own individual
design, but inherits the subnav.ascx page. The code in that page
worked on the entire site, except this domain page ... it has it's own
style sheet that overrides the default style. This style sheet had so
many different names and classes and lines of code on it, it took me
about 2 hours testing before I just finally removed about half the
code in the style sheet and then the separate domain page worked.. but
I had to code it's own subnav.ascx page and alter the code for it to
accommodate the various background color and other differences. It
was satifsying to finally fix it, but sheeesh.. if all the code would
have just been on the html page I could have figured it out in half
the time. That subnav.ascx page also have a picky script on it that
onMouseover had a popup box with a msg in it. It was a fun challenge,
tho. That's kind of what I do alot.. is figure out how to make things
works in an environment designed by a committee. LOL

I had this very issue when I first started working for my present
employer, almost ten years ago. Luckily, I had been lurking in this
group and comp.infosystems.www.authoring.stylesheets, so the first thing
I did was put the site on a "diet". I removed redundant CSS, and used
CSS for mouseovers instead of a lot of javascript. Horror of horrors,
the site was using a terrible Hiermenu script (so 90's), and regular
links were using something like <a href="javascript:....">Link</a>,
which failed miserably in Opera, my browser of choice.

Now, after the "diet", the site is fast, links work correctly, I can use
different CSS depending on the season. That's the great thing about
CSS. I have one stylesheet for positioning, and another for default
colors and images. I have also have seasonal stylesheets, one for
Christmas (it includes Hannukah and Kwansa), Halloween, Cinco De Mayo,
Valentines Day, Armenian Holocost Commemoration (we're based in
Glendale, California), St. Patrick's Day, Easter, and 4th of July. My
server side script checks the date and serves up the appropriate
stylesheet. Easy peasy.
 
J

Jeremy J Starcher

Question: What is the most complicated site you've designed and built?
Got a link?

The most complicated user-side web site I've built is here:
http://parts.mopedepot.com/pbook.php?section=7&sectionid=7&book=0&page=7

But the back-end page where I edit all of that, including a built-in
image map editor, is far more complex.

I'm also lead on a project called Highland Dots, a web application
designed to display, and eventually play, music written for the Great
Highland Pipes (aka Scottish bagpipes).

Warning: A dev shapsnot, several weeks out of data. Didn't feel like
uploading a new snapshot.
(Just hit Import and Engrave)
http://r3jjs.com/js/hdots/
 
J

Jenn

Adrienne Boswell said:
Gazing into my crystal ball I observed "Jenn"

I had this very issue when I first started working for my present
employer, almost ten years ago. Luckily, I had been lurking in this
group and comp.infosystems.www.authoring.stylesheets, so the first thing
I did was put the site on a "diet". I removed redundant CSS, and used
CSS for mouseovers instead of a lot of javascript. Horror of horrors,
the site was using a terrible Hiermenu script (so 90's), and regular
links were using something like <a href="javascript:....">Link</a>,
which failed miserably in Opera, my browser of choice.

Now, after the "diet", the site is fast, links work correctly, I can use
different CSS depending on the season. That's the great thing about
CSS. I have one stylesheet for positioning, and another for default
colors and images. I have also have seasonal stylesheets, one for
Christmas (it includes Hannukah and Kwansa), Halloween, Cinco De Mayo,
Valentines Day, Armenian Holocost Commemoration (we're based in
Glendale, California), St. Patrick's Day, Easter, and 4th of July. My
server side script checks the date and serves up the appropriate
stylesheet. Easy peasy.


If it were only that easy. I don't have access to much of the backside
coding done by the committee, so I have to make any new code to work with
the committees backside code. I love the challenge, but some days I wish I
could do what you did with your diet site!
 
J

Jenn

Jeremy J Starcher said:
The most complicated user-side web site I've built is here:
http://parts.mopedepot.com/pbook.php?section=7&sectionid=7&book=0&page=7

But the back-end page where I edit all of that, including a built-in
image map editor, is far more complex.

Is that the finished site, or is it still a work in progress?

I'm also lead on a project called Highland Dots, a web application
designed to display, and eventually play, music written for the Great
Highland Pipes (aka Scottish bagpipes).

Warning: A dev shapsnot, several weeks out of data. Didn't feel like
uploading a new snapshot.
(Just hit Import and Engrave)
http://r3jjs.com/js/hdots/


I tried this link.. clicking on that button froze my browser. What's on the
other side of the click?
 
J

Jenn

dorayme said:
You are not wrong about this. It could be this OK and it would
even be a good idea to be this in some contexts. But this more
careful specific way is the start of a road that can lead to the
very problem you hate, complexity in stylesheets.

If all you have on the page are elements of a certain class
"name" that you want styled a certain way then

.name {...}

will get those elements to have the styles listed. This is quite
legal and correct. And it would save you having to nail each
element down by the CSS sheet with such as

table.name {...}
p.name {...}
div.name {...}

If you particularly wanted all the elements of this class to
share these styles, no need to nail down so specific.

.name {...}

will do fine. It roughly means 'any element of class "name"
should be this and that and the other thing stylewise'

On the other hand, if say, you *mostly* want all elements of
class "name" to have certain styles, let's say color: red, but
you did not want a particular element to have all these styles,
say you wanted the Ps of class "name" to have green text and
maybe other things different you can add:

p.name {color: green;...}


thanks for the info ... for the past 4 yrs I've been trying to deal with
these style sheets written by a committee trying to figure out what they had
in mind when they wrote them. Sometimes they use one way like just .name
.... other times they use table.name/p.name .. and so on. I've been
relatively successful so far editing their styles and creating a sheet that
overwrites theirs... what you said cleared up some of what they may have had
in mind. LOL
 
J

Jeremy J Starcher

Is that the finished site, or is it still a work in progress?

The client-side stuff is finished. There is more server side data that
needs to be entered and about a dozen models of bikes gotten online.
I tried this link.. clicking on that button froze my browser. What's on
the other side of the click?

You must have been running IE .. IE is horribly slow. Depending on the
machine, it takes 30-120 seconds to do what everybody else with canvas
support can do in about 3-7 seconds. Forgot to warn you on that.
 
J

Jenn

Jeremy J Starcher said:
The client-side stuff is finished. There is more server side data that
needs to be entered and about a dozen models of bikes gotten online.


You must have been running IE .. IE is horribly slow. Depending on the
machine, it takes 30-120 seconds to do what everybody else with canvas
support can do in about 3-7 seconds. Forgot to warn you on that.


Are you saying the site isn't for people who will be viewing it using IE?

another question ... by you showing me your site, are you expecting me to
give you any critique on it or just to view it?
 
J

Jeremy J Starcher

Are you saying the site isn't for people who will be viewing it using
IE?

I am saying, as I said the first time, that that version is a DEVELOPMENT
SNAPSHOT. As in, "not complete."

It /works/ under IE.. just horribly slowly. Try it with any version of
Firefox from 1.5 on.. that is much better.
another question ... by you showing me your site, are you expecting me
to give you any critique on it or just to view it?

What I am expecting? I had no expectations. You asked to see the most
complicated site that we put together, and I answered.

If you choose to comment on it or critique it, I'm always open for
comment about my sites. Anything usability (which is my primary concern)
to bug reports (which is very high as well) to asthetics (lowest concern).
 
N

Neredbojias

Now, after the "diet", the site is fast, links work correctly, I can
use different CSS depending on the season. That's the great thing
about CSS. I have one stylesheet for positioning, and another for
default colors and images. I have also have seasonal stylesheets, one
for Christmas (it includes Hannukah and Kwansa), Halloween, Cinco De
Mayo, Valentines Day, Armenian Holocost Commemoration (we're based in
Glendale, California), St. Patrick's Day, Easter, and 4th of July.
My server side script checks the date and serves up the appropriate
stylesheet. Easy peasy.

"Easy peasy"? What the hell is that? Do you *really* expect anyone to
take seriously someone who goes around saying "Easy peasy"? Harrumph.
 
B

Beauregard T. Shagnasty

Lewis said:
Could easily have been (or may be) a last name, or an abbreviation for
a last name (jensen = jen[se]n) or even a nickname. A friend of my
had a grandmother named Homer, I had an uncle named Shelly, I went to
school with a boy named Shannon, I seem to remember a Major League
Pitcher named Christy. And we're not even talking about foreign names
yet.

Hall of Famer who pitched around the turn of the last century:
http://en.wikipedia.org/wiki/Christy_Mathewson
His given name was Christopher.

My dad was in the Navy in the 1940s with a sailor named Shirley. This
sailor was a man named Shirley S. Smith. The rest of the crew called him
either "Shirl" or "Snuffy."
Fact is, no one assumed femaleness and it never came up at all until
Jenn started claiming others were 'abusing' him and 'slapping' him
and that he was entitled to special treatment.

He has been told over and over by many people that no one gives a
damn about his (claimed) sex and that no one is going to treat him
'special' just because he claims to be female.

But, like all bigots, he will cling to his bigotry no matter what,
and he will keep repeating it at every opportunity.

Seems to be the case. Sex/gender does not matter one iota in this group.
Nobody else cares. There are no "ladies" here, only coders and
designers.

This also is not a chatroom. LOL
 
N

Neredbojias

My uncle was named Shelly.

Once I had a neighbor named Leslie. I don't think it was short for
"Lester", although who knows for sure. In any case, he was a bitch.
The funny part is when he got mad, his voice got real high and it was
like a movie slapstick-comedian hollering at you or something.
Eventually he moved because he considered the neighborhood undesirable.

I laughed my ass off.
 
N

Neredbojias

You are so much *younger* than I am... :) and if this were a group
that only discussed technical stuff all the time, I'd never know this
about you. You're daughter is lucky she has had someone to teach her
... I've had no help in that respect.

You're older than 68?? Well, hell, no wonder you like tables!
 
N

Neredbojias

I've never heard of Shelly Berman.

He was a comedian whose heyday was during (or around) the '60s. He had
somewhat of a unique style, some self-deprecating jokes, and was even
in a movie or 2 (-don't recall what). I believe he was Jewish though I
never went to his bar mitzvah.
 
J

Jenn

Neredbojias said:
"Easy peasy"? What the hell is that? Do you *really* expect anyone to
take seriously someone who goes around saying "Easy peasy"? Harrumph.

LOL funny
 
J

Jenn

Neredbojias said:
Once I had a neighbor named Leslie. I don't think it was short for
"Lester", although who knows for sure. In any case, he was a bitch.
The funny part is when he got mad, his voice got real high and it was
like a movie slapstick-comedian hollering at you or something.
Eventually he moved because he considered the neighborhood undesirable.

I laughed my ass off.
This also is not a chatroom. LOL


Hey now... Beauregard says: This also is not a chatroom.

Now get back to only discussing code and obey Beauregard!
 
J

Jenn

Neredbojias said:
He was a comedian whose heyday was during (or around) the '60s. He had
somewhat of a unique style, some self-deprecating jokes, and was even
in a movie or 2 (-don't recall what). I believe he was Jewish though I
never went to his bar mitzvah.

I was pretty young in the 60's so I know now why I've never heard of him!
:)
 
J

Jenn

An occasional joke is NOT "getting into personal matters".


true, but ya'll also discuss other things like names of men that also can be
names of a woman and how you all know someone who have had a name like
that... I just read several posts like that.
 
J

Jenn

But not the CODING! You are talking about either content or aesthetics.
People here are talking coding technique.

I believe the original context that dorayme and I were discussing had to do
with the content and aesthetics.. that's why I made the above comment.

Why? Most the work I do is for intranet and ALL the work I do is
primarily server side coding. I don't profess to be anything more than
you when it comes to HTML. I am not one of those experts, and have not
claimed to be.

I'd be interested in learning more server side coding since I've had no
exposure to it except for what I've tried to learn on my own.
 

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

Members online

Forum statistics

Threads
474,079
Messages
2,570,574
Members
47,206
Latest member
Zenden

Latest Threads

Top