473,385 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

escaped div??

i'm getting very frusterated with this..i was hoping someone could tell
me what's going on.
here's the code..

<div id="main">
<div id="header">
<h1>mnbayazit</h1>
<p>a journey into the mind of m. n. bayazit</p>
</div>

<div id="content">
lorem ipsum... blah blah blah
</div>

<div id="nav">
<h1>nav</h1>
<ul>
<li><a href="">blog</a></li>
<li><a href="">forums</a></li>
<li><a href="">calendar</a></li>
<li><a href="">gallery</a></li>
</ul>
<h1>categories</h1>
<ul>
<li><a href="">life</a></li>
<li><a href="">web design</a></li>
<li><a href="">work</a></li>
<li><a href="">starcraft</a></li>
<li><a href="">programming</a></li>
</ul>
</div>
</div>

now all you really need to know is that "main" has a 5px solid red
border around it..

now in IE this border surrounds the entire page as expected, but in
Firefox it only surrounds the header, as if the first </div> is ending
it. how can I fix this??

Jun 22 '06 #1
7 1090
Mark wrote:
now in IE this border surrounds the entire page as expected, but in
Firefox it only surrounds the header, as if the first </div> is ending
it. how can I fix this??


You didn't provide your stylesheet! But I'll bet it has something to do with
http://www.complexspiral.com/publica...aining-floats/

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jun 22 '06 #2
Mark wrote:
i'm getting very frusterated with this..i was hoping someone could tell
me what's going on.
here's the code..

now all you really need to know is that "main" has a 5px solid red
border around it..
Ah, yes. The old psychic code trick. Wait! Wait for it! Ah ha! I have
channeled Obi Wanna Cody and he says:
See <http://css.maxdesign.com.au/floatutorial/> and
<http://positioniseverything.net/easyclearing.html>.
now in IE this border surrounds the entire page as expected, but in
Firefox it only surrounds the header, as if the first </div> is ending
it. how can I fix this??

IE is incorrect.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 23 '06 #3
Jim Moe wrote:
Mark wrote:
i'm getting very frusterated with this..i was hoping someone could tell
me what's going on.
here's the code..

now all you really need to know is that "main" has a 5px solid red
border around it..

No that's not all we need to know.
Ah, yes. The old psychic code trick. Wait! Wait for it! Ah ha! I have
channeled Obi Wanna Cody and he says:
See <http://css.maxdesign.com.au/floatutorial/> and
<http://positioniseverything.net/easyclearing.html>.
now in IE this border surrounds the entire page as expected, but in
Firefox it only surrounds the header, as if the first </div> is ending
it. how can I fix this??

IE is incorrect.


And so is Firefox since with what is provided, both IE and Fx render alike.

--
Gus
Jun 23 '06 #4
Gus Richter wrote:

IE is incorrect.

And so is Firefox since with what is provided, both IE and Fx render alike.

True. That's the trouble with psychic code debugging. A lot a
not-really-there bits confuse things.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 23 '06 #5
Jim Moe wrote:
Gus Richter wrote:
IE is incorrect.


And so is Firefox since with what is provided, both IE and Fx render alike.

True. That's the trouble with psychic code debugging. A lot a
not-really-there bits confuse things.


Hey - I have this web page that isn't working right. Can you tell me how
to fix it?
--
"The most convoluted explanation that fits all the available and made-up
facts is the most likely to be believed by conspiracy theorists"
Jun 24 '06 #6
Tony wrote:
IE is incorrect.

And so is Firefox since with what is provided, both IE and Fx render alike.

True. That's the trouble with psychic code debugging. A lot a
not-really-there bits confuse things.


Hey - I have this web page that isn't working right. Can you tell me how
to fix it?

Have you tried shaking your woojum beads and impaling a scarub? Oh, and
don't forget the plastic chicken and pyramid.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 24 '06 #7

Jim Moe wrote:
Mark wrote:
i'm getting very frusterated with this..i was hoping someone could tell
me what's going on.
here's the code..

now all you really need to know is that "main" has a 5px solid red
border around it..

Ah, yes. The old psychic code trick. Wait! Wait for it! Ah ha! I have
channeled Obi Wanna Cody and he says:
See <http://css.maxdesign.com.au/floatutorial/> and
<http://positioniseverything.net/easyclearing.html>.
now in IE this border surrounds the entire page as expected, but in
Firefox it only surrounds the header, as if the first </div> is ending
it. how can I fix this??

IE is incorrect.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


thanks for the links guys, these help explain some of the problems i
was having with floats.. i'm not sure if that relates to my border
problem, but i'll look into it more.

Jun 27 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: madsgormlarsen | last post by:
$tdsubclass=<<<bumelum <td><a href="http://www.ygabel.php/$artnr" ="" onmouseout=" function onmouseout(event) { window.status = "Done"; return true; } " onmouseover=" function...
0
by: Rob | last post by:
Hi all, I have the following info in my database ID | Name ================ 1 | Author\'s As you can see, the name value has been escaped. Now, the question is, how do you match on a...
8
by: Jay | last post by:
Is there a definitive list of characters that must be escaped in order to insert them into a text field in mysql? TIA, Jay
1
by: Rob Morrison | last post by:
The sample below demonstates an issue that I cannot seem to workaround. I have an Url with a value that contains an ampersand. I have escaped the Url using both the hex value and it works fine...
4
by: Trev | last post by:
Hi everyone, Thanks to all who have helped with various issues in the past. I've come up with a new one though: I've run some html through a javascript converter; basically it takes the html and...
12
by: Torsten Bronger | last post by:
Hallchen! I need some help with finding matches in a string that has some characters which are marked as escaped (in a separate list of indices). Escaped means that they must not be part of...
1
by: bwilcoxis | last post by:
I have an externally generated xml file that correctly escaping characters such as apostrophes and quotes and rendering them as &amp;#8217; and &amp;#39; the xml file has the following...
9
by: Michael Goerz | last post by:
Hi, I am writing unicode stings into a special text file that requires to have non-ascii characters as as octal-escaped UTF-8 codes. For example, the letter "Í" (latin capital I with acute,...
0
by: hash4sp | last post by:
Hello ! I have a problem with the escaped charactes which I am sending to an aspx page. This is an escaped (javascript) %u0646%u062A%u0627%u0626%u062C%20%u0627%u0644%u0628%u062D%u062B which i...
0
by: hash4sp | last post by:
Hello ! I have a problem with the escaped charactes which I am sending to an aspx page. This is javascript escaped characters %u0646%u062A%u0627%u0626%u062C%20%u0627%u0644%u062 8%u062D%u062B ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.