eng_mazzy
eng_mazzy

Reputation: 1049

set fixed dimension of a div without depend to the devices where it is showed

in my page using jquery mobile I have a div and I would fixed the width without it depends to the devices where it is showed.for example in my iphone the div is showed correctly because the screen is small while in my ipad the div takes all the screen and it is really bad...how can I fixed its position?

Upvotes: 0

Views: 69

Answers (2)

imaginethepoet
imaginethepoet

Reputation: 864

This is just general but you want to look at CSS 3 media queries to customize your layout specific to a device.

Upvotes: 0

Dirk Diggler
Dirk Diggler

Reputation: 865

<div style='width: 100px'></div>

Upvotes: 1

Related Questions