Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »CSS Forum

Notices

CSS Forum Cascading Style Sheets (CSS) and XHTML Forum


Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 29-10-2007, 03:21 AM
PolarBear's Avatar
I am creative
 
Join Date: Jul 2007
Location: Toronto
Gender: Male
Posts: 364
Default CSS background image (fit screen)

Anyone know how to get a background image in DW fit the browser ? So far my code touches the left margin perfectly but then there is a border at the top,right,and buttom ? I have a style on the <body> of the page.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote

  #2 (permalink)  
Old 29-10-2007, 05:36 AM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Gender: Male
Posts: 18,754
Default

Have you reset your margins at the beginning?
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 29-10-2007, 07:24 AM
PR Design's Avatar
CSS Wizardry -- Not Gay!
 
Join Date: May 2007
Location: Yorkshire, England
Gender: Male
Posts: 5,832
Default

body{margin:0;} like Toon said.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 29-10-2007, 05:52 PM
PolarBear's Avatar
I am creative
 
Join Date: Jul 2007
Location: Toronto
Gender: Male
Posts: 364
Default

Alright it is half way fixed, is it safe to assume that it is not touching the right and buttom part of my browser (page) because the image is smaller then the screen resolution ? Say the image is (it's not) 800x600 and you're viewing on 1024x768 would that matter ? I hope not if it's not so how come it's still not touching and I've checked my margins.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 29-10-2007, 06:22 PM
blueocto's Avatar
Forum Sniper
 
Join Date: Oct 2007
Location: Newcastle upon Tyne
Gender: Female
Posts: 1,737
Default

Yeah that could be the problem.
If the image is static (e.g. doesnt scroll with the user etc) then best to go bigger than your expected resolution, then theres no issues of whitespace around the bacgrkound image.
Or use a repeating image?
__________________
CM Designs | My Art Site
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #6 (permalink)  
Old 30-10-2007, 12:39 AM
PolarBear's Avatar
I am creative
 
Join Date: Jul 2007
Location: Toronto
Gender: Male
Posts: 364
Default

I tried this, first I lowered my resolution, there still is white space. I'm sure there is a way around this. And repeating the image, not something I'd want to do, thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #7 (permalink)  
Old 30-10-2007, 03:14 PM
Junior Member
 
Join Date: Sep 2007
Posts: 4
Default

Is the dege of the image a solid colour?
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #8 (permalink)  
Old 30-10-2007, 03:49 PM
PolarBear's Avatar
I am creative
 
Join Date: Jul 2007
Location: Toronto
Gender: Male
Posts: 364
Default

No the edge is not a solid. This is so very frusterating, and after adjusting some other things on the page I now also can't get rid of the horizontal scroll at the buttom of the browser, yet the image is not that big it needs to scroll.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #9 (permalink)  
Old 30-10-2007, 04:15 PM
PolarBear's Avatar
I am creative
 
Join Date: Jul 2007
Location: Toronto
Gender: Male
Posts: 364
Default

I fixed the scroll issue.
The background image problem still plaques me unfortunatly.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #10 (permalink)  
Old 30-10-2007, 08:36 PM
tommylogic's Avatar
f*ck yeah it validates!!!
 
Join Date: Apr 2007
Location: Virtually Everywhere
Gender: Male
Posts: 5,824
Default

you try 100% yet?...

How bout a link to the page markup & css... you'd get a faster answer
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image masking : Image Editing Services Graphic Design Links Graphic Design Links 0 24-03-2008 10:50 AM
Background image for headers? dannynosleeves CSS Forum 3 05-12-2007 09:14 AM
CSS List background image bullets - Cross browser problem bradgreens CSS Forum 8 30-11-2007 10:54 AM
Resizing a css background image jontywagener CSS Forum 2 23-11-2007 12:14 PM
Background image jwade_m Graphic Design and Web Design Help 10 03-11-2007 03:25 PM


All times are GMT. The time now is 01:07 PM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0