Lively discussions on the graphic arts and publishing — in print or on the web

Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-01-2006, 03:23 PM   #1
Patrick Nethercot
Patrick Nethercot's Avatar
Join Date: Sep 2005
Location: Durham UK
Posts: 18
Default Percentages in CSS

I have a CSS file which specifies an image width as 1pixel and height as 100%. This is fine in MSIE and Mozilla but not in Firefox where the image shows as a dot. (The actual image is a 1x1 dot.) This provides a vertical line next to a column of information, like in a newspaper. Well it does in MSIE and Mozilla anyway. Does Firefox not interpret percentages in CSS files in the same way as MSIE and Mozilla?

The site in question is http://www.gateshead-senators.co.uk/ and the vertical line can be seen on the front page.

The CSS file is at http://www.users.zetnet.co.uk/pcrrn/...s/senators.css

The class .leading is the last item and reads:

.leading {
width: 1px;
height: 100%;

I am happy it works in MSIE & Mozilla but would like it display in Firefox also. I am a bit puzzled at the difference between Mozilla and Firefox too.

Patrick (Durham UK)
__________________________________________________ ___________________
Patrick Nethercot is offline   Reply With Quote

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

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

Forum Jump

All times are GMT -8. The time now is 04:52 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Contents copyright 2004–2018 Desktop Publishing Forum and its members.