Website help...

This forum is for members to discuss topics that do not relate to anime music videos.

Website help...

Postby Pwolf » Mon Dec 22, 2008 11:09 pm

I'm in the process of recoding my website and I'm moving away from tables... tables made it easy cause my current site looks fine in all browsers but this CSS thing is causing some stupid little issues... So far it looks fine in IE7 but when I move to firefox its off...

http://www.pwolfamv.com/3.0/index.php

Any of you who have experience with this mind giving me some advice?
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: Website help...

Postby Kariudo » Tue Dec 23, 2008 4:32 am

what I did to get around IE and its delusions of grandeur (read: programmer's decision that IE was important enough to ignore/make their own web standards)
was to make separate CSS files.
One for IE
One for pretty much everything else |:

as of IE7, the following trick still worked (taken from my site's code)
Code: Select all
<!--[if IE]><link rel="stylesheet" type="text/css" href="ie.css" /><![endif]-->
<!--[if !IE]>--><link rel="stylesheet" type="text/css" href="style.css" /><!--<![endif]-->
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Re: Website help...

Postby ngsilver » Tue Dec 23, 2008 9:21 am

Yeah, what kariudo said. Thanks to IE not following web standards you either have to use old html tricks (such as tables) or create separate style sheets for IE, then tweak those sheets until they look the way you want them to.
ImageImage
ImageImageImage
User avatar
ngsilver
The Hookah Guy
 
Joined: 28 Jun 2003
Location: Detroit area
Status: Calm Your Miniature Colorful Horses

Re: Website help...

Postby guy07 » Tue Dec 23, 2008 2:12 pm

Woot. Tables.
User avatar
guy07
 
Joined: 08 Sep 2003
Location: T.O.
Status: Back in beard.

Re: Website help...

Postby Pwolf » Tue Dec 23, 2008 3:29 pm

Got it working now with a single .css file. haven't tested it with opera or older versions of IE though.
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests