![]() |
CSS Programers In Here
Is it possible to write a css file to make a normal site appear normal in a mobile phone. Remembering that most phones have a viewing space of 250 p to 340p.
|
I do some CSS...
. |
Yes, that's possible if you separate the document structure (XHTML) from the design (CSS). Then you can use something like
<link rel="stylesheet" media="screen" href="ksdjhgksdhg.css"> <link rel="stylesheet" media="handheld" href="fkgdjhfiklli.css"> |
Quote:
|
Quote:
|
donborno is correct:
Valid CSS Media Types: all Suitable for all devices. aural Intended for speech synthesizers. See the section on aural style sheets for details. braille Intended for braille tactile feedback devices. embossed Intended for paged braille printers. handheld Intended for handheld devices (typically small screen, monochrome, limited bandwidth). Intended for paged, opaque material and for documents viewed on screen in print preview mode. Please consult the section on paged media for information about formatting issues that are specific to paged media. projection Intended for projected presentations, for example projectors or print to transparencies. Please consult the section on paged media for information about formatting issues that are specific to paged media. screen Intended primarily for color computer screens. tty Intended for media using a fixed-pitch character grid, such as teletypes, terminals, or portable devices with limited display capabilities. Authors should not use pixel units with the "tty" media type. tv Intended for television-type devices (low resolution, color, limited-scrollability screens, sound available). |
Even though you can do it with css with media types a lot of sites still will dedicated a subdomain like m.domain.com just because they'll have some variations in the code as well.
|
so nice shit here guys, thanks, am going to work on one today, and will post it so you can test it on your mobile
|
Damn, I just recently found out there are numerous "types"
but braille... reminds me of this movie, whos seen it. Sneakers. Whistler the blind guy is reading a braille playboy magazine... Funny.... mmmmmm shes got nice bumps |
|
google "mvc"
|
| All times are GMT -7. The time now is 06:45 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123