![]() |
applying the if IE conditional statement
Hi i have a problem where FF displays different on doing padding than does IE so i think i need to do the if IE statement.
I the past i have used the if ie inside of the head before on a html, file but this is going inside a php file. Code:
<!-- for ie this works -->thanks i just tried this no good, the content is all over the place lol Code:
|
Got it whoo hooo my if IE was ok, but my IF NOT above was all wrong in syntax. Had no idea has to add the extra wrapping there.
This below works.. :thumbsup: Code:
|
Aside from the IE thing, deprecated stuff, ec, this code:
Code:
width="150px"Code:
width="150" |
oops my bad thanks, old habbits die hard lol..
|
IE uses the same padding as all the other browsers when in standards mode - so if it is not then you either don't have a doctype or IE isn't recognising it properly. No browser specific coding is ever required for padding when your page is correctly coded.
|
| All times are GMT +1. The time now is 05:19 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.