Page layout with CSS - Layers and CSS Positioning Support Product Page

This topic was archived

Invisable CSS based Table in IE

Asked 27 Oct 2003 18:04:23
1
has this question
27 Oct 2003 18:04:23 Dave Anderson posted:
Hmmm. I have this code in global.css:

#content {
style="position:absolute;
left:103px;
top:34px;
background-color: #FF00FF;
border-left: medium solid #000000;
padding: 10px;
position: absolute;
width: 350px;
visibility: visible;
height: 250px;

And this code in my test.htm page (slash reversed for this post):

div id="content">This is some content<\div>

When I preview the page in IE6, only the "This is some content" text appears at the top, left. When I preview in Mozilla, I get the nice pink rectangle with "This is some content", but it is not absolutely positioned either.

I started out by drawing a Layer on a blank page, and then converting it to a CSS as per the tutorial.

Any help would be appreciated!

Thanks

Dave Anderson

Replies

Replied 27 Oct 2003 18:24:31
27 Oct 2003 18:24:31 Rachel Andrew replied:
Hi Dave,

take out the style=" before position: absolute - you only need that if it is an inline style.

Rachel

Rachel
www.edgeofmyseat.com
Replied 27 Oct 2003 18:40:22
27 Oct 2003 18:40:22 Dave Anderson replied:
Rach,

You are too cool for words...

Thanks!

Dave

Reply to this topic