Pages: 12

  2008-12-15 20:43:21

Cryogenix
» FTalkAddict
FTalk Level: zero
333
0
1969-12-31

Newbie Guide! [b]Remove this, if someone posted it earlier.. [/b] its annoying to see ur made layouts position is not in the correct area in other browser.. im a firefox user, so everytime i make l

an easier way of acomplishing this would be to use either the underscore hack (for ie 6 and below) or the pound hack (for ie 7 and below). for example, your general width is 400px, but in IE it is either 5 pixels shorter or longer, you can do an adjustment in just one css file like this: [quote][b]width: 400px;[/b] //for most browsers like FF, Opr, Sfr [b]#width: 395px;[/b] //IE7 and below will use this instead of 400px [b]_width: 405px;[/b] //IE6 and below will use this instead[/quote] you might be wondrin what's the difference between the # and _ when they are both IE? well sometimes, even IE6 & 7 can differ. but of course it's a very minor thing if you think about it. you can simply opt to use just one depending on which browser you are making adjustments to. but hey, i hope this helps.

Last edited by Cryogenix (2008-12-15 20:45:58)

Pages: 12

Board footer

© 2025 F Talk

Current time is 00:51

[ 12 queries - 0.007 second ]
Privacy Policy