Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-10-2011, 02:02 AM   PM User | #1
gcmax
Regular Coder

 
gcmax's Avatar
 
Join Date: Sep 2010
Location: Leeds
Posts: 101
Thanks: 6
Thanked 5 Times in 5 Posts
gcmax is an unknown quantity at this point
Question Webkit Control

Hello,
This may be a stupid question but is there is a way to alter the way webkit renders images?
For instance when a user clicks on a link to an image, the image is displayed to the left on a white background. Could the background colour be changed and the image aligned to page center?

Thanks in advance.
gcmax is offline   Reply With Quote
Old 04-10-2011, 06:11 AM   PM User | #2
Arbitrator
Senior Coder

 
Arbitrator's Avatar
 
Join Date: Mar 2006
Location: Splendora, Texas, United States of America
Posts: 2,887
Thanks: 5
Thanked 186 Times in 183 Posts
Arbitrator is on a distinguished road
You can create an HTML page for that image or use something like Lightbox. You can't alter the direct-linked view for an image as far as I know.
__________________
Please for the love of god stop making IE. You current "browser"s cause me to cry every day. —Phil *
Arbitrator is offline   Reply With Quote
Old 04-11-2011, 09:00 PM   PM User | #3
gcmax
Regular Coder

 
gcmax's Avatar
 
Join Date: Sep 2010
Location: Leeds
Posts: 101
Thanks: 6
Thanked 5 Times in 5 Posts
gcmax is an unknown quantity at this point
Thanks for the reply.
I was guessing that might be the case with webkit and didn't really want to have to create a new page for every clicked image. The default rendering will have to do for now.
Cheers.
gcmax is offline   Reply With Quote
Reply

Bookmarks

Tags
align, background, image, script, webkit

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:14 PM.


Advertisement
Log in to turn off these ads.