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
Best Way To Display A Background
Old 01-06-2008, 03:54 AM Best Way To Display A Background
Skilled Talker

Posts: 70
Location: Atlanta, GA
Trades: 0
Greetings everyone.

As I am learning CSS, it's been brought to my attention that when ppl resize text in their browser, you don't want your site to break. And the sample site that I've developed is breaking.

I want to have a fluid site like yahoo.com...whenever you hit Ctrl + the page resizes very nicely.

I've been told on this forum that when you use {background-image: "whatever url";} that the background isn't ever going to resize. So is there a way to create a unique background and have everything resize nicely when text size is increase?

Should I even be trying to design a background in Photoshop and displaying it through code?

You can take a look at my work thus far to see what I'm trying to accomplish (it's not finished yet and it looks horrible in IE so please view in Mozilla/Firefox).

www.ibtestsite.info

Thanks.

Last edited by LayneMitch; 01-06-2008 at 03:55 AM..
LayneMitch is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-06-2008, 10:02 AM Re: Best Way To Display A Background
Valiant's Avatar
Super Talker

Posts: 112
Location: England
Trades: 0
You could try using % instead of px when determining sizes
Valiant is offline
Reply With Quote
View Public Profile
 
Old 01-06-2008, 12:29 PM Re: Best Way To Display A Background
Junior Talker

Posts: 2
Name: Scott
Location: Arkansas, USA
Trades: 0
I would recommend checking out this CSS slicing guide.
ScottG is offline
Reply With Quote
View Public Profile
 
Old 01-06-2008, 01:42 PM Re: Best Way To Display A Background
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
The slicing guide is a good start. I think the key here is to NOT go with a fixed background image as you currently have it but to use repeating background 'slices' that WILL fill the given areas.

You could easily do that with the solid blue background - you don't even need an image, just use a solid color. Carve out the header as a separate piece, and make a repeating image for the gradient nav bar area.
__________________
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 01-07-2008, 12:12 AM Re: Best Way To Display A Background
Skilled Talker

Posts: 70
Location: Atlanta, GA
Trades: 0
Thank you so much.

Slices.

This is the answer I've been looking for, for an entire month.

Thanks.
LayneMitch is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Best Way To Display A 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.23608 seconds with 12 queries