CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 26th, 2012, 07:53 PM
ppx45 ppx45 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 1 ppx45 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 12 sec
Reputation Power: 0
Background image resizing with links HELP PLEASE

Hi everyone,
I'm new to all of this so please forgive me if this is basic.
I'm trying to design a simple landing page for my photography website, that is based around an image with the text for links to mailto and tumblr already on it.
I have figured out how to add links etc already...
BUT...
I would like the image to resize with browser resize.
I have managed to get the image to resize, but now the transparent boxes for links stay in the same place.

Please help.
Thanks


Here is my html and css style sheet.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Pete Prokopiw Photography</title>
<link href="style.css" rel="stylesheet" type="text/css" /><style type="text/css">
</style>



<div id="wrapper">
	<a href="linkhere"></a>
</div>


	
</html>


Code:
body {
	padding: 0;
	margin: 0;
	background-size: 100%;
	background-color: #000;
	background-image:url(web5trans.gif)
	background-position: 0px -225px;


	}

#wrapper {
	background-image: url(web5.jpg);
	background-repeat: no-repeat;
	width: 100%;
	height: 1446px;
	background-position: 0px -225px;
	background-size: 100%;
	position: absolute;
}

a {
	display: block;
	background-color: #30C;
	background-size:100%;
	background-image:url(web5trans.gif);
	width:100%;
	height: 100px;
	top: 840px;
	left: 79px;
	position:fixed;
}

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Background image resizing with links HELP PLEASE

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap