11 1535
"yawnmoth" <te*******@yahoo.comwrote in message
news:cc**********************************@q70g2000 hsb.googlegroups.com...
http://www.frostjedi.com/terra/scrip...loat-form.html
The div with red background is being centered and I don't know why.
Any ideas?
It's not being centred. It is stacking up to the right of that input field
because you have floated both of them left. Well, rather, the input field is
inside a div that is floated left. If you look real close you will note that
the top of the red div is above (and to the right) of the input field.
The clear: right on the div that contains your offending red div has no
effect on prior left floated elements.
This is some bizarre mark up. You should study up on what float really
means.
--
Richard.
rf wrote:
"yawnmoth" wrote:
>... Any ideas?
This is some bizarre mark up. You should study up on what float really
means.
And it's using an XHTML doctype, but written in HTML. :-/
--
-bts
-Friends don't let friends drive Vista
On Feb 22, 6:16 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
rf wrote:
"yawnmoth" wrote:
... Any ideas?
This is some bizarre mark up. You should study up on what float really
means.
And it's using an XHTML doctype, but written in HTML. :-/
Here's a fun little experiment. Take this page: http://www.frostjedi.com/terra/scrip...fox-xhtml.html
Perfectly valid XHTML according to validator.w3.org. Now view that
page in Firefox and save it as HTML. eg. File -Save Page As. Open
the resultant page and look at it. You'll see it's no longer valid
XHTML. And take a look at the junk it adds to the body background css
property.
So I do apologize for not using valid XHTML. I also apologize for
using Firefox to save a page in an attempt to isolate the problem. Oh
well. RIP Firefox.
*sigh*
yawnmoth <te*******@yahoo.comwrites:
On Feb 22, 6:16 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
>rf wrote:
"yawnmoth" wrote: ... Any ideas?
This is some bizarre mark up. You should study up on what float really
means.
And it's using an XHTML doctype, but written in HTML. :-/
Here's a fun little experiment. Take this page:
http://www.frostjedi.com/terra/scrip...fox-xhtml.html
Perfectly valid XHTML according to validator.w3.org. Now view that
page in Firefox and save it as HTML. eg. File -Save Page As. Open
the resultant page and look at it. You'll see it's no longer valid
XHTML. And take a look at the junk it adds to the body background css
property.
Not here. What changes when you do it?
--
Ben.
yawnmoth wrote:
On Feb 22, 6:16 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
>rf wrote:
>>"yawnmoth" wrote: ... Any ideas? This is some bizarre mark up. You should study up on what float really means.
And it's using an XHTML doctype, but written in HTML. :-/
Here's a fun little experiment. Take this page:
http://www.frostjedi.com/terra/scrip...fox-xhtml.html
Perfectly valid XHTML according to validator.w3.org. Now view that
page in Firefox and save it as HTML. eg. File -Save Page As. Open
the resultant page and look at it. You'll see it's no longer valid
XHTML. And take a look at the junk it adds to the body background css
property.
But served as text/html
Date: Fri, 22 Feb 2008 17:34:47 GMT
Server: WebServerX
Last-Modified: Fri, 22 Feb 2008 17:02:25 GMT
Etag: "131834b-18b-47bf0021"
Accept-Ranges: bytes
Content-Length: 395
Content-Type: text/html
200 OK
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO http://www.LittleWorksStudio.com
In article
<1b**********************************@71g2000hse.g ooglegroups.com>,
yawnmoth <te*******@yahoo.comwrote:
On Feb 22, 6:16 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
rf wrote:
"yawnmoth" wrote:
>... Any ideas?
This is some bizarre mark up. You should study up on what float really
means.
And it's using an XHTML doctype, but written in HTML. :-/
Here's a fun little experiment. Take this page:
http://www.frostjedi.com/terra/scrip...fox-xhtml.html
Perfectly valid XHTML according to validator.w3.org. Now view that
page in Firefox and save it as HTML. eg. File -Save Page As. Open
the resultant page and look at it. You'll see it's no longer valid
XHTML. And take a look at the junk it adds to the body background css
property.
What version of FireFox did you use? I get exactly the same page
back every time I save the above URL with FireFox 2.0.0.12,
whether I save the page directly or view the source first and
then save.
So I do apologize for not using valid XHTML. I also apologize for
using Firefox to save a page in an attempt to isolate the problem. Oh
well. RIP Firefox.
[Misquote]
I don't think you saved what you thought you were saving...
[/Misquote]
On Feb 22, 11:35 am, "Jonathan N. Little" <lws4...@central.netwrote:
yawnmothwrote:
On Feb 22, 6:16 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
rf wrote: "yawnmoth" wrote: ... Any ideas? This is some bizarre mark up. You should study up on what float really means.
And it's using an XHTML doctype, but written in HTML. :-/
Here's a fun little experiment. Take this page:
http://www.frostjedi.com/terra/scrip...fox-xhtml.html
Perfectly valid XHTML according to validator.w3.org. Now view that
page in Firefox and save it as HTML. eg. File -Save Page As. Open
the resultant page and look at it. You'll see it's no longer valid
XHTML. And take a look at the junk it adds to the body background css
property.
But served as text/html
Date: Fri, 22 Feb 2008 17:34:47 GMT
Server: WebServerX
Last-Modified: Fri, 22 Feb 2008 17:02:25 GMT
Etag: "131834b-18b-47bf0021"
Accept-Ranges: bytes
Content-Length: 395
Content-Type: text/html
200 OK
Hmmm. That seems like a likely culprit. I know with CSS, Firefox
won't treat it as CSS unless the Content-Type is text/css. mod_mime
(I think) will set the Content-Type automatically to that if the
extension is *.css, but if it's *.php or whatever, you'll have to set
it, yourself. Here's an example: http://www.frostjedi.com/terra/scripts/demo/phpcss.html
I tried, incidentally, using a meta tag to set the Content-Type to
text/xhtml but I'm still getting HTML when I save. I guess I'll need
to create an .htaccess rule or something, but I'm somewhat hesitant to
do that, because not all the *.html's I have actually are XHTML. Some
really are HTML.
Seems like I probably ought to post this on mozillazine.org...
yawnmoth wrote:
>"Beauregard T. Shagnasty" wrote:
>rf wrote:
>>"yawnmoth" wrote: ... Any ideas?
>>This is some bizarre mark up. You should study up on what float really means.
And it's using an XHTML doctype, but written in HTML. :-/
Here's a fun little experiment. Take this page:
http://www.frostjedi.com/terra/scrip...fox-xhtml.html
Perfectly valid XHTML according to validator.w3.org.
The above page is not valid.
Now view that page in Firefox and save it as HTML. eg. File -Save
Page As. Open the resultant page and look at it. You'll see it's no
longer valid XHTML. And take a look at the junk it adds to the body
background css property.
So I do apologize for not using valid XHTML. I also apologize for
using Firefox to save a page in an attempt to isolate the problem.
Oh well. RIP Firefox.
Why would you want to use a browser to save pages? View the source and
paste it into your text editor instead. Keep the browser; it's a good
one.
--
-bts
-Motorcycles defy gravity; cars just suck
On Feb 22, 11:49 am, David Stone <no.em...@domain.invalidwrote:
In article
<1b8ef567-7571-4f4d-8397-c5ec97106...@71g2000hse.googlegroups.com>,
yawnmoth<terra1...@yahoo.comwrote:
On Feb 22, 6:16 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
rf wrote:
"yawnmoth" wrote:
... Any ideas?
This is some bizarre mark up. You should study up on what float really
means.
And it's using an XHTML doctype, but written in HTML. :-/
Here's a fun little experiment. Take this page:
http://www.frostjedi.com/terra/scrip...fox-xhtml.html
Perfectly valid XHTML according to validator.w3.org. Now view that
page in Firefox and save it as HTML. eg. File -Save Page As. Open
the resultant page and look at it. You'll see it's no longer valid
XHTML. And take a look at the junk it adds to the body background css
property.
What version of FireFox did you use? I get exactly the same page
back every time I save the above URL with FireFox 2.0.0.12,
whether I save the page directly or view the source first and
then save.
So I do apologize for not using valid XHTML. I also apologize for
using Firefox to save a page in an attempt to isolate the problem. Oh
well. RIP Firefox.
[Misquote]
I don't think you saved what you thought you were saving...
[/Misquote]
I've been saving as "Web Page, complete". I just tried to save as
"Web Page, HTML only" and got the exact same page (instead of the
Firefox altered one). Maybe someone could confirm?
yawnmoth wrote:
>
I tried, incidentally, using a meta tag to set the Content-Type to
text/xhtml but I'm still getting HTML when I save.
Of course you will. It uses whatever MIME type you have set for .html on
your local PC. Whatever it was on the remote server is irrelevant at
this point. A meta tag won't do anything to change that on your local
system, either. You won't get an XHTML content type unless you view it
through a local web server with the proper configuration.
--
Berg
yawnmoth wrote:
>
I've been saving as "Web Page, complete". I just tried to save as
"Web Page, HTML only" and got the exact same page (instead of the
Firefox altered one).
"Web Page complete" is altered so all the file references (<imgetc)
will work correctly once it's downloaded to your local drive. There may
be other changes as well but I've never bothered looking at them.
Regardless, it is not intended to be identical to the remote page.
If you want the page in it's unaltered state, View Source the online
page and save *that*.
--
Berg This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: VRandy |
last post by:
Example: http://pages.prodigy.net/randyv/centerprb.htm
The desired effect is a fixed width left margin with a fixed width div
centered in the right side. If the browser is resized to become very...
|
by: Haines Brown |
last post by:
I want a centered body, 680px wide, having a red bottom margin. The
following works well in galeon, but not in IE5, where the bottom
margin steals the full width of the viewpoint. That is, the red...
|
by: DaWoE |
last post by:
Hi,
I want to place a div centered of another div in IE. I get this to work
in Mozilla, but not in IE.
The code i use for mozilla is the following :
<html>
<head>
<style type="text/css">
|
by: David Winter |
last post by:
This is a totally trivial CSS problem, I'm sure, but I don't get it.
I want a centered DIV with a fixed width between two other DIVs that
should fill the rest of the window/viewport (= 100%). How...
|
by: Mimo Zus |
last post by:
I'm hoping that someone can explain what's going on; better yet provide
a workaround.
I'm designing a centered CSS site based on a 550 pixel wide vertical
background image. Onto this background...
|
by: Stian Lund |
last post by:
Hello,
I've been struggling with this problem for a while now, so I though I'd
get some input from anyone more skilled with CSS than I am.
I'm actually trying to accomplish two things with this:...
|
by: Troy Piggins |
last post by:
If I use the code:
-----
<div style="text-align: center;">
<a href="photos.php?img=xx1.jpg">
<img src="xx1.jpg" style="padding: 10px;" />
</a>
<a href="photos.php?img=xx2.jpg">
|
by: TheLongshot |
last post by:
I just recently converted a few pages of my application to using master
pages. Problem is, in all of my content pages, the contents are
centered. I can't figure out why. The markup in the...
|
by: gentsquash |
last post by:
I'm trying to display a paragraph that has a centered
phrase,
such as this one,
in the middle of the paragraph. An example is the section
"End of semester project" on my course-page
...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |