Jump to content


Photo

CSS help


  • Please log in to reply
7 replies to this topic

#1 Tucker

Tucker

    Member

  • Member
  • PipPip
  • 55 posts
  • Location:Sydney - Australia
  • Interests:Travel, Airplanes, Acting, Astronomy, Science, Music, Computing and etcetera.
  • SourceForge IDzypherone

Posted 13 May 2007 - 08:37 AM

I hate IE I hate how it never works with IE on my first attempt. I have been working on a new site, everything is beginning to work out so I have begun to style it slowly, and things look fine until you try to view it on IE. Any tips on how to get it to work with IE without having to re-style it?

#2 Ric

Ric

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 1,535 posts
  • Gender:Male
  • Location:Cambridge,UK
  • Interests:Electronics
    Internet in general
    Open source projects
  • SourceForge IDmpgcan
  • Wiki ID: Ric
  • Main OS: Windows XP

Posted 13 May 2007 - 02:49 PM

I use KISS keep it simple and stupid so it works in IE first.

When another version of IE pops up its always a “kiss” of death.

I would recommend never ever use Firefox or Opera they are too standard compliant and just make life far to easy. :(

No stick with IE they have introduced another new instruction with the release for IE7 making your life that little easier. I find these two-instructions works fine:

<!--[if IE 6]>Special instructions for IE 6 here<![endif]-->
<!--[if IE 7]>Special instructions for IE 7 here<![endif]-->

They give you the ability to target CSS directly for a particular version using conditional comments.

Need more info follow this link?
http://www.quirksmod...ss/condcom.html

Seriously you have to live with these non-standard compliant browsers so bite the bullet and except the need to re-style part of your CSS. Try to avoid any hacks in your main CSS use the “if selector comments” to target the problem areas. :rolleyes:

The one thing I could not find in either Firefox or Opera was an equivalent “if selector comment” :)

I honestly do dread firing up IE to check any code be it CSS or JavaScript. :lol:

#3 Tucker

Tucker

    Member

  • Member
  • PipPip
  • 55 posts
  • Location:Sydney - Australia
  • Interests:Travel, Airplanes, Acting, Astronomy, Science, Music, Computing and etcetera.
  • SourceForge IDzypherone

Posted 14 May 2007 - 06:46 AM

At least someone agrees with me here. But this is what I don't get. I took a copy of a friend's CSS coz it looked cool, and altered to try something, that was just the positioning of one of the elements, suddenly on IE it went from being centered to everything positioning to the left??? Do you have any idea why this would be the case?

#4 kalpz

kalpz

    Beta Team Member

  • Beta Tester
  • PipPip
  • 132 posts
  • Location:New Zealand
  • IRC Nickname: LifeSteala
  • Main OS: Windows Vista

Posted 15 May 2007 - 04:37 AM

Can we have a look at what you've got?
ATOMIC Web Hosting 2007 - 2011
Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail)
E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/

#5 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 16 May 2007 - 07:32 PM

lol, Tucker, you didn't post the link and i already deletd the msg. :rolleyes: I also hate this kind of problem... Getting things to work in multi-browsers.. lol. But, you know it might just be a simple piece of mistake or something that you are missing... Repost the link again.

#6 Tucker

Tucker

    Member

  • Member
  • PipPip
  • 55 posts
  • Location:Sydney - Australia
  • Interests:Travel, Airplanes, Acting, Astronomy, Science, Music, Computing and etcetera.
  • SourceForge IDzypherone

Posted 20 May 2007 - 06:07 AM

man that sucks the reply i posted never posted, anyway here is the link, what i wrote is that i havent updated the site it has alot of css info that some arent correct any longer. which i iwll be updating within the next 24-48 hours

#7 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 20 May 2007 - 09:28 PM

:rolleyes: lol, where is it again, lol, you forgot to post it...

#8 metaltailz

metaltailz

    Beta Team Member

  • Beta Tester
  • Pip
  • 44 posts

Posted 31 May 2007 - 04:09 PM

If you need help with the CSS go to http://w3schools.com and read their examples of CSS, it is great review and they have proper code that works in almost all browsers.

You can also go to http://infohound.net/tidy/ which will clean up your HTML and CSS but only if the CSS is in the HTML file.

Hope you get it working.
IPB Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users