Help needed with css button

B

Beauregard T. Shagnasty

Blinky said:
Slick. Any reasonably popular/current browsers you've seen issues
with, with those?

No, can't say as I have. It seems to work fine in any CSS capable
browser. Even Internet Exploder. The 'no-button' on the 'current page'
is done with a small php common function, which displays only the text,
and no <a>.
 
B

Blinky the Shark

Beauregard said:
No, can't say as I have. It seems to work fine in any CSS capable
browser. Even Internet Exploder. The 'no-button' on the 'current page'
is done with a small php common function, which displays only the text,
and no <a>.

Ah! Thanks.
 
A

Adrienne Boswell

Finished for now
www.priorysingers.org.uk
Now to learn how to build without using tables as placeholders.
Thanks for your help.

One thing you might want to think about. Be sure to define a background
color that is the same as the background on images. I use a pale blue
background, and can see white backgrounds on images like squares on my
nice pale blue background.
 
J

Jim S

One thing you might want to think about. Be sure to define a background
color that is the same as the background on images. I use a pale blue
background, and can see white backgrounds on images like squares on my
nice pale blue background.

You are the first to mention that and it does not occur on my machine.
I'm sure I set the colours with the same code.
 
A

Adrienne Boswell

You are the first to mention that and it does not occur on my machine.

http://tinyurl.com/2skgbk

It does not happen on your machine because you have your window
background color set to white. Mine is, as you can see, pale blue -
easier on my eyes.
I'm sure I set the colours with the same code.

Hmm... nothing about the body element in the CSS... no you did not
define a background color, or color for the body element.
 
J

Jim S

http://tinyurl.com/2skgbk

It does not happen on your machine because you have your window
background color set to white. Mine is, as you can see, pale blue -
easier on my eyes.


Hmm... nothing about the body element in the CSS... no you did not
define a background color, or color for the body element.

How about now?
 
B

Blinky the Shark

Beauregard said:

Yeah, I didn't inable FireBug or WebDev or anything. Probably
should've.
I think it is the: <td style="width: 16%;
Those buttons just won't fit in 16% of our browser windows.

Notice the Firebug error as well:
"Unknown property 'behavior'. Declaration dropped."

Yeah. What's that about?
In IE6 on my Winbox, the table of performances has no cell borders.
Makes reading it more difficult.

Besides that, it's got something peculiar workin' here.

http://blinkynet.net/stuff/comp/scott02_ie6.jpg

<clickety>

Holy smokes! Does *that* ever need not-inline styling. Yikes!
 
B

Blinky the Shark

Beauregard said:
It's called in the CSS.

/* attach HTC file for MSIE */
ul.buttonbar li {
behavior: url(IEFixes.htc);
}

..and is this file:
http://www.priorysingers.org.uk/IEFixes.htc

..but don't ask me why.

Some kinda IE hack?

 <public:component>
// For MSIE use JScript to attach JS functions to compensate
// for missing pseudo-class support
// from Vladdy http://www.vladdy.net/Demos/IEPseudoClassesFix.html
// updated for html4.01 jnl 3/06

<snip>

It's mouse stuff.

..but don't ask me why. :)
 
B

Beauregard T. Shagnasty

Blinky said:
Some kinda IE hack?

 <public:component>
// For MSIE use JScript to attach JS functions to compensate
// for missing pseudo-class support
// from Vladdy http://www.vladdy.net/Demos/IEPseudoClassesFix.html
// updated for html4.01 jnl 3/06

<snip>

It's mouse stuff.

Did you visit the vladdy link? It actually does make hovers work in IE6
..but don't ask me why. :)

Right. I don't recall seeing anything on the OP's site that actually
*requires* this hack.
 
J

Jim S

Did you visit the vladdy link? It actually does make hovers work in IE6


Right. I don't recall seeing anything on the OP's site that actually
*requires* this hack.

Right. Here we go.
I am a not very good at creating websites, but I do try ,and came here for
help a week or so ago. (24-09-07)
I explained that on my own website I use CSS hyperlink buttons which give
the appearance of movement when clicked.
I did the Priory Singers Website a while back with static hyperlink buttons
and wish to make them behave in the same way as mine do except that they
should be a fixed shape rectangle which accommodates either one or two rows
of text AND that they should look and operate the same what ever browser is
used.
I was given the code you see ,and refer to above, which looks fine on my
machine and validates ok.
The IEFixes.htc bit which you will see I was given earlier in the thread
simulates the movement in IE, but is not needed for Firefox or Opera - but
I guess most folk who might access the site will use IE. It's a frippary I
know, but what the heck.
The only feedback I have received up until now was from someone telling me
that O had not specified a background colour in my index page UNTIL now.
I don't mind you're criticisms altho' they are a bit patronising, but I
would like your help as I am not good enough to put the mistakes right,
particularly because they were not originally mine.
 
J

Jonathan N. Little

Beauregard said:
It's called in the CSS.

/* attach HTC file for MSIE */
ul.buttonbar li {
behavior: url(IEFixes.htc);
}

..and is this file:
http://www.priorysingers.org.uk/IEFixes.htc

..but don't ask me why.

behavior is MS's proprietary CSS thingie. I use it to load IEFixes.htc
which is a JScript (yes JScript not JavaScript) bit that allows your to
use :hover and :active like pseudo classes on non-links with MSIE5+
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top