Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
how do i get my background fullscreen without stretching the background?
Old 06-01-2009, 08:29 AM how do i get my background fullscreen without stretching the background?
Webmaster Talker

Posts: 611
Trades: 0
hi, i want a 100% width background and i have made a 1000px background image for fullscreen on 768x1024 resolution but i dont think thats the way to do it. i was afraid if i made my wrapper width: 100% that the background image wouldnt work with it. also i was wondering if anyone knows a relatively easy way to get a small rounded border around your div? the ones i found on google were extremely complicated and i didnt understand them. any help GREATLY appreciated. thanks.
derek

Last edited by silverglade; 06-01-2009 at 08:36 AM..
silverglade is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-01-2009, 08:41 AM Re: how do i get my background fullscreen without stretching the background?
Basti's Avatar
Average Talker

Posts: 22
Name: Sebastian
Location: Germany
Trades: 0
Hey, i think it is not possible to have a background image not stretching.
I personally always use a very small image and let it repeat. Also reduce your Site load a lot.

About the rounded corners. Css 3 gives a nice feature, but only for Firefox and Safari Browsers i think
PHP Code:
.myclass {  
border1px solid #a2bfce;
 
-moz-border-radius-topleft5px;  
 -
moz-border-radius-topright5px;  
 -
moz-border-radius-bottomright5px;  
 -
moz-border-radius-bottomleft5px;  
 -
webkit-border-top-left-radius5px;  
 -
webkit-border-top-rightright-radius5px;  
 -
webkit-border-bottom-left-radius5px;  
 -
webkit-border-bottom-rightright-radius5px;  
 } 
oe in short if you use the sae px on all corners
PHP Code:
.myclass {  
border1px solid #a2bfce;
 
-moz-border-radius5px;  
 -
webkit-border-radius5px;  
 } 
Hope that helps a bit
__________________
Translations? English to German, drop me a Pm :: 0.03$ / word

Last edited by Basti; 06-01-2009 at 08:42 AM..
Basti is offline
Reply With Quote
View Public Profile Visit Basti's homepage!
 
Old 06-01-2009, 09:33 AM Re: how do i get my background fullscreen without stretching the background?
Webmaster Talker

Posts: 611
Trades: 0
great thanks very much for taking the time for that. also, do you know of a semi-simple way for all browsers? thanks. derek. that firefox code is great, i wish it worked for ie6, why always the problems with IE, im REALLY beginning to hate the IE browser. thanks . derek
silverglade is offline
Reply With Quote
View Public Profile
 
Old 06-01-2009, 10:10 AM Re: how do i get my background fullscreen without stretching the background?
Basti's Avatar
Average Talker

Posts: 22
Name: Sebastian
Location: Germany
Trades: 0
Hey, no i think there is no way for round css border in IE. All we could do is wait for IE8 to interact with the new Css3 features.

Alternative you would need to design a background image for that Div, then you can lay that image behind your div, style it it bit with padding / margin to move it to the place you need.
__________________
Translations? English to German, drop me a Pm :: 0.03$ / word

Last edited by Basti; 06-01-2009 at 10:12 AM..
Basti is offline
Reply With Quote
View Public Profile Visit Basti's homepage!
 
Old 06-01-2009, 10:36 AM Re: how do i get my background fullscreen without stretching the background?
Webmaster Talker

Posts: 611
Trades: 0
great thanks very much for helping me Basti! i will just have to deal with IE the way it is LOL. thank you for the help and advice. i appreciate it. have a good day . derek
silverglade is offline
Reply With Quote
View Public Profile
 
Old 06-01-2009, 11:06 AM Re: how do i get my background fullscreen without stretching the background?
Basti's Avatar
Average Talker

Posts: 22
Name: Sebastian
Location: Germany
Trades: 0
No Problem, glad i could help a little.
__________________
Translations? English to German, drop me a Pm :: 0.03$ / word
Basti is offline
Reply With Quote
View Public Profile Visit Basti's homepage!
 
Old 06-01-2009, 02:49 PM Re: how do i get my background fullscreen without stretching the background?
jamestl2's Avatar
No scale-itch here...

Latest Blog Post:
Wordpress Relative URLs Plugin
Posts: 2,389
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
Trades: 0
For the background, you could just create a really thin image, then have it repeat with a solid color after it:
Code:
body
{
background:url(images/background-url.png) repeat-x top #your-color;
}
__________________
Engipress -
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
for Wordpress Projects
jamestl2 is offline
Reply With Quote
View Public Profile Visit jamestl2's homepage!
 
Old 06-01-2009, 03:01 PM Re: how do i get my background fullscreen without stretching the background?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
Hey, no i think there is no way for round css border in IE. All we could do is wait for IE8 to interact with the new Css3 features.
Sorry, but that's not true and it's hardly a viable solution. There ARE ways to get rounded corners in IE, including some jQuery solutions.

http://www.smileycat.com/miaow/archives/000044.php
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-01-2009, 04:58 PM Re: how do i get my background fullscreen without stretching the background?
Basti's Avatar
Average Talker

Posts: 22
Name: Sebastian
Location: Germany
Trades: 0
Nice Info, thanks
But there arent any solutions with pure css codes like Firefox right?
I mean something without jquery or images.

Did not read through all, but as i know off there isnt any solution for IE like the css3 code above ( thats why i posted it ).
If there is, i would like to know, could be handy for me as well.
__________________
Translations? English to German, drop me a Pm :: 0.03$ / word
Basti is offline
Reply With Quote
View Public Profile Visit Basti's homepage!
 
Reply     « Reply to how do i get my background fullscreen without stretching the background?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31758 seconds with 12 queries