-Sky- 0 Report post Posted March 31, 2009 Hey all. I am having a little issue with CSS and HTML. I want to make a line going straight down the page (line-height:100) or something on the left side of a page, however I don't know how to do this. Could I get some help please? Thank you. The line in the red box is what I want. Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted March 31, 2009 You want to use { background : url(image url) repeat-x;float: right or left;} and you may want to use the float property as well to help align your background image. Share this post Link to post Share on other sites
Phoenix.Illusion 0 Report post Posted March 31, 2009 Just what I was going to Suggest Saint_Michael! I hope that Fixes the Problem Sky. I only found out how to Fix this the other Day.- Dark Share this post Link to post Share on other sites
-Sky- 0 Report post Posted March 31, 2009 No no. I am not wanting to align an image. It's just a line I want to be added using CSS/HTML, so it cannot be copied unless using the Source. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted March 31, 2009 Depending on the layout of the page and the structure of the div's, (you are using div's, right?), you may be able to produce the line by adding a border to the containing div.http://forums.xisto.com/no_longer_exists/ Share this post Link to post Share on other sites
-Sky- 0 Report post Posted March 31, 2009 Yes, that's sort of the exact thing I am wanting haslip. And yes, I am using div's. Share this post Link to post Share on other sites
sonesay 7 Report post Posted March 31, 2009 Yeah it all depends on what type of layout and the elements in it that determine how you would create that effect. If you post your layout code and give suggestions to what you may or may not like we can maybe come up with a possible solution for you. Share this post Link to post Share on other sites
Phoenix.Illusion 0 Report post Posted March 31, 2009 Sorry Sky I thought you ment align, My bad!But yes it does depend on what layout.- Dark Share this post Link to post Share on other sites
-Sky- 0 Report post Posted April 1, 2009 Yeah it all depends on what type of layout and the elements in it that determine how you would create that effect. If you post your layout code and give suggestions to what you may or may not like we can maybe come up with a possible solution for you.Yes, thanks for your support sonesay. Sorry Sky I thought you ment align, My bad!But yes it does depend on what layout.- DarkAndrew, I know it depends on the layout, however I am wanting this on a Custom Page on Central-Gaming forum. Share this post Link to post Share on other sites
truefusion 3 Report post Posted April 1, 2009 No no. I am not wanting to align an image. It's just a line I want to be added using CSS/HTML, so it cannot be copied unless using the Source.Although they'll have to look at the source code to take the image (though why would they want to take the image?), C-Panel has a way to prevent hotlinking. But you'll need to do research on the clear property. Even if you were to use jlhaslip's code, i can tell you right now, from experience, that won't get you the results you are looking for. If you run off of what Saint_Michael provided and use the clear property, then you'll get better results.By the way, the CSS property line-height is for text, that is, the spacing between the lines of text. Share this post Link to post Share on other sites