Calling Web / Html coders - Help need... Chalanachithram.com | Topics | Search
Hide Clipart | Log Out | Register | Edit Profile

Last 30 mins | 1 | 2 | 4 hours     Last 1 | 7 Days

Chalanachithram.com DB » New TF Industry Related » Archive through October 25, 2013 » Calling Web / Html coders - Help needed « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Thokkalohdi
Junior Artist
Username: Thokkalohdi

Post Number: 1000
Registered: 01-2008
Posted From: 24.6.104.213

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 01:18 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

so forexample taking the example i gave,

in html you have an image:
<img>

add a class "class="ri"" to it like:
<img>

now for a mobile device i want the image to be 25% of height and 25% of width in CSS file i write:
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
img.ri {
width: 20%;
height: 20%;
}
}

and so forth...
Ranbir Kapoor is god of acting
Top of pagePrevious messageNext messageBottom of page Link to this message

Thokkalohdi
Junior Artist
Username: Thokkalohdi

Post Number: 999
Registered: 01-2008
Posted From: 24.6.104.213

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 01:10 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Nanigadu:

meeru icchindi image in always center of the page lo align cheyyatam, but Hyder adugutundi adi kadu, he wants to resize the image based on the resolution, as in increase its width/height dynamically ani anukuntunna




Responsive lo CSS3 meeda cheyyochu, nenu ichina example orientation batti image ni center chesthundi... thats the quick example i found online... but you can also define your own media queries for each view-port size in CSS, inside of which you can define the image class properties as to what size, hieght etc, also switch images:

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {

}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {

}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

}
Ranbir Kapoor is god of acting
Top of pagePrevious messageNext messageBottom of page Link to this message

Nanigadu
Hero
Username: Nanigadu

Post Number: 11147
Registered: 02-2008
Posted From: 99.254.150.227

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 12:45 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Thokkalohdi:

http://www.sitepoint.com/css3-responsive-centered-image/




meeru icchindi image in always center of the page lo align cheyyatam, but Hyder adugutundi adi kadu, he wants to resize the image based on the resolution, as in increase its width/height dynamically ani anukuntunna
My show on TORI
Raagala Pallaki - every Friday - EST 8 to 9 PM

USA - 703-879-6611
UK - 4412 2377 0661
India - 040 66624513
Skype - tori.live1

Live Link: http://www.teluguoneradio.com/player/tori-live.html
Top of pagePrevious messageNext messageBottom of page Link to this message

Nanigadu
Hero
Username: Nanigadu

Post Number: 11146
Registered: 02-2008
Posted From: 99.254.150.227

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 12:43 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

scripting like javascript vadali,

but aina image size pencharu evvaru, because you can't guess your users resolution, and what if you have a small image that you are using as a BG and if you to resize that image, you will get lot of distortion...

design ur page in such a way that your BG image can stretch or fake stretch based on the screen resolution
My show on TORI
Raagala Pallaki - every Friday - EST 8 to 9 PM

USA - 703-879-6611
UK - 4412 2377 0661
India - 040 66624513
Skype - tori.live1

Live Link: http://www.teluguoneradio.com/player/tori-live.html
Top of pagePrevious messageNext messageBottom of page Link to this message

Thokkalohdi
Junior Artist
Username: Thokkalohdi

Post Number: 998
Registered: 01-2008
Posted From: 24.6.104.213

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 12:25 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Commonman:

manaku anta talent ledu..




maaku ledu.. andukey frameworks vadutham... j/k
Ranbir Kapoor is god of acting
Top of pagePrevious messageNext messageBottom of page Link to this message

Thokkalohdi
Junior Artist
Username: Thokkalohdi

Post Number: 997
Registered: 01-2008
Posted From: 24.6.104.213

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 12:21 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

framework ledantey CSS3 lo chesuko simple ga...
http://www.sitepoint.com/css3-responsive-centered-image/
http://cssdeck.com/labs/responsive-image
Ranbir Kapoor is god of acting
Top of pagePrevious messageNext messageBottom of page Link to this message

Commonman
Comedian
Username: Commonman

Post Number: 1275
Registered: 05-2012
Posted From: 98.221.83.18

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 12:16 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Thokkalohdi:

what framework are you using?


manaku anta talent ledu.. frontpage use chesi standard template teesukoni, bg colors, drag and drop images etc add chetha.. code got generated automatically. But needs to update the code to re-size it properly
Top of pagePrevious messageNext messageBottom of page Link to this message

Ntr_rocks
Moderator
Username: Ntr_rocks

Post Number: 59545
Registered: 04-2009

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 12:14 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

Javascript/Jquery use cheyali, framework enti ?
Top of pagePrevious messageNext messageBottom of page Link to this message

Thokkalohdi
Junior Artist
Username: Thokkalohdi

Post Number: 996
Registered: 01-2008
Posted From: 24.6.104.213

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 12:12 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

what framework are you using?
Ranbir Kapoor is god of acting
Top of pagePrevious messageNext messageBottom of page Link to this message

Commonman
Comedian
Username: Commonman

Post Number: 1274
Registered: 05-2012
Posted From: 98.221.83.18

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, October 25, 2013 - 12:08 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

I have no coding exp. So need a small help. Google chesi trial n error chese time leka asking here.. don't laugh the at the silly doubt :-)

I have created a simple webpage using some GUI tool (which generated html code).. how to make it responsive?

i have a image on the home page and it needs to get auto adujusted based user screen size/resolution.. how?

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x8e2a2c0){Movie Clipart}
Show / hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: