Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-30 15:23:11

yaform
Member
From: Lund, Sweden
Registered: 2005-11-03
Posts: 20
Website

The mystery of the disappearing / appearing Explorer sidebar

Long title :)

Well, I got some Pages, and as far as I see, they are built in the same way with divs and uls, but my first page is not showing the sidebar in the sidebar, while the other does. All when looked at in Explorer (Safari, Firefox are ok). I would have adressed it Explorer, if it wasnt for the fact that the other pages are working with the sidebar.

I have xhtml-validated it. What do I do wrong?


all we need is some creactivism

Offline

#2 2006-01-30 15:57:49

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: The mystery of the disappearing / appearing Explorer sidebar

Notice that the sidebars are not dissappearing but being wrapped under the main column. Looks like some width problems in IE, try changing your widths for the sidebars to a few pixels smaller and see if that helps.

Offline

#3 2006-01-30 22:07:49

kevinashworth
Member
From: Massachusetts
Registered: 2004-07-30
Posts: 26
Website

Re: The mystery of the disappearing / appearing Explorer sidebar

Could be widths, as tinyfly says. But I notice lots of validation errors.
http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fwww.yaform.se%2F

Ignoring the errors about color, there are still plenty to correct, as a starting place.

Offline

#4 2006-01-30 23:58:46

yaform
Member
From: Lund, Sweden
Registered: 2005-11-03
Posts: 20
Website

Re: The mystery of the disappearing / appearing Explorer sidebar

Have been playing around with the sidebar width now. If I change the margin-left in my left_colums stylesheet to 24px it will appear at the right side, but then it also will be forced to long to the right on the other Pages. Plus – it will look horrible at Firefox, and only bad at Explorer

The thing is, the CSS is identical for the other Pages (look in the navbar), so if there was a problem, it should appear there to. But it does not.

The CSStags for the same things are same, and the only thing that is diffrent is a bit of text in the sidebars. It got to be something else, and I can not figure out what…

Is there no CSS king out here that could help me make it look good at both Explorer and Firefox / Safari? And I will learn something from that solution.

At all Pages, the following code is there before the break to the side bars

<pre>
<code> div id=“left_columns” div id=“sidebars” div id=“sidebar” [whatsoever text bla bla bla…] div id=“sidebar2”
</code>
</pre>

and the css used are the following:

<pre>
<code>
#left_columns
{ float: left; width: 320px; padding: 0; margin-left: 38px;
}

#sidebars
{ float: left; margin: 0; margin-top: 12px; width: 310px;
}

#sidebar
{ padding: 0; margin-top: 0; margin-left: 0; font: 1em Verdana, Arial, Sans-Serif; color: #888888; width: 146px; float: left;
}

#sidebar2
{ padding: ; margin-top: 0; margin-left: 0; float: right; font: 1em Verdana, Arial, Sans-Serif; color: #888888; width: 146px;
}
</code>
</pre>
I dont know if this has somethong to do with it

<pre>
<code>
#sidebar form
{ margin: 0; margin-left: 0;
}
</code>
</pre>

Last edited by yaform (2006-01-31 16:26:20)


all we need is some creactivism

Offline

#5 2006-01-31 21:06:57

yaform
Member
From: Lund, Sweden
Registered: 2005-11-03
Posts: 20
Website

Re: The mystery of the disappearing / appearing Explorer sidebar

Hmm, could this has something to do with it in some way? Cause when i slapped that in above the sidebars, same thing happend in both Safari and Firefox. The bars appeared in the end of first column instead.

<pre>
<code>
div class=“clear” /div <code>
</pre>

Good, I wish I was a greater CSS geek…

Last edited by yaform (2006-01-31 21:09:43)


all we need is some creactivism

Offline

Board footer

Powered by FluxBB