NationStates Jolt Archive


Calling all l337 web design people!

The Zoogie People
25-03-2005, 21:57
(site in question) (http://zoogies.l2p.net/blog)

If you can, look at this in Firefox, and then in MSIE. Behold the horizontal menu bar in the middle. Unless you're using MSIE, in which case, it isn't in the middle.

The bar is a <div> that is absolutely positioned. It is 560 pixels wide and has a margin-top of 240px. The left and right margins are set to auto. It should, by all rights, be centered! Why does MSIE not center it? Why?
Neo-Anarchists
25-03-2005, 22:04
It's because your webpage is possessed by demons. Firefox has an anti-possession filter, while IE does not. That's your problem.

:D
Eichen
25-03-2005, 22:06
(site in question) (http://zoogies.l2p.net/blog)

If you can, look at this in Firefox, and then in MSIE. Behold the horizontal menu bar in the middle. Unless you're using MSIE, in which case, it isn't in the middle.

The bar is a <div> that is absolutely positioned. It is 560 pixels wide and has a margin-top of 240px. The left and right margins are set to auto. It should, by all rights, be centered! Why does MSIE not center it? Why?
I do this all day, and am not fond of freebies...

But without looking, aren't you just doing it the hard way by not using center tags, or at least a centered table?
The Zoogie People
25-03-2005, 22:07
The <center> tag exists no longer.

Ah, curses, anti-demon filter.
Eichen
25-03-2005, 22:12
The <center> tag exists no longer.

Ah, curses, anti-demon filter.
Hell, I just do this for a living. DOn't mind me. :D

Really, people who think things like <center>=<scroll> are just inviting aggravation.
Just simplify, and your design life will be so much more easy for you.
Very nice design I might add, 'specially for a blog.
The Feylands
25-03-2005, 22:32
currently in the code of your website, it has the bar in a tag that looks like this
<DIV id=navvypoo></DIV>

Replace that with this

<DIV align="center" id=navvypoo></DIV>
That should do it.
The Zoogie People
26-03-2005, 03:18
Eichen, I'm not quite sure what you're getting at with <center>=<scroll>

At any rate, not even <center> works. I just tried it. :D The <div align="center" doesn't work either. MSIE is giving me a serious headache.
Randomea
26-03-2005, 03:59
Looked in Opera...that just chopped up your calendar.
ElleDiamonique
26-03-2005, 04:11
(site in question) (http://zoogies.l2p.net/blog)

If you can, look at this in Firefox, and then in MSIE. Behold the horizontal menu bar in the middle. Unless you're using MSIE, in which case, it isn't in the middle.

The bar is a <div> that is absolutely positioned. It is 560 pixels wide and has a margin-top of 240px. The left and right margins are set to auto. It should, by all rights, be centered! Why does MSIE not center it? Why?

I cannot offer anything to help you but, I wanted to say-
Very nice design for your blog and I especially love the name.
The Zoogie People
27-03-2005, 20:57
Looked in Opera...that just chopped up your calendar.

Hehehehe. The calendar began to bother me, because it made my xhtml invalid (and it wasn't even strict xhtml, it was transitional) so I nixed it. I could find no way to edit the calendar code.

I looked up some wonderful PHP function that enabled me to set a different class name for any browser that is not Gecko, so it'll look alright in IE (I used percentages...50% width; 25% margin on either side. Not as desirable, esp. in low resolutions, but it works...for now).


I cannot offer anything to help you but, I wanted to say-
Very nice design for your blog and I especially love the name.


Thanks. The design is basically default Kubrick with the background images turned off and a different logo :)
The Mindset
27-03-2005, 21:22
IE has an incomplete implementation of the CSS standard, the most perplexing of which regarding cross browser absolute positioning. I've encountered this problem before, and got around it simply by writing two seperate CSS stylesheets for each browser, and using a short Javascript to load whichever is relevant to the user's browser.
Keruvalia
28-03-2005, 02:20
Set up a script to determine browser. If the browser is MSIE, reroute to tubg*** (yeah, you know) and let them deal with their own hell.
Passive Cookies
28-03-2005, 02:27
Set up a script to determine browser. If the browser is MSIE, reroute to tubg*** (yeah, you know) and let them deal with their own hell.
lol. Somehow i dont think that was the solution he was looking for.
Keruvalia
28-03-2005, 02:37
lol. Somehow i dont think that was the solution he was looking for.

I know ... but it's the best one so far. :D