HighDots Forums  

Re: CSS Buttons

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: CSS Buttons in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Al Sparber- PVII
 
Posts: n/a

Default Re: CSS Buttons - 07-13-2003 , 04:58 PM






That's a known bug in Explorer. It happens when the containing element that
houses the "buttons" are part of a larger construct and it is not the first
element in the construct. For instance, in a 2-column table, if your buttons
are in the first cell, IE will work perfectly. If they are in the second
cell, they will not. The easiest fix is to declare the <a> element as having
position: relative.

#foobar a {
display: block;
position: relative;}

This fix, however, will cause Dreamweaver MX to prompt you to save your page
even if no changes have been made. To circumvent that, you can use a
conditional statement to present the fix only to IE-PC:

Place this in your page (not inside an external style sheet)

<!--[if gte IE 5]>
<style>
#foobar a {
position: relative;
}
</style>

--
Al Sparber - PVII
http://www.projectseven.com
Dreamweaver Extensions - DesignPacks - Tutorials - Books
---------------------------------------------------------------------
The PVII Newsgroup | news://forums.projectseven.com/pviiwebdev
The CSS Newsgroup | news://forums.projectseven.com/css
---------------------------------------------------------------------



"Plato-vs-Derrida" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Good afternoon,

I'm working with CSS buttons with no images. Just using the display: block
command and hover effects.

In netscape 7 if I mouse over any part of the block the entire button
hightlights, in Explorer, however, the button will highlight only if I mouse
over the text. Does anyone know of a work around for this?
Quote:

Thanks





Reply With Quote
  #2  
Old   
Plato-vs-Derrida webforumsuser@macromedia.com
 
Posts: n/a

Default Re: CSS Buttons - 07-13-2003 , 06:46 PM






Al,
Thanks for the suggestion. I tried it, but it doesn't seem to be working.

In explorer versioin 6.x, the link will highlight only whtn the mouose ois over the text. However in Netscape, the link hilighs when ever the mouse is over any of block formatted "button". Am I missing somehting obvious?

The link to the page is http://equinox.unr.edu/homepage/knoxp/index.htm.

(P.S.) I'm talking abou the menu on the far right hand side of the page.


Thanks.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.