Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Firefox and style="display:block" on table row

 
Thread Tools Search this Thread
Old 04-15-2008, 02:36 PM   #21
Default Dispaly:inline-block; problem in FF


Dear Friend, anyone is having idea about my simple html and css code is not workinging FF

CSS:

.Header-Links a{
display:inline-block;
margin-left:auto; margin-right:auto;
text-align:center;
vertical-align:middle;
border:#000000 1px solid;
width:100px;
height:34px;
background:url(../images/btn_bg.gif);
background-repeat:repeat-x;
background-position:left top;
text-decoration:none;
margin:0 3px;
line-height:30px;
color:#990033;

font-size:14px;
font-weight:bold;
}
.Header-Links a:hover{text-decoration:underline;}

HTML CODE:

<div align="center" class="Header-Links">
<a href="#" >Home</a><a href="#" class="Header-Links">About Us</a><a href="#">Benefits</a><a href="#">Services</a><a href="#">Fees</a><a href="#">Testimonials</a><a href="#">Contact</a>
</div>


Quote:
Originally Posted by Michael Winter
On Tue, 04 Jan 2005 00:21:43 GMT, rf <rf@.invalid> wrote:

[snip]

> The reason [block] "appears" to work with IE is probably because IE is
> error-correcting the display property for you.


As others have implied, IE has no concept of the table-row value. In fact,
Microsoft's documentation
(<URL:http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/display.asp>)
clearly states that all block-like elements (with a few exceptions) have
'block' as their display value, contrary to specification.

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.


dangerouskicker
dangerouskicker is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing Crystal report table at run time rakesh201180 Software 1 10-22-2008 10:58 AM
MCITP and stored procedure permissions Darrilgibson@gmail.com MCITP 5 06-07-2008 12:37 PM
When ever Firefox restarts... it downloads several files to my desktop??? Joe Cool General Help Related Topics 0 03-30-2008 12:41 AM
High-Def Playback: The Firmware Gotcha Ablang DVD Video 46 07-28-2007 07:25 AM
How to store dataset to a table in the database. Please be specific. Urgent fullblown General Help Related Topics 0 09-20-2006 03:55 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46