![]() |
HTML help
I have a background image in a but how do I get it to not repeat vertically?
|
|
http://www.w3schools.com/css/tryit.a...peat_no-repeat This page has a bunch of nifty background styles. http://www.w3schools.com/css/css_background.asp You should be able to do this
|
|
EDIT: Just noticed UW second link shows all this... so never mind.
If you want it to repeat horizontal (but not vertical): Code:
background-repeat:repeat-x; Also, if placement is an issue you can do this: Code:
background-position:left; |
Thanks, I'll check 'em all out.
|
Well I'm fucked again. On this site the background image is messed up and there's a large gap between the first table group and the second. I want a gap like the one between the second group and the last. I don't have any br's so I'm lost. Any suggestions?
|
Line 56 I see a br tag. :)
|
Quote:
|
Well now the top group of tables is off center. I'm gonna take a nap and think about it.
|
Here, try this:
Code:
Also, top table was nested in another table, nesting table was set to 750 wide, but single column was at 708. So, I changed nesting table column to 750 and nested table to 708. |
That got the gap correct but the images aren't centered vertically in the background. Maybe I need to make the table background longer vertically? Also, the main page background is still fucked.
|
The problem is in your CSS style sheet. :)
Add "background-position:center;" to the body tag. Should look like this: Code:
body { |
Thanks, that fixed it!
|
All times are GMT -4. The time now is 04:48 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc