Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / June 2006



Tip: Looking for answers? Try searching our database.

escaped div??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark - 22 Jun 2006 02:50 GMT
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??
David Dorward - 22 Jun 2006 07:36 GMT
> 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/publications/containing-floats/

Signature

David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                    Home is where the ~/.bashrc is

Jim Moe - 23 Jun 2006 08:33 GMT
> 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.

Signature

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

Gus Richter - 23 Jun 2006 21:46 GMT
>> 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:
[quoted text clipped - 6 lines]
>>
>   IE is incorrect.

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

Signature

Gus

Jim Moe - 23 Jun 2006 22:29 GMT
>>   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.

Signature

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

Tony - 24 Jun 2006 01:23 GMT
>>>  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?

Signature

"The most convoluted explanation that fits all the available and made-up
facts is the most likely to be believed by conspiracy theorists"

Jim Moe - 24 Jun 2006 07:35 GMT
>>>>  IE is incorrect.
>>>
[quoted text clipped - 5 lines]
> 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.

Signature

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

Mark - 27 Jun 2006 20:39 GMT
> > i'm getting very frusterated with this..i was hoping someone could tell
> > me what's going on.
[quoted text clipped - 17 lines]
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.