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
Vertical Repeat Problem
Old 07-31-2006, 06:46 PM Vertical Repeat Problem
Hamill's Avatar
Novice Talker

Posts: 13
Name: James
Trades: 0
I decided to learn CSS as it is the future, and much easier to configure!, so i took my site completely down and decided to use my domain etc purely for learning new languages and testing CSS.

The design is basic, as i didn't want to use to many images, or make a flash design like i have done before.

Basically, i want a vertical line down either side of the site. Because i do not know how much content i will have on certain pages, i want the design to be flexible, and so i plan to set the image repeat as vertical.

The link to my site is HamillDesigns.co.uk Design v1_CSS. You will notice the 2 short lines right in the centre of the design above the text, they are the two lines i want going vertically down either side of the design.
I have left it like that purely to show you the image and i have left the coding for you to see where i have gone wrong.

I've looked up plenty of tutorials etc, and tried so many different methods, that is simply the last method i tried before i found you guys .

Any help would be appreciated.
Hamill is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-31-2006, 07:23 PM Re: Vertical Repeat Problem
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Can't see any vertical lines in FF I see them in IE.
A word to the wise.. develop your site using FF or Opera, leave IE for last, otherwise you will tear your hair out before you ever finish.

For one thing, you have an error in your rule:

background: url('http://www.hamilldesigns.co.uk/gfx/vertical.gif') y-repeat;
Proper sytax is repeat-y

That's really not going to work very well. You can do it with borders on 2 containing <div>s .. OR, probably an easier way, is to create a white background for #content that is the width you want and has the vertical borders on the left and right side the way you want it. Then add that background to #content as you have above and the border will stretch as you add content. You can make this background very narrow vertically so it keeps the size down and it will tile.


__________________
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 08-01-2006, 05:43 PM Re: Vertical Repeat Problem
Hamill's Avatar
Novice Talker

Posts: 13
Name: James
Trades: 0
Thanks for the quick responce , i'll give that a go now, and let you know how i got on
Hamill is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Vertical Repeat Problem
 

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