Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-19 08:31:16

neoformat
Member
From: Russia
Registered: 2007-02-17
Posts: 37
Website

Internet Explorer's Bugs

Hello world,

I am newbie in web development and have problem with CSS. I am learning, but cant understand one thing. On my page I want to put image to one place for this I have created class

#menu

{
position: absolute;
top: 30px;
right: 120px;
height: 200px;
width: 100px;
padding: 125px;
}

and then to the default page I have add this

<div id=“menu”>

…content…

</div>

Content will appear on a page but it covers big area so all elements that are in this area are not accessible.

What is wrong? Thank u.

Last edited by neoformat (2007-03-26 08:48:09)

Offline

#2 2007-02-19 10:09:31

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Internet Explorer's Bugs

The declaration position: absolute; takes the #menu out of the normal flow of the document. In other words, it gets positioned over all other elements on the page.

Do you have an example page? And can you explain what you’re trying to accomplish?


Prrrrrrrr

Offline

#3 2007-02-19 10:11:05

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Internet Explorer's Bugs

It’s because you’re using absolute positioning, which removes the element out of page flow (ignores the location of all other elements).

Offline

#4 2007-02-19 10:56:32

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Internet Explorer's Bugs

If you are beginning in the web world, I would suggest you stay away from absolute and relative positioning for the time being. Once understood the concept is simple, but UA (web browsers) are cramped with bugs in these areas, and crafting something good is not so easy.

Offline

#5 2007-02-19 11:47:45

warmrobot
Member
From: Moscow, Russia
Registered: 2007-01-22
Posts: 31
Website

Re: Internet Explorer's Bugs

Jeremie wrote:

UA (web browsers) are cramped with bugs in these areas, and crafting something good is not so easy.

Agreed. My colleque find a simply way to crash IE6 with valid CSS. Try it, if you want! (It is because negative z-index, I think).

And another one note: I think Dreamweaver developers advertise absolute positioned elements like Layers in Photoshop. That “khowledge” will became source of problems in future.

Offline

#6 2007-02-19 13:41:02

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Internet Explorer's Bugs

Simple: do not, ever, never, use dreamweaver.

Offline

#7 2007-02-19 16:50:27

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Internet Explorer's Bugs

Because textpattern is not really a “theme” driven CMS, it assumes a working knowledge of layout (CSS or tables) before you can really get going. Textgarden has some good layout templates you can start with, and perhaps one of them is kinda like how you would like your site to look. You can learn a lot by seeing seeing how something is already built and adapting it, so…

Here’s a little advice…
  1. Download the template that looks most like what you envision for your site
  2. Install it, then examine the resulting site
  3. Examine the back-end, snoop around the forms, pages, style and sections tabs to see how it all works
Then…
  1. If you use Firefox, download and install firefox’s Developer tools (this has an “edit CSS” feature that allows you to edit the CSS in real-time in the sidebar. This just means you can immediately see the effects of any tweaking you do, and accelerates your understanding of CSS.)
  2. Load a Page
    • look at the HTML source to see how it’s built
    • open the “editCSS” sidebar and start tweaking the CSS (and see your changes immediately).

When I started working like that, I learned stuff much more quickly

[edit] it’s textgarden.org, not .com, sorry.

Last edited by mrdale (2007-02-19 16:52:57)

Offline

#8 2007-02-19 17:15:01

neoformat
Member
From: Russia
Registered: 2007-02-17
Posts: 37
Website

Re: Internet Explorer's Bugs

Yes I work with that development tools for Firefox, but I cant understand how can it works without tables… My web is already ready. I just need to understand how does it work – boxes. I cant find kinda theme :o(

Last edited by neoformat (2007-02-19 17:15:25)

Offline

#9 2007-02-20 00:46:44

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Internet Explorer's Bugs

Tables are for the rpesentation of tabular data. Using tables for layout is a very poor practice. May I recommed http://www.w3schools.com/ for some good tutorials.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#10 2007-02-20 16:20:43

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Internet Explorer's Bugs

Time to learn about floats

The other tutorials are also worth their weight in Vodka :)

Offline

#11 2007-02-21 08:53:40

neoformat
Member
From: Russia
Registered: 2007-02-17
Posts: 37
Website

Re: Internet Explorer's Bugs

Thank you, now I know how it works. I have placed all elements of a website to correct places. In Firefox it looks like great, but when I opened this page in IE6 – everything are mixed and I am on the begining again :o(

What problem is with IE? Moderator, can u help me? Here is my URL http://dimas.borec.cz/html/problem.html

Last edited by neoformat (2007-02-22 16:22:13)

Offline

#12 2007-02-22 19:00:15

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Internet Explorer's Bugs

That URL returns 404 Page not found. IE has many quirks. I notice the hacks in the above CSS. You’de be better off using IE conditionals rather than hacks. It will make your css easier to debug and much more maintainable. Does the site break in IE7 or just in 6?


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

Board footer

Powered by FluxBB