Kick the Tires

Advomatic - March 10, 2005 - 16:23

So I built a new blog and ported the spreadfirefox theme to meet my needs. I'm planning on adding a generic version of my theme (Dead or Alive) to the drupal community, but I need people to kick the tires first. Let me know what browser problem and errors come up at the site. Also, if you are a political junkie like myself, feel free to help me come up with a better name for it, by voting in the poll.

http://www.impolitic.org

Thanks,

Mordecai
Advomatic.com

take IE 6

micha_1977 - March 10, 2005 - 16:31

and look at your site, looks completely broken

Thanks

Advomatic - March 10, 2005 - 16:42

Built it on my mac...was afraid this would happen. If any css experts can see what is causing that, I'd love to know.

Mordecai
-------
http://www.advomatic.com

Tackling IE6

Steven - March 10, 2005 - 20:27

There's nothing like IE6 to crap all over perfectly valid CSS. Here are some tips for getting IE6 sorted out:

  • Borrow/get a Windows machine. There's no replacement for being able to try out various tweaks yourself immediately. Asking others how it looks is a lot slower and harder to debug.
  • If you can't get a Windows machine, try out browsercam. You can get a trial account, it allows you to take screenshots of your site on various browsers. Not ideal, but certainly better than "well, the header sort of looks wrong".
  • Learn how to make IE-only CSS. Almost all fixes for IE6 require some special rules which should be ignored by the other browsers. There are various methods for doing this, you can google around if you want. I use the underscore hack: prefix any CSS property name with an underscore and it is interpreted only by IE (e.g: a { _color: red; } ).
  • Get familiar with CSS: if there are some areas that you're not entirely sure about in CSS, the best thing to do is to read the CSS specifications on w3.org. Don't worry, they are quite readable for non-programmers. It is hard to debug odd behaviour if you are not 100% sure what the right behaviour is. For example, read about how margins combine/collapse, how floats stack, how clears work, what 'auto' width really means, etc.
  • Get familiar with IE's bugs. They have colorful names, are easy to google for and have well-tested work arounds. You can divide them into:
    • Rendering/drawing bugs (peekaboo bug, guillotine bug, ...)
    • Positioning bugs (float margin doubling, justify + italic, ...)
    • Unsupported CSS (:hover only works on links/anchors, almost no CSS2 selectors work, ...)
  • Don't re-invent the wheel: there are ready-to-use CSS layouts out there (google helps, e.g. "piefecta" "fluid three column layout", etc).

I took a screenshot. I think the left sidebar is invisible because the main area's background covers it. Exactly why it happens I'm not sure, but I think the underlying structure for your columns is just not IE-compatible. Replacing it with a tried-and-tested solution might help.

I hope you can fix it, because the site looks smashing on my Firefox. The only thing I dislike is how it is left-aligned. The Piefecta layout could help with this.

PS: On firefox, the footer is disconnected from the main background (there is a space as tall as the search box between them). I don't think this is intentional.

--
If you have a problem, please search before posting a question.

Thanks

Advomatic - March 10, 2005 - 21:04

Thanks for all the tips. Yea I was struggling with the layout because the center column can't expand. Couldn't find a way to get an image bg to expand. I'll check out piefecta. In the mean time, I've made all columns static and absolute, so that should stop the IE bugs for the most part. Again thanks for all the good advice.

-------
http://www.advomatic.com

Firefox and konquror are fine.

Bèr Kessels - March 10, 2005 - 16:52

Your site looks great in Konqueror and Firefox.
But a small warning: You use a lot of images. That makes the site inaccessible for a lot of users and bots etc.
you should at least make the titles of the blocks degrade IMO (e.g. hide them useing CSS).

And if this solved you problem, would you be so kind to report back that it helped? This will help others whom are looking for the same solution.

[Ber | Drupal Services webschuur.com]

Not sure I follow. How do

Advomatic - March 10, 2005 - 16:55

Not sure I follow. How do you make the titles of blocks degrade?

-------
http://www.advomatic.com

Use proper CSS

Bèr Kessels - March 10, 2005 - 17:08

You now seem to not print them at all. You should use visibility:none to hide the titles. That way people without images can still read whats going on.

ON a sidenote: would you like to publish your theme on themegarden (theme.drupal.org)? If so, please uplaod your theme on that site, or send me a tarball by mail. berkessels curlythingy gmx dot net

[Ber | Drupal Services webschuur.com]

Gotcha

Advomatic - March 10, 2005 - 17:13

Yes, I will. After I clean up the code, I'm going to make a generic version of the theme (with far less images), and will put it on themegarden. Cheers.

-------
http://www.advomatic.com

visibility:none

micha_1977 - March 10, 2005 - 17:44

im not sure what you mean

if its set to visibility:none, the content wont be shown, but the element takes the place it would need (css 2.1) ...

maybe text browser or JAWS show/speak the "hidden" element, for all others - e.g. user who dont want to download the images - it should be invisible

(like display : none, which dont reserves the space for the hidden element..but is spoken out by JAWS and similiar speech browsers)

Image replacement

Steven - March 10, 2005 - 22:07

Try this: http://www.stopdesign.com/articles/replace_text/

--
If you have a problem, please search before posting a question.

Looks Pretty Good

JoeCotellese - March 10, 2005 - 17:59

I like the old west theme. Seem to render properly on Firefox/Linux.

Coolcrap
Tech toys, gadets and gizmo news from around the net.

Not working in Maxthon

hpk - March 10, 2005 - 18:43

Oops sorry to inform you but your site is all broken in Maxthon..

hpk a.k.a. vikram
[De-centralizing the central issues]
National Institute of Design, India

Maxthon==IE

oNyx - March 10, 2005 - 22:43

Maxthon==IE

So it's a known problem.

The page looks good in firefox. One piece which isn't that nice is the horizontal scrollbar in 800x600 (the original spreadfirefox theme doesn't have that problem).

Thumbs up

media girl - March 10, 2005 - 23:30

Very nice, and very clean for so much decoration. I just had to blogroll ya!

--
mediagirl.org

 
 

Drupal is a registered trademark of Dries Buytaert.