08-19-2008 10:53 AM
Hi there
I'm a Web Developper and a newby with BB. So i would like to know, after few test non-succesfull, if it is possible to use PADDING on my CSS on the BB navigator? ex: padding-left: 3px; or simple padding: 0px 0xp 0xp 0px;
I'm on a 8830 terminal mobile 4.2.2.176 and the navigator is 4.2.2 Openwave (wap)
other thing, is there a way to make this javascript work on BB. http://www.devpdv.com/doug/protocoles.html
I'm trying to give the opportunity to poeple to change the font size with the aA link (but maybe it no possible on BB!)
It is because i got 3 css on this page? (by the way i'm using @media handheld and @media screen on my stylesheet to change design)
Hope to see help and have been clear ![]()
Solved! Go to Solution.
08-19-2008 11:14 AM
hello,
the url you provided is not correct... I see errors with Mozilla Firefox.
including :
you are using the padding-width: property which does not exists in CSS2. You can use padding: .
http://www.w3.org/TR/REC-CSS2/box.html#padding-pro
you are using the Element method getBoxObjectFor() which is deprecated and should use instead getBoundingClientRect()
moreover, in the HTML code, when I look at it in Firefox, the li elements have no **action attribute so... can't trigger any javascript function
08-19-2008 11:48 AM
thanx Xandrex
hmm yep i see i have put a padding-width in css, but it was just to trying something (and by the way i don't understand what meen padding-width!!!) so u tell me that i can use padding: ? doesn't seem to work on my side ![]()
By the way, i have arrange the page and now u can see the AA for my javascript trigger to change font size. It a onclick="setActiveStyleSheet('standard'); return false;", but like i said maybe this javascript doesn't work on BB!!
Thanx for the help Xandrex
ps: sorry for my english ![]()
08-19-2008 12:00 PM
08-19-2008 12:16 PM
remember that when developping, it is highly recommended to verify if your HTML is clean. Same for the CSS.
=> http://validator.w3.org/
=> http://jigsaw.w3.org/css-validator/
for the English, pas de pb, je comprends tout. ![]()
anyway, I think you needn't care about the font size. It's the user's choice.
08-19-2008 01:19 PM