0

I am developing mobile website in Eclipse tool(no plugins were used). It must support android,*blackberry*,ios,*windows* mobiles. I have five html files. Do i need to have seperate CSS files for each device & for each html files. Which would be optimistic method of adding CSS files?

And will all the 4 platform accept same set of codes or do i need to have any specific code/functions for different devices?

what is the height specifying format(i.e. px,em,%) to be used, so that webpage can get adjusted to different mobile screen sizes?

guri
  • 662
  • 2
  • 8
  • 26
  • possible duplicate of [Detect different device platforms using CSS](http://stackoverflow.com/questions/8037973/detect-different-device-platforms-using-css) – jacoz Jun 28 '13 at 09:25
  • I think the question is *should* not *how*? I think you should attempt to write a webapp to be platform agnostic whenever possible and only make exceptions when you need to for compatibility. – Aram Kocharyan Jun 28 '13 at 09:32

1 Answers1

1

What would be the reason for different stylesheets? if you use media queries with good break points you should be just fine using one stylesheet.

The optimum units to use would be em and %.

user319940
  • 3,267
  • 8
  • 38
  • 53