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
Old 11-06-2007, 10:31 AM content questions
Novice Talker

Posts: 13
Trades: 0
So Im using css to make my page layout. Ive sliced all the images and got them lined up, etc. The only problem is I need more space for my content. Im afraid that if I do it incorrectly it will load the content background pics sepratly as they were all different pics. Id like for it to load the pic only once and then just display the same pic over.... is that clear as mud? What would be the best way to extend it? Could I just copy and paste all the content code over and over again like this?

Quote:
#content {
height: 350px;
width: 678px;
background: url (url);
#content {
height: 350px;
width: 678px;
background: url (url);
#content {
height: 350px;
width: 678px;
background: url (url);
Or......just double the height of my content so that it will display the pic twice. which would be faster and better?
Nexrus is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-06-2007, 02:19 PM Re: content questions
Foundationflash's Avatar
Ultra Talker

Posts: 410
Name: Harry Burt
Location: Colchester, Essex, England
Trades: 0
I don't think it is quite as clear as mud, but your CSS above certainly won't work.
You might want to try:
Code:
			 				#content { 
 height: 350px;
 width: 678px;
 background: url (url);
background-repeat:repeat-y;
}
Which will just tile it downwards as far as necessary (and it won't load the image multiple times either).
__________________
Foundation Flash tutorials :
Please login or register to view this content. Registration is FREE


New Dreamed Up Web Design:
Please login or register to view this content. Registration is FREE
Foundationflash is offline
Reply With Quote
View Public Profile Visit Foundationflash's homepage!
 
Old 11-06-2007, 08:34 PM Re: content questions
Novice Talker

Posts: 13
Trades: 0
Thanks

and perhaps you know how I could get my layout centered?
Nexrus is offline
Reply With Quote
View Public Profile
 
Old 11-06-2007, 08:46 PM Re: content questions
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Give the main container a width.
In CSS, set this: margin: 0 auto;
In CSS, for older versions of IE on the body set this: text-align: center;
__________________
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
 
Reply     « Reply to content questions
 

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.13364 seconds with 12 queries