|
-
May 29th, 2002, 05:25 PM
#1
well you won't beileve this but eveytime you have this
<td>
<img>
</td>
it will creat an extra line.
so to fix it you need to have the closing tag at teh end of the data.
<td>
<img src="http://www.vbshelf.com/logoidea.gif" alt="VBShelf - Programming Resources and Tutorials"></td>
-
May 29th, 2002, 05:25 PM
#2
Frenzied Member
I don't see any white line. YBMS.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 29th, 2002, 05:26 PM
#3
Frenzied Member
Remove the newlines and spaces after the image in your code.
-
May 29th, 2002, 05:30 PM
#4
Frenzied Member
Shouldn't
Code:
<p>foo
bar
blah</p>
be the same as
Code:
<p>foo bar blah</p>
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 29th, 2002, 05:34 PM
#5
that is why I say you won't believe it. it should be yes, but not in tables.
<td>
<img>
</td>
that is different than
<td><img></td>
that, in tables.
-
May 29th, 2002, 05:37 PM
#6
Stuck in the 80s
I never knew that. Thanks for your help
-
May 29th, 2002, 05:38 PM
#7
-
May 29th, 2002, 05:40 PM
#8
Frenzied Member
"This site is optimized for IE 5+"
That's funny. I see the annoying white line when I load up IE 5, but not when I use Mozilla.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 29th, 2002, 05:44 PM
#9
Stuck in the 80s
Originally posted by scoutt
was that it?
Yes, sir.
-
May 29th, 2002, 05:46 PM
#10
Frenzied Member
There are menu options to change the page style. Why aren't the style sheets loaded so you can switch styles via the UA?
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 29th, 2002, 05:55 PM
#11
Stuck in the 80s
Can you say that again as though you were talking to a third grader?
-
May 29th, 2002, 06:21 PM
#12
Frenzied Member
No, but I can do this....
You can provide alternate stylesheets that the user can choose without reloading the page.
Code:
<link rel="stylesheet" title="Silver" href="silver.css" type="text/css" media="screen">
<link rel="alternate stylesheet" title="Brown" href="brown.css" type="text/css" media="screen">
<link rel="alternate stylesheet" title="Blue" href="blue.css" type="text/css" media="screen">
With the above example, the page would load with the default silver theme. I could then go to the browser menu and "Use Style -> Blue". The browser may load the blue.css if it hasn't already, but it won't bother loading the entire page.
An example of a page that does this:
http://www.meyerweb.com/eric/css/edg...iral/demo.html
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 29th, 2002, 06:43 PM
#13
Stuck in the 80s
I don't see the "Use Style" in the browser menu?
-
May 29th, 2002, 06:49 PM
#14
PowerPoster
Originally posted by The Hobo
I don't see the "Use Style" in the browser menu?
It's in Netscape 6 (View->Use Stylesheet)
I couldn't find it in IE or Opera
-
May 29th, 2002, 06:57 PM
#15
Frenzied Member
"Use Style" is under the "View" menu in Mozilla (1.0 RC2). I don't know what the equivalent would be in any other browser.
I would expect the Mozilla-ish browsers (Netscape, Galleon, Konqueor) to offer some support for it. I know Opera 6 doesn't support it (which is a shame, since it is the only browser that I know of that supports @media projection). I've been so dissappointed with IE 6's blaring lack of CSS support that I haven't bothered looking to see if it will even support the link tag.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 29th, 2002, 07:06 PM
#16
Stuck in the 80s
Well, if it's only available in a few browsers, I don't think I should go that route. And I know have the people viewing my page (which would be maybe 2) probably won't go looking to see if they can change the style. It needs to be where they can see it.
Splendid idea though.
-
May 29th, 2002, 07:34 PM
#17
Frenzied Member
A few browsers? I count 4 to 2. 'Course, it is possible that all of your users will limit themselves to the 2. That is fine.
It is a shame that something that has been an industry standard for 4 years now isn't supported 100%.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 29th, 2002, 08:13 PM
#18
Stuck in the 80s
I'm not disagreeing with you at all. Just saying that I want the option available to all of my users if, for some reason, they want to use it. And unfortunatly, IE is the most common browser that views my site. Only 1 out of 4 users have something else.
I just read about the new Netscape 7 and how it has all these cool tabbed windows and built in messanger support. Maybe if they (and IE) spent just as much energy making their browsers more compliant, we wouldn't have half the problems we do.
-
May 30th, 2002, 04:58 AM
#19
-
May 30th, 2002, 07:28 AM
#20
that is pretty good Rick, too bad you couldn't get some of the style to work in NS4.xx.
-
May 30th, 2002, 07:33 AM
#21
Frenzied Member
Thanks. I haven't tested it in NS 4 (as is obviously apparent ) as I formatted my HDD a week or so ago and haven't got round to installing it. I may do it today. Although personally I don't bother with NS 4, I meam I'm sure it was a good browser in its day but it's pretty crap CSS wises.
-
May 30th, 2002, 07:45 AM
#22
Frenzied Member
Actually it's a good job you said that, because that annoying alert comes up with every page you goto in NS 4, so I've changed it (but not uploaded it yet) so it only alerts you if you click the link. Also made my code a (tiny) bit more efficient.
-
May 30th, 2002, 08:38 AM
#23
Frenzied Member
[i]Originally posted by The Hobo I just read about the new Netscape 7 and how it has all these cool tabbed windows and built in messanger support.
Yeah, Netscape sucks. If I wanted a messaging client, I would install a messaging client. I don't need a web browser that does something else for me.
As to the tabbed interface (MDI). I love the way Opera does this, but Mozilla will do it, too.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|