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 01-30-2013, 07:37 AM   PM User | #1
ThunderWaffe
New Coder

 
Join Date: Sep 2012
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
ThunderWaffe is an unknown quantity at this point
Question Image mapping backgrounds

Hello. Is there a way to image map a background image like so?

Code:
<body background="somelinkhere.png" bgproperties="fixed" >
Thanks in advance.
ThunderWaffe is offline   Reply With Quote
Old 01-30-2013, 11:09 AM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello ThunderWaffe,
That bit is invalid, you should do that from CSS anyway.

Try this - body {background: url(somelinkhere.png) fixed;}
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 01-30-2013, 02:03 PM   PM User | #3
jerry62704
Senior Coder

 
jerry62704's Avatar
 
Join Date: Oct 2007
Location: Springfield, IL
Posts: 1,046
Thanks: 9
Thanked 81 Times in 81 Posts
jerry62704 is on a distinguished road
Just to expand on excavator a little, you can decide if the image will repeat, direction it will, not repeat or stay in one position.

Read all about it at: CSS Background-repeat.
__________________
.
.
...and gladly would he learn and gladly teach

Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls
jerry62704 is offline   Reply With Quote
Reply

Bookmarks

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 09:15 PM.


Advertisement
Log in to turn off these ads.