Old 11-02-2004, 07:27   #1 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
mozilla & standards compliancy

ii'm having issues with mozilla when its running in a compliant mode. i get gaps round images which means that they won't lie neatly on top of each other.

the fix i've found is to get the browser to render that page in quirks mode and then it all fits fine.

anyone experienced this and know of a compliant fix?
  Reply With Quote
Old 11-02-2004, 07:29   #2 (permalink)
lucidcreations
Part of the 3 out of 4
 
lucidcreations's Avatar
 
Join Date: Feb 2003
Location: cheshire
Posts: 2,077
have you tried just zeroing the <img /> tag borders and margins?
__________________
Jase
  Reply With Quote
Old 11-02-2004, 07:32   #3 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
in the compliant environment i'm working the img tag does not have a border attribute.
  Reply With Quote
Old 11-02-2004, 07:35   #4 (permalink)
lucidcreations
Part of the 3 out of 4
 
lucidcreations's Avatar
 
Join Date: Feb 2003
Location: cheshire
Posts: 2,077
no in CSS :-

img
{
border : 0px;
margin : 0px;
}
__________________
Jase
  Reply With Quote
Old 11-02-2004, 07:46   #5 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
yes. everything has been set to 0 that could possibly have a 0 set - it did nothing so i took them all out.

i've found references to this being an issue when using images in tables using mozilla - i've been there before and a 'vertical-align: bottom' brought everything into line, but these images are notin a table. ie and opera have no issues with it.
  Reply With Quote
Old 11-02-2004, 07:59   #6 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,572
How are the images positioned?

Give us a look, brown. You big tease.
  Reply With Quote
Old 11-02-2004, 08:00   #7 (permalink)
lucidcreations
Part of the 3 out of 4
 
lucidcreations's Avatar
 
Join Date: Feb 2003
Location: cheshire
Posts: 2,077
bloody browsers........
__________________
Jase
  Reply With Quote
Old 11-02-2004, 08:02   #8 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
http://dev.flark.net/temp/temp2/pageTeaser.html

like i said above, force mozilla into quirks mode and all is fine
  Reply With Quote
Old 11-02-2004, 08:03   #9 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
Quote:
Originally Posted by Stickman
Give us a look, brown. You big tease.
css porn...
  Reply With Quote
Old 11-02-2004, 09:20   #10 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,572
@import url(jwTopNav.css);
@import url(jwLinks.css);
@import url(contentMenu.css);
@import url(pageTeaser.css);
@import url(imageHeader.css);...........

Porn overload.
  Reply With Quote
Old 11-02-2004, 09:21   #11 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,572
Too much to wade through. Try image {display: block} on something. If you've set the margins and padding to 0, that's what it will probably be. Or maybe your floats are wonky.
  Reply With Quote
Old 11-02-2004, 09:51   #12 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
Quote:
Originally Posted by Stickman
Try image {display: block} on something
...well it made the dog sit.
  Reply With Quote
Old 11-02-2004, 09:52   #13 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
Quote:
Originally Posted by Stickman
@import url(jwTopNav.css);
@import url(jwLinks.css);
@import url(contentMenu.css);
@import url(pageTeaser.css);
@import url(imageHeader.css);...........

Porn overload.
the only one currently applied to this page is:

@import url(pageTeaser.css);

all other have been removed for the sake of this example.
  Reply With Quote
Old 01-03-2004, 23:49   #14 (permalink)
Luke Redpath
Barney army!
 
Luke Redpath's Avatar
 
Join Date: Mar 2003
Location: London
Posts: 692
Quote:
Originally Posted by Brown
...well it made the dog sit.

Images are inline by default, and therefore rest on the baseline, hence the gap underneath. This is why v-aligning it to the bottom removes it, and also why changing to display as a block element also works.
__________________
Luke Redpath .::. Software Engineer .::. Reevoo - Real Reviews From Real Customers
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8