Last post Jan 24, 2007 03:13 PM by awj
Jan 23, 2007 01:26 PM|ofir23|LINK
i have a aspx mobile page that works ok!
i try to add a stylsheet css or to add to the body tag of the page "margin_top" atributte with no succes.
when the page renders whatever i write between the body or the head tag is earsed.
(the only thung thats work is when i write in the form tag title it write this between the head tag,but i want style there or in the body tag)
thanks for the help
Mobile Web Forms Visual Studio 2003
Jan 24, 2007 03:13 PM|awj|LINK
Are you certain that the device you're using recognises CSS? If it doesn't recognise CSS then it won't matter what style tags you use, the browser will ignore them.
A quick way of determining whether the device recognises CSS is to modify the body tag:
If all the text on the screen is displayed in red then CSS is being recognised. If the device doesn't have a colour screen then it's probably fair to assume that it won't recognise CSS.