HighDots Forums  

Re: Image display and white space

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Image display and white space in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrew Thompson
 
Posts: n/a

Default Re: Image display and white space - 08-17-2003 , 07:45 AM






"Tony T" <fromny.turfromn (AT) btinternet (DOT) com> wrote

Quote:
Hi all

I'm tearing my hair out trying to sort what I think should be a simple
problem.
....
http://rnetworks2002.users.btopenwor...test/grid.html
....
Using HTML strict, ..
Not according to the validator. It does not seem to
recognise the doctype, and complains about the
missing charset.

After specifying doctype and charset I still got 1 error
http://validator.w3.org/check?uri=ht...rs.btopenw or
ld.com%2Fcsstest%2Fgrid.html&doctype=HTML+4.01+Str ict&charset=iso-8859-1+%28
Western+Europe%29

Quote:
..I'm trying to find a robust way of displaying images with
no breaks between them (er, like you can do using tables) but the newlines
in the HTML seem to screw things up in different ways between different
browsers. It's not even reliable to remove the newlines completely, let
alone what that does for readability in more complicated examples.
I started to play with the source you supplied,
creating three versions locally.
The first was as-is, exactly as you have it.
The 2nd was 4.01 strict, charset 8859-1
The 3rd was 4.01 transitional, charset ditto..

Tested in IE 6, NN 4.8, Moz 1.4(?) on XP.

IE/NN 4.8 - no space, all three versions
Mozilla - space in first two, only _transitional_
got rid of the space.

No idea why. [ That is an exercise for you! ;-) ]

HTH

--
Andrew Thompson
http://www.lensescapes.com/
http://www.physci.org/
http://www.1point1c.org/





Reply With Quote
  #2  
Old   
Tony T
 
Posts: n/a

Default Re: Image display and white space - 08-17-2003 , 08:05 AM







"Andrew Thompson" <andrew64 (AT) bigNOSPAMpond (DOT) com> wrote

Quote:
"Tony T" <fromny.turfromn (AT) btinternet (DOT) com> wrote in message
news:bhnq1o$t4m$1 (AT) hercules (DOT) btinternet.com...
Not according to the validator. It does not seem to
recognise the doctype, and complains about the
missing charset.

Fixed the missing charset declaration (it was only a quick cobble of a
file - sorry)

Can't immediately see why it still gives one validation error, but don't
_think_ that affects the problem.

Quote:
After specifying doctype and charset I still got 1 error

http://validator.w3.org/check?uri=ht...rs.btopenw or

ld.com%2Fcsstest%2Fgrid.html&doctype=HTML+4.01+Str ict&charset=iso-8859-1+%28
Western+Europe%29


I started to play with the source you supplied,
creating three versions locally.
The first was as-is, exactly as you have it.
The 2nd was 4.01 strict, charset 8859-1
The 3rd was 4.01 transitional, charset ditto..

Tested in IE 6, NN 4.8, Moz 1.4(?) on XP.

IE/NN 4.8 - no space, all three versions
Mozilla - space in first two, only _transitional_
got rid of the space.

No idea why. [ That is an exercise for you! ;-) ]

HTH
Ah, that's just it - why?? What's going on, and how to get round it? Or is
{position} the only solution? Can't think this hasn't been solved before -
after all, it works fine using tables !!

T
---
replace "from" with "to" for email address




Reply With Quote
  #3  
Old   
Andrew Thompson
 
Posts: n/a

Default Re: Image display and white space - 08-17-2003 , 08:14 AM



"Tony T" <fromny.turfromn (AT) btinternet (DOT) com> wrote

Quote:
"Andrew Thompson" <andrew64 (AT) bigNOSPAMpond (DOT) com> wrote in message
news:5OK%a.39601$bo1.17440 (AT) news-server (DOT) bigpond.net.au...
"Tony T" <fromny.turfromn (AT) btinternet (DOT) com> wrote in message
news:bhnq1o$t4m$1 (AT) hercules (DOT) btinternet.com...
Not according to the validator. It does not seem to
recognise the doctype, and complains about the
missing charset.


Fixed the missing charset declaration (it was only a quick cobble of a
file - sorry)

Can't immediately see why it still gives one validation error, but don't
_think_ that affects the problem.
I also dropped in a page title and author attribute,
maybe that made the validator happy..
http://validator.w3.org/check?uri=ht...om%2Ftst%2 Fo
th%2Fgrid02.html

The document, obviously is at..
http://www.lensescapes.com/tst/oth/grid02.html

'00' is yours, '01' is strict

--
Andrew Thompson
http://www.lensescapes.com/
http://www.physci.org/
http://www.1point1c.org/




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 - 2008, Jelsoft Enterprises Ltd.