Closed
Bug 83646
Opened 25 years ago
Closed 23 years ago
ccstudy.com - Image overlaps text on invalid pages
Categories
(Tech Evangelism Graveyard :: English US, defect, P2)
Tech Evangelism Graveyard
English US
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: csherlock, Assigned: doronr)
References
()
Details
(Whiteboard: [aok])
Attachments
(2 files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9) Gecko/20010505
BuildID: 2001050515
This is a problem with the way that Mozilla is laying out graphics and text
Reproducible: Always
Steps to Reproduce:
1. Go to http://members.optusnet.com.au/~csherlock/Bad%20Page/cc.html
Actual Results: The layout of the page is incorrect: the image on the side
http://www.ccstudy.net/i/s/Network_Support.gif is not in the correct spot... the
text that should be next to it is underneath it.
Expected Results: The graphic should be right next to the text, to compare have
a look in another browser like Internet Explorer v5.
Comment 1•25 years ago
|
||
- occurs on Mozilla/5.0 (X11; U; SunOS 5.8 sun4u; de-AT; rv:0.9) Gecko/20010508
This document is not valid HTML ( http://validator.w3.org/ ) maybe that is the
reason?
Didn't realise. Sorry about that (it's a copy of a page I found while looking
for my CCNA certs...) Will remember that validator link next time I think about
submitting a bug report! Sorry for wasting people's time.
Er, new to this bug tracking system... not entirely sure what to do with this,
I'm going to change the URL to http://www.ccstudy.com/ from
http://members.optusnet.com.au/~csherlock/Bad%20Page/cc.html and the Component
to Evangelism. Hope this works.
Component: Layout → Evangelism
Comment 3•25 years ago
|
||
qawanted. Is this evangelism or something the parser/layout engine should deal
witt?
Keywords: qawanted
It's the CSS-defined style that caused the overlap.
<...snip...>
.forumtextoutleft {
FONT-WEIGHT: bold; FONT-SIZE: 16px; FLOAT: left; MARGIN: 10px; FONT-STYLE:
italic; POSITION: relative; TEXT-ALIGN: center
<...snip...>
If I change the "MARGIN: 10px" to a larger value (say "MARGIN: 100px"), the text
is well away from the image.
Don't know if you would call this an Evang thing or not...
This page might be invalid, but that doesn't mean the browser shouldn't try to
correct it and make it readable. Part of the reason NS4 took so much flak was
because it displayed pages with invalid tables as blanks. The pages may have
been invalid, but people still want to be able to look at them (so therefore
they download IE and look at the page, and end up being unable to find any
reason to go back to NS4). So I think eventually we should be able to fix pages
like this up and keep the overlapping from happening -- at least as long as
we're in quirks mode.
Oh, yeah. Behavior is exactly as described in 2001060504 Win98; marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Sorry about this, but I forgot to update the summary, too.
[Was: "Bad layout in web page that I go to, I have an example"]
Summary: Bad layout in web page that I go to, I have an example → Image overlaps text on invalid pages
Did some further testing, cut back the web page to bare minimum of markup in the
page.
Here is the markup:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Cisco certification resources and practice exams at CCStudy.com - CCNA
Study</title>
<style type="text/css">
@import url(ie.css);
</style>
</head>
<body>
<table border="1" width="100%" height="50" cellspacing="0" cellpadding="5"
bgcolor="#ffffcc" background="http://ccstudy.net/i/s/forumback.jpg">
<tbody>
<tr>
<td>
<div class="forumtextoutleft" style="width: 100pt;"><img
src="http://www.ccstudy.net/i/s/Network_Support.gif" width="180" height="174"
border="0" alt="Network Support"></div>
The CCNA is the base level of Network Support certification from
Cisco Systems.
The CCNA 1.0 Exam Retired on the 31st July 2000. After this date the new
CCNA 2.0 exam became live. This overview is based on the new CCNA
2.0 objectives.<br>
</td>
</tr>
</tbody>
</table>
</body>
</html>
---
When you use the following css file the problem occurs:
.forumtextoutlefttemp {
FONT-WEIGHT: bold;
FONT-SIZE: 16px;
FLOAT: left;
MARGIN: 10px;
FONT-STYLE: italic;
POSITION: relative;
TEXT-ALIGN: center
}
Try this css file and it goes away.
.forumtextoutleft {
FONT-WEIGHT: bold;
FONT-SIZE: 16px;
FLOAT: left;
MARGIN: 10px;
POSITION: relative;
TEXT-ALIGN: center
}
Comment 9•25 years ago
|
||
taking.
Assignee: karnaze → bclary
Priority: -- → P2
QA Contact: petersen → zach
Comment 10•25 years ago
|
||
Adding the Nytimes testcase. Note, an invalid TAG in the content causing caret
problems.
http://bugscape/showattachment.cgi?attach_id=1954
| Reporter | ||
Comment 11•25 years ago
|
||
What was that URL for the testcase again?
Updated•25 years ago
|
Summary: Image overlaps text on invalid pages → ccstudy.com - Image overlaps text on invalid pages
Comment 12•25 years ago
|
||
Platform/OS=All as per Chi-Thanh Christopher Nguyen 2001-06-01 05:11.
OS: Windows 98 → All
Hardware: PC → All
Comment 13•25 years ago
|
||
Comment 14•25 years ago
|
||
This worksforme now.
Comment 15•25 years ago
|
||
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for
details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Comment 16•25 years ago
|
||
This WFM, too on 2001081208 Win2k.
Comment 17•25 years ago
|
||
Comment 18•25 years ago
|
||
my sincere apologies to all about the first testcase I attached, as it didn't
even have the stylesheet that caused the problem!!! I must have been sleeping or
something when I attached it, as I can't remember attaching such a testcase.
Well, the latest testcase shows the problem.
Comment 19•25 years ago
|
||
OK, with that testcase I'm seeing the bug again on 2001081208 Win2k.
Comment 21•24 years ago
|
||
still happening for me i686 linux 2002012220.
Comment 22•24 years ago
|
||
Mass reassign of all tech-evangelism us general bugs assigned to bc to
doron except bc's P1 bugs. You may search for this mass reassign (it is
305 bugs) by searching for the keyword 'greeneggsandham'
Assignee: bclary → doronr
Comment 23•23 years ago
|
||
Some time in the past year ccstudy.com redesigned their home page and eliminated
the badly-placed button graphics. Everything looks fine now.
Updated•11 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•